In short
For a one-sample t-test, test against Hₐ: μ > μ₀, μ < μ₀ or μ ≠ μ₀. For a paired t-test, test about the mean of the differences. Define the parameter in context, choose α in advance, and check random, 10% and normal/large sample (on the differences for paired data).
What you need to know
- Write hypotheses about a population mean, defining μ in context.
- Write hypotheses for paired data about μ_d, stating the order of subtraction.
- Decide whether a one-sample or paired test fits a situation.
- Verify the conditions for a t-test.
One-sample t-test hypotheses
A cereal company says its boxes contain 500 g on average. A consumer group suspects the boxes are under-filled and weighs a random sample of 25 boxes.
where μ is the mean weight (in grams) of all boxes of this cereal. The null value 500 comes from the company's claim. The alternative is one-sided because the group suspects under-filling; if the question asked whether the mean is different from 500, the alternative would be μ ≠ 500.
Paired t-test hypotheses
For the reading programme (topic 4.2), each of 12 students has a before and an after score. Work with the differences d = after − before.
where μ_d is the true mean difference in vocabulary score (after − before) for students like these. H₀ says the programme makes no difference on average; Hₐ says scores go up. If you subtract the other way (before − after), the alternative flips to μ_d < 0, so always state the order.
- Paired: two linked measurements on each individual or matched pair. Analyse the differences.
- Two-sample (topics 4.9–4.10): two separate groups of individuals with no natural pairing.
Conditions
- Random: a random sample (or random assignment). For paired experiments, randomise the order of treatments where possible.
- 10%: the sample is less than 10% of the population when sampling without replacement.
- Normal/large sample: n ≥ 30, or the population (of differences, for paired data) is approximately normal, or a graph of the sample shows no strong skewness or outliers.
For the cereal: 25 boxes is a random sample, less than 10% of all boxes produced, and n < 30, so we would look at a dotplot of the 25 weights. If it shows no strong skew or outliers, the t-test is reasonable.
Choose α before looking at the data. Topic 4.5 carries the tests out, using t = (x̄ − μ₀)/(s/√n) with df = n − 1.
Key terms
- One-sample t-test
- A test about a single population mean using t = (x̄ − μ₀)/(s/√n).
- Paired t-test
- A one-sample t-test on paired differences, testing μ_d.
- Null value μ₀
- The value of μ stated in H₀.
- μ_d
- The population mean of the paired differences.
Common mistakes
H₀: x̄ = 500.
H₀: μ = 500, about the population mean.
Running a two-sample test on before/after data.
Before/after data on the same people are paired.
Not stating the order of subtraction for μ_d.
Write 'd = after − before' so the direction of Hₐ is clear.
How this topic is tested
- Name the test: 'one-sample t-test for μ' or 'paired t-test for μ_d'.
- Define the parameter with units and population.
- For n < 30, refer to a graph of the data in the normal condition.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · SP 1 · Formulate Questions
A bakery claims its loaves average 800 g. An inspector suspects they are lighter. Which hypotheses are correct?
Question 2 · SP 1 · Formulate Questions
Which situation calls for a paired t-test?
Question 3 · SP 1 · Formulate Questions
For paired data with d = before − after, a researcher expects scores to rise after training. The alternative is:
Question 4 · SP 2 · Collect Data
A random sample of 12 values has a dotplot with one extreme outlier. What should you say about a t-test?
Question 5 · SP 2 · Collect Data
In a paired t-test, the normal/large sample condition is checked on:
Free-response practice
Write your answer first, then mark it against the scoring guide.
Inference (set-up) · 4 points
A gym says new members lose weight in their first month. A random sample of 15 new members is weighed on joining and one month later.
- (a) State hypotheses, defining the parameter.
- (b) Identify the test and list what you'd check for the normal condition.
Scoring guide: one point for each of the following
Part (a)
- H₀: μ_d = 0; Hₐ: μ_d > 0, where d = weight on joining − weight after a month.
- μ_d is the true mean weight change (joining − one month) for all new members of the gym.
Part (b)
- Paired t-test for μ_d (each member measured twice).
- n = 15 < 30, so check a dotplot of the 15 differences for strong skewness or outliers.
Connected topics
Frequently asked questions
Is a paired test just a one-sample test?
Yes, on the differences. The paired structure is what decides to compute differences first.
Can μ₀ be anything?
It comes from a claim, a standard or a previous value in the context; don't take it from the sample.
What if the question gives raw data?
Enter them in the calculator, get x̄ and s (or the differences' x̄_d and s_d), and show a quick graph for the normal check.