How do you construct a confidence interval for the difference between two population means?
Topic 7.6 Confidence Intervals for the Difference of Two Means: check the conditions and construct a two-sample t-interval for the difference between two population means, including the paired case, using the unpooled standard error.
A focused answer to AP Statistics Topic 7.6, on building a two-sample t-interval for the difference of two population means and distinguishing it from a paired (one-sample) interval, with a full worked interval.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this topic is asking
The College Board (Topic 7.6) wants you to construct a confidence interval for the difference of two means : check the conditions for both samples, use the unpooled two-sample standard error, and recognize when data are paired (analyzed as a one-sample interval on the differences).
The two-sample interval and its standard error
The point estimate is the observed difference . The standard error follows the Topic 5.8 rule, add the two sample-mean variances and , then square-root, because independent variances add. The degrees of freedom for two-sample are awkward (the Welch formula), so technology computes them; for hand work, a conservative choice is the smaller of and . AP grading accepts either the calculator or the conservative .
Conditions, doubled
Everything in the one-sample shape check is applied to each group, plus a between-sample independence requirement. With small samples you must justify normality from a graph for both groups.
Paired versus two-sample: the key design distinction
The single biggest decision in this topic is paired or independent. If each value in one group is naturally matched to a value in the other, two measurements on the same subject (before/after), or matched pairs (twins, left/right), the data are paired. Then you compute one difference per pair and run a one-sample t-interval on those differences: with , where is the number of pairs. Treating paired data as two independent samples is a serious error: it ignores the pairing that the design used to control variability, and uses the wrong standard error. If the two groups are separate, unrelated sets of units, the design is independent and the two-sample interval applies. Reading the design before choosing the procedure is itself an examined skill.
Try this
Q1. Write the unpooled standard error for . [1 point]
- Cue. (add the two sample-mean variances, then root).
Q2. A study records each athlete's time on two track surfaces. Two-sample or paired? [1 point]
- Cue. Paired (same athlete on both surfaces); analyze the differences with a one-sample t-interval.
Exam-style practice questions
Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AP 2018 (style)1 marksSection I (multiple choice). A study measures each subject before and after a treatment and analyzes the differences. The appropriate procedure is (A) a two-sample t-interval (B) a one-sample t-interval on the differences (paired) (C) a two-proportion z-interval (D) a chi-square testShow worked answer →
The correct answer is (B).
Before/after measurements on the same subjects are paired data. The correct procedure analyzes the single list of differences with a one-sample t-interval (a paired t-interval), not a two-sample procedure.
(A) is for independent samples, which these are not. (C) is for proportions. (D) is for categorical counts.
AP 2022 (style)4 marksSection II (free response). Independent random samples of two fertilizers give plant heights: fertilizer A, , cm, ; fertilizer B, , cm, . (a) Check the conditions for a two-sample t-interval for . (b) Construct a confidence interval (use ). (c) Justify in context whether there is convincing evidence the mean heights differ.Show worked answer →
A 4-point two-sample mean interval.
(a) (1 point) Random and independent: two independent random samples. Normal/large: and , both , so the CLT applies. : each sample plausibly under of its population.
(b) (2 points) Difference . . Interval cm.
(c) (1 point) The interval excludes , so is not a plausible difference; there is convincing evidence the mean heights differ (fertilizer A higher).
Markers reward conditions for both samples, the unpooled standard error, the t-interval, and the zero-check conclusion.
Related dot points
- Topic 7.7 Justifying a Claim About the Difference of Two Means Based on a Confidence Interval: use a two-sample (or paired) mean interval to judge whether the means differ and to assess claims about the size and direction of the difference.
A focused answer to AP Statistics Topic 7.7, on using a two-sample or paired mean confidence interval to judge whether two means differ and to assess claims about the size and direction of the difference, with worked justifications.
- Topic 7.9 Carrying Out a Test for the Difference of Two Population Means: compute the two-sample (or paired) t test statistic, find the P-value, compare to the significance level, and state a conclusion in context.
A focused answer to AP Statistics Topic 7.9, on computing the two-sample t statistic with the unpooled standard error (or the paired one-sample t statistic on differences), finding the P-value, and concluding in context, with a full worked test.
- Topic 7.8 Setting Up a Test for the Difference of Two Population Means: state the hypotheses about the difference of two means, decide between a two-sample and a paired procedure, identify the significance level, and check the conditions.
A focused answer to AP Statistics Topic 7.8, on writing the hypotheses for a difference of two means, deciding between a two-sample and a paired t-test, choosing the significance level, and checking the conditions.
- Topic 7.2 Constructing a Confidence Interval for a Population Mean: check the conditions and construct a one-sample t-interval for a population mean, using the t critical value, the standard error, and the correct degrees of freedom.
A focused answer to AP Statistics Topic 7.2, on building a one-sample t-interval for a population mean - checking conditions, finding the t critical value with n minus 1 degrees of freedom, the standard error, and the margin of error - with a full worked interval.
- Topic 5.8 Sampling Distributions for Differences in Sample Means: describe the mean, standard deviation, and shape of the sampling distribution of the difference between two independent sample means, adding variances and checking the conditions for normality.
A focused answer to AP Statistics Topic 5.8, on the mean, standard deviation, and approximately normal shape of the difference between two independent sample means, the add-the-variances rule, the conditions, and finding probabilities, with full worked calculations.
Sources & how we know this
- AP Statistics Course and Exam Description — College Board (2020)