U7.7 Two-Sample t-CI for Difference of Means
Master the two-sample t confidence interval for μ₁−μ₂: check independence conditions, use the formula, and tell independent samples from matched pairs.
What you'll do in this lesson
A voice-first session with the Crimsora tutor on U7.7 Two-Sample t-CI for Difference of Means, then targeted practice and FRQs — with the tutor adapting to where you get stuck.
What this lesson covers
The Structure of a Two-Sample t Interval
The critical value comes from a distribution. The degrees of freedom are messy: technology (a calculator's 2-SampTInt) uses the Welch-Satterthwaite formula, which usually gives a non-integer value. If you compute by hand, the conservative approach uses , which yields a slightly wider (safer) interval. On the AP exam, you may report either, but state which you used.
A common misconception is pooling the two sample variances. Do not pool unless a problem explicitly justifies equal population variances—the unpooled procedure above is the standard AP approach and is always defensible.
Checking Conditions in Both Samples
| Condition | What to check |
|---|---|
| Random | Both samples were randomly selected, or subjects randomly assigned to two treatment groups |
| Independence (10%) | Each sample is less than 10% of its population, and the two samples are independent of each other |
| Normal/Large | For each sample: population normal, OR (CLT), OR small-sample graph shows no strong skew or outliers |
Also confirm the two samples are independent of one another—this is what separates a two-sample design from matched pairs. If the same subjects appear in both groups, or if there is a natural pairing, independence fails and the two-sample procedure is invalid.
Matched Pairs: A One-Sample Problem in Disguise
Because the two measurements are dependent, you cannot use the two-sample formula. Instead, compute the difference for each pair, , and then run a one-sample interval on those differences:Here is the number of pairs, is the standard deviation of the differences, and . This is the same procedure as U7.1, just applied to a derived variable.
| Feature | Two-sample | Matched pairs |
|---|---|---|
| Data relationship | Independent | Paired/dependent |
| Analyze | ||
| Welch or |
Interpreting and Concluding
The interpretation of the confidence level is different: "If we repeated this sampling process many times and built an interval each time, about 95% of those intervals would capture the true difference in means."
A powerful move the exam rewards: use the interval to decide whether a difference is plausible. If the entire interval is positive, you have evidence that . If it is entirely negative, . If the interval contains 0, then no difference is a plausible value, so you cannot conclude the means differ. Watch the order of subtraction— versus flips every sign, so always define which group is 1 and which is 2 at the start.
Always round enough to be meaningful, keep units, and never say you are confident about a sample statistic—the interval estimates a population parameter.
Key terms
- Two-sample t interval.
- A confidence interval estimating the difference between two population means, , from two independent samples.
- Standard error of the difference.
- The estimated variability of , computed as .
- Independent samples.
- Two samples in which the selection or values of one have no relationship to the other; required for the two-sample procedure.
- Matched pairs.
- A design where each observation in one condition is naturally linked to an observation in the other, analyzed with a one-sample t interval on the differences.
- Degrees of freedom.
- A parameter of the t distribution; found by technology (Welch) or conservatively as for two samples.
- Critical value t*.
- The multiplier from the t distribution corresponding to the confidence level and degrees of freedom.
- Difference of means.
- The parameter being estimated; its sign depends on which group is labeled 1.
Worked example
Check conditions. Random: both samples are stated as random. Independence: samples are independent of each other, and it is reasonable that each brand produces more than and batteries. Normal: both dotplots are roughly symmetric with no outliers, so the procedure is appropriate for each small sample.
Point estimate: hours.
Standard error: .
Degrees of freedom (conservative): , giving for 95% confidence. (Technology's Welch gives .)
Margin of error (conservative): .
Interval: , or about hours.
Conclusion: We are 95% confident that the true difference in mean battery life () is between and hours. Because the interval contains 0, we do not have convincing evidence that the mean lives differ.
Practice questions
A study measures each of 20 volunteers' blood pressure before and after a meditation program. Which procedure correctly estimates the mean change?
- Two-sample t interval with from technology
- One-sample t interval on the 20 differences
- Two-sample t interval using degrees of freedom
- Two separate one-sample t intervals compared by overlap
Answer: One-sample t interval on the 20 differences
A 90% two-sample t confidence interval for (treatment minus control) is . What can you conclude about the treatment effect, and why?
Answer: Because the entire interval is positive (does not contain 0), there is convincing evidence at this confidence level that the treatment mean is greater than the control mean.
Two independent samples have and . Explain how you should check the Normal/Large condition for constructing a two-sample t interval.
Answer: For sample 1, cite the Central Limit Theorem since ; for sample 2, examine a graph of the data (dotplot, boxplot, or stemplot) for strong skewness or outliers since .
FAQ
- When do I use a two-sample t interval versus a matched-pairs interval?
- Use a two-sample interval when the two groups are independent—different subjects randomly sampled or randomly assigned to two groups. Use a matched-pairs (one-sample) interval when each observation in one group is naturally linked to a specific observation in the other, such as before/after measurements on the same people or paired twins. Ask whether the data come in meaningful pairs; if so, analyze the differences.
- Should I pool the variances in a two-sample t interval?
- For AP Statistics, no. The standard, always-valid procedure uses the unpooled standard error . Pooling assumes the two populations have equal variances, which is rarely justified and not required. Stick with the unpooled formula and let technology handle the degrees of freedom.
- What degrees of freedom should I report?
- You may report either the calculator's Welch value (usually a decimal) or the conservative . The conservative option gives a slightly wider interval and is safe to compute by hand. Just state which method you used so your critical value is consistent with it.
- How do I know if the difference in means is significant from a confidence interval?
- Check whether the interval contains 0. If the whole interval is above or below 0, then 0 is not a plausible difference, giving evidence that the means differ. If the interval includes 0, no difference is plausible and you cannot conclude the means are different at that confidence level.
Learn this with a teacher, not a page
The Crimsora tutor teaches U7.7 Two-Sample t-CI for Difference of Means live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.