In short
A one-sample t-interval for μ is with df = n − 1. For paired data (two measurements on each individual, or matched pairs), compute the differences and use the same interval on them: . Check random, 10% and normal/large sample (for paired data, check the differences).
What you need to know
- Construct a one-sample t-interval for a population mean.
- Recognise paired data and construct a paired t-interval for a mean difference.
- Find t* from the confidence level and degrees of freedom.
- Verify the conditions, including the normal/large sample condition.
One-sample t-interval: worked example
A random sample of 20 students at a large school recorded their daily screen time for a week. The mean was x̄ = 4.2 hours with s = 1.3 hours. A dotplot of the 20 values was roughly symmetric with no outliers. Construct a 95% confidence interval for the mean daily screen time of all students at the school.
State. We want to estimate μ, the mean daily screen time of all students at the school, with 95% confidence.
Plan. One-sample t-interval for μ. Random: random sample of students. 10%: 20 is less than 10% of the students at a large school. Normal/large sample: n = 20 < 30, but the dotplot shows no strong skewness or outliers, so a t-procedure is reasonable.
Conclude. We are 95% confident that the interval from 3.59 to 4.81 hours captures the true mean daily screen time of all students at the school.
Paired data
Data are paired when each value in one set is naturally linked to one value in the other: the same student before and after a course, twins, left and right hands. The two lists are not independent, so we analyse the differences as one sample.
Example: 12 randomly selected students took a vocabulary test before and after a four-week reading programme. The differences (after − before) had mean x̄_d = 3.5 points and standard deviation s_d = 4.1 points, and a dotplot of the differences showed no strong skewness or outliers.
We are 95% confident that the interval from 0.89 to 6.11 points captures the true mean improvement (after − before) for students like these. Notice that the parameter is μ_d, the mean of the differences, and the normal check is on the differences, not on the before or after scores.
Key terms
- One-sample t-interval
- x̄ ± t*·s/√n with df = n − 1, estimating a population mean.
- Paired data
- Two measurements linked one to one, such as before and after on the same individual.
- Mean difference μ_d
- The population mean of the paired differences.
- Paired t-interval
- A one-sample t-interval applied to the differences: x̄_d ± t*·s_d/√n.
Common mistakes
Using z* = 1.96 for a mean with s.
Use t* with n − 1 df.
Treating before/after data as two independent samples.
Compute differences and use a paired procedure.
Checking normality on the original scores for paired data.
Check the distribution of the differences.
How this topic is tested
- State df and t* explicitly.
- For paired data, say which order you subtracted (after − before).
- Describe the graph for the normal condition when n < 30.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · SP 3 · Analyze Data
A random sample of 16 has x̄ = 52 and s = 8. A 95% t-interval for μ uses t* with how many df?
Question 2 · SP 3 · Analyze Data
Using t* = 2.131 for the sample above, the 95% interval is:
Question 3 · SP 2 · Collect Data
Which study produces paired data?
Question 4 · SP 2 · Collect Data
For a paired t-interval with n = 10 pairs, what must be approximately normal (or show no strong skew/outliers)?
Question 5 · SP 3 · Analyze Data
Compared with a 95% t-interval, a 90% t-interval from the same data is:
Free-response practice
Write your answer first, then mark it against the scoring guide.
Inference (interval) · 5 points
A nutritionist measures the sodium content (mg) of a random sample of 25 packets of a snack. The sample mean is 312 mg and the standard deviation is 18 mg. A boxplot shows no outliers and little skewness.
- (a) Identify the procedure and verify conditions.
- (b) Construct a 95% interval (df = 24, t* = 2.064).
- (c) Interpret the interval.
Scoring guide: one point for each of the following
Part (a)
- One-sample t-interval for μ, the mean sodium content of all packets.
- Random sample; 25 < 10% of all packets; n < 30 but the boxplot shows no outliers or strong skew.
Part (b)
- 312 ± 2.064 × 18/√25 = 312 ± 7.43.
- Interval about (304.6, 319.4) mg.
Part (c)
- We are 95% confident the interval from 304.6 to 319.4 mg captures the true mean sodium content of all packets of this snack.
Connected topics
Frequently asked questions
Why not just use z for large samples?
With s, t is always correct; for large df, t and z are nearly equal anyway.
What if my data have an outlier and n is small?
Say the normal condition is not met and the t-interval may not be reliable.
Does paired data need random assignment?
For an experiment, randomise the order of treatments where possible; for observational pairs, a random sample of pairs.