Under the null hypothesis, the population has mean
.
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
.
With this assumption, if the null hypothesis is true, the sample mean
will also
be normally distributed with mean
.
If we use the sample standard deviation
to calculate a test statistic
as
that statistic will have a
The strategy for testing the hypothesis is to consider the sample mean as 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 B10)
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.