The paired sample t-test (or dependent sample t-test) determines if
the mean difference between two sample sets are zero.
It is mathematically equivalent to the 1-sample t-test conducted
on the difference vector with .
Hypotheses:
The null hypothesis and alternative hypothesis can be written as:
: , and :
Procedure:
The test statstic is calculated as follows:
where is the mean of the differences between the sample sets,
is the standard deviation of the differences, and
is the number of paired samples.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.