Under the null hypothesis, the population mean of the difference is 0 .
Using either the fact that the data are normal or the fact that the central limit theorem applies, assume that the data are from a normal distribution with mean 0 .
With this assumption, if the null hypothesis is true, the sample mean difference will also be normally distributed with mean 0 .
If we use the sample standard deviation of the differences to calculate a test statistic as
that statistic will have a -distribution with degrees of freedom.
The strategy for testing the hypothesis is to consider the -statistic to be a single observation from the -distribution, which is bell-shaped, and base our decision to accept or reject the null hypothesis on where the -value falls on the bell-shaped curve of the -distribution.
We calculate the -stastic as:
(This value is in cell B11)
The exact decision rule to accept or reject the null hypothesis depends on whether we want:
See the sections below for details on these three cases.