Hypothesis tests for a mean · Unit 1 of 4
Set up the test
Choose hypotheses, a tail and a statistic whose assumptions fit the problem.
Choose a tail from the claim
Define the population quantity and translate the claim into an alternative hypothesis before using the sample. Next check the sampling assumptions and choose a reference distribution. Only then standardise the observed mean.
Always define the population mean and state . Choose the alternative from the claim:
- A suspected decrease uses .
- An increase uses .
- A change in either direction uses . Choose this before looking at the observed sign. The source’s table reverses the words “increase” and “decrease” beside its correct inequalities; follow the inequalities. Self-Practice 1 below applies this distinction.
Try these 2 examples
Try each one first, then read its solution. “Learn this step” brings you back here.
Match the statistic to its assumptions
A statistic such as is random before sampling; its observed value is a number. Under , standardise using when the population variance is known. Choose the reference model before calculating:
- For independent observations from a normal population with known variance, the sample mean has an exact normal distribution at any sample size.
- For a sufficiently large independent random sample with finite variance, use a justified CLT approximation. If the population variance is unknown, use its unbiased estimate and state that the resulting normal test is approximate.
- A small sample from an unspecified population does not supply a normal reference model merely because a mean and a variance can be calculated.
Define the statistic before substituting its observed value. For a known population standard deviation, write
Under the exact normal null model, . Replacing by needs the large-sample qualification above.
Reference: the retained variance-case comparison
The source’s four cases need these qualifications:
Normal, known , any sample size
Sampling justification: Exact normal sample mean
Reference distribution: Exact standard normal
Non-normal or unspecified, known , large random sample
Sampling justification: CLT, with independent observations and finite variance
Reference distribution: Approximately standard normal
Normal, unknown variance estimated by
Sampling justification: The source labels this exactly normal for any
Reference distribution: In fact has a distribution; a normal approximation requires large-sample justification
Non-normal or unspecified, unknown variance, large random sample
Sampling justification: CLT and a suitable variance estimate
Reference distribution: Approximately standard normal
The source uses as its classroom large-sample guideline; this is not a guarantee for every population. Small-sample tests with unknown variance are not made exact z-tests by assuming normality. Keep this distinction when selecting the method. See NIST’s known-versus-estimated standard deviation distinction.