Carrying Out a Test for a Population Mean or Population Mean Difference
Turn a test plan into evidence. Calculate a -statistic, find the correct -value, and explain what the result tells us about a population mean or an average paired change.
By the end of this lesson, you should be able to:
- Calculate a one-sample -statistic and its degrees of freedom.
- Use paired differences correctly in a mean-difference test.
- Choose the -value tail from the alternative hypothesis.
- Compare with and write a clear conclusion in context.
Before you start: Review the hypotheses and conditions in Topic 4.4. You will also need sample means, sample standard deviations and square roots.
First time learning this? Follow the bottle example, study the tail diagrams, then try the worked tests.
Here to revise? Review the formula and decision checklist, then attempt the practice questions before opening the solutions.
The concept in 60 seconds
A sample mean usually differs from a claimed population mean just because samples vary. A significance test asks whether the observed result is unusually far from the claim, after allowing for that variation.
The -statistic measures the difference in estimated standard-error units. The -value measures how unusual the statistic would be if the null hypothesis were true. The alternative hypothesis tells us which results count as more extreme.
The essential sequence: Check the test setup → calculate and → find in the correct tail or tails → compare with → conclude about the population in context.
For paired data, first turn each complete pair into difference. Then carry out a one-sample -test on those differences. The sample size is the number of pairs.
Are the bottles averaging ?
A bottling company labels a production lot as averaging per bottle. An inspector takes an SRS of bottles from a lot of . The sample mean is and the sample standard deviation is . The fill-volume population is approximately normal; its standard deviation is unknown.
The question is whether the lot’s mean differs from . Let be the mean fill volume of all bottles in this lot. The inspector sets before analyzing the sample.
Use a one-sample -test. The sample is random, and supports treating observations as approximately independent when sampling without replacement. The approximately normal population supports the procedure with .
Pause and predict: Is a sample mean above the claim necessarily convincing evidence? We need to compare that difference with the estimated variability of sample means, rather than judging by itself.
You will find and . That -value is much larger than , so this sample does not provide sufficient evidence that the lot’s population mean differs from .
Key ideas and notation
Null benchmark
is the population mean specified by . For paired differences, use , often for no average change.
Bottle example: .
Sample summaries
and are the sample mean and sample . For differences, use and .
describes individual values; estimates variability of sample means.
and
is the standardized test statistic. Its sign shows whether the sample mean is above or below the null benchmark.
For these one-sample procedures, .
and
is the calculated tail probability under the null model. is the significance level chosen for the decision.
Compare these probabilities on the same scale: means .
Paired mean difference
is the population mean of the differences formed in a stated order. If , a positive difference means the after value is lower.
Each pair supplies observation to the difference sample. separate groups with no matching require a different procedure; equal group sizes alone do not make data paired.
Calculate the test statistic
Start with the same idea for both procedures:
Estimated standard error:
Degrees of freedom:
Estimated standard error:
counts pairs; .
Apply the formula to the bottles
- Estimate variability: .
- Find the observed difference: .
- Standardize: .
- Choose the reference distribution: .
The sample mean is estimated standard errors above the null mean. The units cancel, so has no measurement units.
Keep the denominator straight: Use the sample divided by , not alone. For pairs, calculate the of the differences; subtracting the original standard deviations does not give .
Use full precision for intermediate calculations. Round the reported -statistic and -value at the end. If , the usual formula is undefined; do not divide by or force a standard test result.
Choose the correct -value tail
Choose the alternative from the investigative question before looking at the result. Then use that alternative to select the area under the curve. In the table, represents a statistic from the null distribution and is the observed statistic.
| Alternative | Count as more extreme | -value |
|---|---|---|
| Statistics at or below the observed . | — left tail | |
| Statistics at or above the observed . | — right tail | |
| Statistics at least as far from in either direction. |
The same tail rules apply to . Remember that the meaning of “greater” or “less” depends on your difference order.