Maximize your score with these resources:
- Albert.io AP® Statistics question banks
- Free AP® Statistics cheat sheets
- Free AP® Statistics score calculator
Comparing groups is central to statistics. In experiments, you compare treatments. In observational studies, you compare demographic groups: Do students in class A score higher on average than class B? Is the mean salary for men higher than for women? For each group, you compute a sample mean, and the difference between those means is your point estimate of the true difference. That difference varies from sample to sample, following its own sampling distribution. This is AP® Statistics Topic 4.6 (VAR-7.C through VAR-7.D).
The Sampling Distribution of x̅₁ − x̅₂: Center and Spread
Center — Mean of the distribution:
μ_(x̅₁ − x̅₂) = μ₁ − μ₂

Your sample difference is unbiased. On average, x̅₁ − x̅₂ equals the true difference μ₁ − μ₂.
Spread — Standard deviation (standard error of the difference):
σ_(x̅₁ − x̅₂) = √(σ₁²/n₁ + σ₂²/n₂)
Key points:
- Each group contributes a variance component: σ²/n.
- The variances add — both x̅₁ and x̅₂ contribute variability to their difference.
- Use true population SDs σ₁ and σ₂ when known; substitute sample SDs s₁ and s₂ in practice.
- Use unequal variances by default (Welch’s approach) — no pooled estimate needed.
Conditions for Valid Inference

| Condition | What to check |
|---|---|
| Randomness | Both samples randomly selected (or treatments randomly assigned) |
| Independence within each sample | n₁ < 0.10 × N₁ AND n₂ < 0.10 × N₂ |
| Independence between samples | Two groups are separate and not paired or overlapping |
| Normality / Large sample | Both populations normal, OR both n₁ ≥ 30 and n₂ ≥ 30 (CLT) |
The Sampling Distribution: When All Conditions Are Met
If all conditions hold:
x̅₁ − x̅₂ ~ N(μ₁ − μ₂, √(σ₁²/n₁ + σ₂²/n₂))
Standardized: z = [(x̅₁ − x̅₂) − (μ₁ − μ₂)] / √(σ₁²/n₁ + σ₂²/n₂) ~ N(0, 1)
Worked Example: Comparing Two Fertilizer Treatments
Yield (bushels/acre) is approximately normally distributed for each fertilizer.
Fertilizer A: μ₁ = 120, σ₁ = 15. Fertilizer B: μ₂ = 130, σ₂ = 20.
Samples: n₁ = 25 plots (A), n₂ = 20 plots (B).
Check conditions:
- Randomness: “Randomly sampled plots” ✓
- Independence: Many plots available; both satisfy 10% rule ✓. Groups are separate ✓.
- Normality: “Yield approximately normal” ✓
Calculate:
μ_(x̅₁ − x̅₂) = 120 − 130 = −10
σ = √(15²/25 + 20²/20) = √(9 + 20) = √29 ≈ 5.39
Describe: “The sampling distribution of x̅₁ − x̅₂ is approximately normal with mean −10 bushels/acre and standard deviation 5.39 bushels/acre.”
Use the distribution: What is P(x̅₁ − x̅₂ > 0)? (Probability A exceeds B)
z = (0 − (−10)) / 5.39 = 10/5.39 ≈ 1.85
P(Z > 1.85) ≈ 0.032. Only 3% of samples would show A with higher mean yield than B — unlikely, because B’s population mean yield is 10 bushels/acre higher.
Paired vs. Independent Samples: A Critical Distinction
This article assumes independent samples: two separate groups. But sometimes data are paired (same people measured before/after, or matched comparisons).

| Independent Samples | Paired Samples |
|---|---|
| Two separate groups of different individuals | Same individuals measured twice, or explicitly matched pairs |
| Use x̅₁ − x̅₂ sampling distribution | Work with individual differences; use single-sample mean inference |
| Both n₁ and n₂ can be different | Number of pairs = n |
How to recognize paired data: The same subject measured twice (before/after), subjects explicitly matched (siblings, classrooms), or problem says “for each subject” or “matched.”
Final Synthesis: The Four Sampling Distributions
You’ve now studied four sampling distributions:
- p̂ (single proportion)
- p̂₁ − p̂₂ (difference in proportions)
- x̅ (single mean)
- x̅₁ − x̅₂ (difference in means)
Each has: a center (parameter or difference of parameters), spread (standard error), conditions (randomness, independence, large sample), and shape (approximately normal). These four distributions underpin all inference in Units 3 and 4.
Test-Taking Strategies
Mnemonic: RINEN — When tackling two-mean problems:
- R: Are both samples Random?
- I: Are observations Independent within each sample (10% rule)? Are samples independent of each other (not paired)?
- N: Are both populations Normal, or are both n ≥ 30?
- E: Use unEqual variances formula (Welch’s approach) unless explicitly told otherwise.
- N: Perform the Normal probability calculation.
Cross-topic connections: Topic 4.1 (Single Mean) — each x̅ has a sampling distribution; here you combine two. Two-proportion distributions (Topic 3.9) have parallel structure. Confidence intervals (Unit 4) use (x̅₁ − x̅₂) ± t* × √(s₁²/n₁ + s₂²/n₂). Hypothesis tests (Unit 4) test H₀: μ₁ = μ₂. Paired data (Unit 4) uses different methods — recognizing the distinction now prevents errors later.
Common exam formats:
- “Describe the sampling distribution” → check conditions, calculate SE, state mean and shape.
- “P(x̅₁ − x̅₂ > 0)” → calculate SE, standardize, use normal table.
- “Is this paired or independent?” → critical classification question before any calculation.
- “n₁ = 12, n₂ = 15, non-normal populations. Can you use normal inference?” → No. Both n < 30 and populations not normal.
Frequent mistakes:
- Subtracting instead of adding variances. The formula is √(… + …), not √(… − …).
- Using pooled variance instead of Welch’s approach. Use unequal variances by default.
- Treating paired data as independent. If the same subjects appear in both groups, use paired methods.
- Forgetting to check between-sample independence. Check within-group (10% rule) AND between-group independence.
- Confusing order of subtraction. x̅₁ − x̅₂ ≠ x̅₂ − x̅₁. Order matters for interpretation.
Time management: In free-response, spend 2–3 minutes on conditions. If you identify paired or non-independent data immediately, you know this formula doesn’t apply — that identification alone earns points. Once conditions are verified, calculations are straightforward. Use a calculator for the SE and z-score. Focus remaining time on interpretation in context.
Check for Understanding
Think you’ve got it? Complete the quiz below to make sure. Download your results at the end.
