SECTION 1
Historical Context & Motivation
Comparing two groups is one of the most fundamental tasks in empirical research. A physician might ask whether a new drug lowers blood pressure more than an existing treatment; an educator might investigate whether a revised curriculum raises test scores relative to the traditional approach. In each scenario, the core statistical question is the same: does a meaningful difference exist between two population means, or could the observed gap be attributable to random sampling variability? The intellectual lineage behind the confidence-interval approach to this question stretches across more than a century of statistical innovation.
1908 • Student's t-Distribution
1935 • Fisher's Design of Experiments
1937 • Welch's Approximate t-Test
1960s–1980s • Shift Toward Interval Estimation
2016–Present • ASA Statement on P-Values
Against this historical backdrop, the AP Statistics curriculum asks a precise question: given a confidence interval for µ1 − µ2, how do we use that interval to justify a claim about whether the two population means are different, and in which direction? This lesson develops the conceptual framework, the mathematical machinery, and the interpretive language you need to answer confidently on exam day.
SECTION 2
Core Principles & Definitions
Before constructing or interpreting a two-sample confidence interval, it is essential to anchor your understanding in a few foundational ideas. These principles govern when the procedure is valid, what the resulting interval means, and how you can leverage it to support or refute a claim about two populations.
Parameter of Interest: µ₁ − µ₂
Sampling Distribution & Standard Error
Confidence Level & Margin of Error
Interpreting the Interval
Conditions for Inference
KEY TAKEAWAY
SECTION 3
Visual Explanation
A number line diagram is the most direct way to see whether a confidence interval for µ1 − µ2 supports a claim of a difference. The following diagram illustrates three scenarios that arise in practice: an interval that contains zero (inconclusive), an interval entirely above zero (evidence µ1 > µ2), and an interval entirely below zero (evidence µ1 < µ2).
The critical question is always whether the value zero is inside or outside the interval. Zero represents the null claim that the two populations share the same mean. When the interval excludes zero, every plausible value of µ₁ − µ₂ is either strictly positive or strictly negative, providing convincing evidence at the given confidence level that a real difference exists. When zero is captured, we cannot rule out the possibility that any observed sample difference is simply the product of chance.
SECTION 4
Mathematical Framework
The two-sample t-interval for µ1 − µ2 has the familiar structure of "point estimate ± margin of error." The formulas below show how the interval is constructed and how each component contributes to the final result.
POINT ESTIMATE
x̄₁ and x̄₂ are the sample means from populations 1 and 2, respectively. This quantity estimates the true difference µ₁ − µ₂.
STANDARD ERROR
s₁ and s₂ are the sample standard deviations; n₁ and n₂ are the sample sizes. Because the samples are independent, the variances add under the square root.
CONFIDENCE INTERVAL
t* is the critical value from the t-distribution for the chosen confidence level C. Degrees of freedom are computed using the Welch–Satterthwaite approximation (or by calculator). The interval gives all plausible values for µ₁ − µ₂ at confidence level C.
WELCH–SATTERTHWAITE DEGREES OF FREEDOM
This approximation yields a non-integer df, which is typically truncated or handled by technology. On the AP exam, a calculator or table provides the critical value; you do not need to memorize this formula but should know it exists.
Exam Tip
SECTION 5
Decision Rules & Interpretation
Once the confidence interval has been constructed, the interpretive step is what earns full credit on the AP exam. The decision rule is straightforward, but the language of justification must be precise. The following table codifies the three cases and the corresponding claim each supports.
| Position of Interval Relative to 0 | Conclusion | Justification Template |
|---|---|---|
| Entire interval is positive (both endpoints > 0) | Convincing evidence that µ₁ > µ₂ | "Because the interval (L, U) lies entirely above 0, we are C% confident that µ₁ − µ₂ > 0, meaning µ₁ is greater than µ₂." |
| Entire interval is negative (both endpoints < 0) | Convincing evidence that µ₁ < µ₂ | "Because the interval (L, U) lies entirely below 0, we are C% confident that µ₁ − µ₂ < 0, meaning µ₁ is less than µ₂." |
| Interval contains 0 (one endpoint negative, one positive) | No convincing evidence of a difference | "Because the interval (L, U) contains 0, it is plausible that µ₁ − µ₂ = 0, so there is not convincing evidence that the means differ." |
Decision rules for a confidence interval for µ₁ − µ₂
Common Mistake
SECTION 6
Worked Example
A nutritionist wants to compare the mean daily caloric intake of adults in City A versus City B. She selects independent random samples of 35 adults from each city and records their daily caloric intake. The sample data are as follows: City A has x̄1 = 2180 kcal, s1 = 320 kcal, n1 = 35. City B has x̄2 = 2040 kcal, s2 = 280 kcal, n2 = 35. Construct a 95% confidence interval for µ1 − µ2 and determine whether there is convincing evidence that the mean caloric intakes differ.
Two-Sample t-Interval for µ₁ − µ₂
- 1
Step 1 — Define the Parameter
Let µ₁ = the true mean daily caloric intake for all adults in City A, and µ₂ = the true mean daily caloric intake for all adults in City B. We wish to estimate µ₁ − µ₂. - 2
Step 2 — Check Conditions
Random: Both samples are independent random samples from their respective cities. Independent (10% condition): It is reasonable to assume there are more than 350 adults in each city, so each sample is less than 10% of its population. The two samples are also independent of each other. Normal/Large Sample: Both n₁ = 35 ≥ 30 and n₂ = 35 ≥ 30, so by the Central Limit Theorem, the sampling distribution of x̄₁ − x̄₂ is approximately normal. - 3
Step 3 — Calculate the Point Estimate
x̄₁ − x̄₂ = 2180 − 2040 = 140 kcal.Point estimate = 140 kcal - 4
Step 4 — Compute the Standard Error
SE = √(s₁²/n₁ + s₂²/n₂) = √(320²/35 + 280²/35) = √(102400/35 + 78400/35) = √(2925.71 + 2240.00) = √5165.71 ≈ 71.87 kcal.SE ≈ 71.87 kcal - 5
Step 5 — Find t* and Compute the Interval
Using technology (or the Welch–Satterthwaite formula), df ≈ 66.1. For a 95% confidence interval, t* ≈ 1.997. The margin of error is ME = 1.997 × 71.87 ≈ 143.5 kcal. The confidence interval is 140 ± 143.5, which gives (−3.5, 283.5).95% CI: (−3.5, 283.5) - 6
Step 6 — Interpret and Justify
We are 95% confident that the true difference in mean daily caloric intake (City A − City B) is between −3.5 kcal and 283.5 kcal. Because this interval contains 0, there is not convincing evidence at the 95% confidence level that the true mean daily caloric intake differs between adults in City A and adults in City B. It is plausible that the two population means are equal.
SECTION 7
Confidence Intervals vs. Hypothesis Tests
Students often wonder about the relationship between a confidence interval for µ₁ − µ₂ and a two-sample t-test. Both procedures use the same underlying sampling distribution and conditions, but they answer slightly different questions. Understanding their connection deepens your ability to justify claims on the AP exam, where you may be asked to draw conclusions from either output.
| Feature | Confidence Interval | Hypothesis Test |
|---|---|---|
| Output | A range of plausible values for µ₁ − µ₂ | A p-value measuring evidence against H₀: µ₁ − µ₂ = 0 |
| Decision criterion | Does the interval contain 0? | Is the p-value ≤ α? |
| Effect size information | Yes — the interval shows plausible magnitudes | Not directly — the p-value does not indicate magnitude |
| Consistency | A two-sided C% CI excludes 0 ⟺ the two-sided test rejects H₀ at α = 1 − C | A two-sided test at α rejects ⟺ the (1 − α)×100% CI excludes 0 |
| Advantage | Communicates both direction and practical significance | Familiar reject/fail-to-reject framework; useful for one-sided alternatives |
Comparing confidence intervals and hypothesis tests for two means
KEY TAKEAWAY
SECTION 8
Connection to Advanced Topics
The two-sample t-interval is a gateway to several more sophisticated techniques encountered in college-level and graduate statistics courses. Understanding the logic of "does the interval capture the null value?" transfers directly to each of these extensions.
| AP Statistics (This Lesson) | Advanced Extension |
|---|---|
| Two independent samples, each with one quantitative variable | Paired t-interval (matched pairs), where the difference is computed within each pair before building a one-sample interval on the differences |
| Compare two groups' means | ANOVA and simultaneous confidence intervals (e.g., Tukey HSD) compare three or more group means while controlling the family-wise error rate |
| Welch t-interval with approximate df | Bootstrap confidence intervals that make no distributional assumption; resample with replacement to estimate the sampling distribution directly |
| Check whether 0 is in the interval (binary decision) | Equivalence testing (TOST procedure): reverse the logic and show the difference is small enough to be practically negligible |
How the two-sample CI concept extends beyond AP Statistics
The interpretive skill you build here—checking whether a null value falls inside or outside an interval and articulating what that implies—remains the universal reasoning pattern across all of these methods. Whether you are comparing means, proportions, regression slopes, or any other parameter, the question is always: does the interval for the relevant difference include the value specified by the null claim? Mastering this logic now positions you well for future coursework in mathematical statistics, experimental design, and applied data science.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
- A. There is convincing evidence that µ₁ > µ₂ because the point estimate is positive.
- B. There is convincing evidence that µ₁ < µ₂ because the lower bound is negative.
- C. There is not convincing evidence that the two population means are different because the interval contains 0.
- D. The two population means are equal because 0 is inside the interval.
- E. We are 95% confident that every individual in population 1 scores between −4.2 and 12.8 higher than every individual in population 2.
Show answer (C)
Question 2: BASIC CALCULATION
- A. 1.26
- B. 1.89
- C. 2.05
- D. 3.60
- E. 4.21
Show answer (B)
Question 3: INTERMEDIATE
- A. The 99% interval is narrower and still excludes 0, providing stronger evidence of a difference.
- B. The 99% interval is wider and must still exclude 0, providing stronger evidence of a difference.
- C. The 99% interval is wider and may or may not contain 0, so the evidence for a difference may change.
- D. The 99% interval is wider but the point estimate changes, so no comparison is possible.
- E. The 99% interval is the same width but centered at a different point estimate.
Show answer (C)
Question 4: APPLIED
5 ptsShow answer
Question 5: CRITICAL THINKING
6 ptsShow answer
SUMMARY
Lesson Summary
Summary
A two-sample t-interval for µ₁ − µ₂ is constructed as (x̄₁ − x̄₂) ± t* × SE, where SE = √(s₁²/n₁ + s₂²/n₂). Before computing this interval, you must verify the Random, Independent, and Normal/Large Sample conditions. The degrees of freedom are computed via the Welch–Satterthwaite approximation and used to find the critical value t*.
To justify a claim, check whether zero lies inside or outside the interval. If the entire interval is above zero, there is convincing evidence that µ₁ > µ₂. If entirely below zero, there is convincing evidence that µ₁ < µ₂. If the interval contains zero, there is not convincing evidence of a difference—but this does not prove the means are equal. Always frame conclusions in context, reference the confidence level, and connect the interval's position to your inferential claim.