Practice
Significance tests for a mean
t statistic, degrees of freedom and p-value for a one-sample or paired t test.
The skill
A one-sample t-test asks whether is far enough from the null value to be convincing. The test statistic is with degrees of freedom, and the p-value is the area beyond in the direction of , doubled for a two-sided test. Compare it to and state the conclusion about the population mean in context. A frequent error is subtracting in the wrong order, which flips the sign and sends the p-value to the wrong tail.
How to work these problems
- State the parameter in words: the true mean of the population, in context. Then write and the alternative that matches the question, with the same in both.
- Check the conditions before any arithmetic: the data come from a random sample or a randomized experiment, the sample is less than 10% of the population if you sampled without replacement, and the sample is roughly normal or is at least 30.
- Compute and use degrees of freedom. Subtract in the order sample mean minus null value, so the sign of points the way the data point.
- Find the p-value in the tail your alternative names, and double it for a two-sided test. Compare it with , then write the conclusion about the population mean in the words of the problem.
Common mistakes
- Subtracting in the wrong order, which flips the sign of and sends the p-value to the wrong tail.
- Dividing by instead of , which treats the spread of individual values as if it were the spread of sample means.
- Concluding that the null hypothesis is true. A large p-value means the data do not give convincing evidence against it, not that it is proven.
- Using degrees of freedom instead of .
Check your work
- The sign of should match the direction of relative to , and a one-sided p-value should be below one half when the data lean toward .
- Your conclusion names the population mean, the context and the comparison with , and it says evidence, not proof.
A worked example
A random sample of 25 from all trips on one bus route at rush hour has a mean travel time of 37.3 minutes and standard deviation 4.0 minutes. The data show no strong skew or outliers.
For H₀: μ = 36 against Hₐ: μ > 36, find the test statistic. Round to two decimal places.
Solution
- with df = 24.
- p-value = area to the right of t ≈ 0.0581 (tcdf with df = 24).
Answer: 1.63