Hypothesis Tests for a Mean with the t-Distribution
Test a population mean using a one-sample t statistic when the population standard deviation is unknown. Check the sampling model, use the planned tails and degrees of freedom, and interpret the p-value assuming the null hypothesis.
What a learner can do afterwards
- Carry out a one-sample t-test and state the conclusion in context
- Choose between one-tailed and two-tailed alternatives before seeing the data
- State what a p-value is and what it is not
1 · Read
Calculate t as the sample mean minus null mean μ0, divided by SE = s / sqrt(n). Here s is the sample standard deviation, n the sample size and sqrt(n) its square root. Use df = n - 1, so n = df + 1. Under H0, the t reference is exact for independent observations from one normal population with positive variance. Large independent samples can allow a non-normal approximation; skewness and outliers matter. Calculating t alone does not validate this reference.
State the population mean, null value, alternative and level α before examining results. An alternative μ < μ0 uses the lower tail; μ > μ0 uses the upper tail; μ ≠ μ0 uses both tails. Choose this from the planned question, not the observed sign. A prediction alone does not require a one-tailed test if the planned question concerns departures in either direction.
Under H0 and the assumed model, the p-value is the probability of a statistic at least as extreme as observed. The planned alternative defines extremeness. Let T have the null t distribution with n - 1 degrees of freedom. Use its lower tail for μ < μ0 and upper tail for μ > μ0. For μ ≠ μ0, use both tails: by symmetry, double the upper-tail probability beyond |t|, the size of t without its sign. This is not the probability that H0 is true.
Calculate SE = s / sqrt(n), then t = (sample mean - μ0) / SE. Keep the gap's sign. For n = 36, sample mean 18, s = 12 and μ0 = 24, sqrt(36) = 6, SE = 12 / 6 = 2 and t = (18 - 24) / 2 = -3. Under a symmetric null t model, negative t has upper-tail p > 0.5. Recover the sample mean as μ0 + t × SE. Use supplied square-root approximations and round only the final result.
At the level α chosen in advance, reject when p < α; otherwise fail to reject. Failure to reject means the evidence did not cross that threshold, not that H0 is true or that no evidence opposes it. Report the population, variable and planned direction. For a matching two-sided t-test at α = 0.05, null values within the closed 95% t interval, including its endpoints, are not rejected; values outside are rejected.
Check the model and plan the alternative and level. Calculate t, df and the matching tail probability. State the population conclusion; failing to reject does not prove H0.
Original lesson, questions and flashcards about one-sample t-tests, authored for this learning dataset.
The readings, questions and flashcards are original text authored for this learning dataset. The linked videos are by Khan Academy.
2 · Watch
Take it off screen
Where it sits
Where this leads
Jobs that lean on this skill. Follow one to see everything it is built on.
14 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.