AP Statistics · Unit 4 · Topic 4.6

Sampling Distributions for a Difference in Means Study Lab

When you compare two groups by subtracting their sample means, the answer changes from sample to sample. The sampling distribution of x̄₁ − x̄₂ describes that variation: where it centers, how spread out it is, and when it is approximately normal. Simulate it yourself and check every formula.

1. Simulate the sampling distribution

Take a random sample from each of two populations, find each sample mean, and subtract. Repeat many times. The distribution of all those differences is the sampling distribution of x̄₁ − x̄₂.

μ(x̄₁ − x̄₂) = μ₁ − μ₂ σ(x̄₁ − x̄₂) = √( σ₁²/n₁ + σ₂²/n₂ )
Preset situations

The two populations

Population shape

Population distributions what we sample from

Population 1Population 2

Simulated values of x̄₁ − x̄₂

Simulated differencesNormal model N(μ₁ − μ₂, σ)Value c
Mean of x̄₁ − x̄₂ (formula)
SD of x̄₁ − x̄₂ (formula)
Mean of simulated differences
SD of simulated differences

Center, spread, and shape

Find a probability

The shaded area on the histogram.

2. Key ideas

Center

Unbiased estimator

The mean of the sampling distribution of x̄₁ − x̄₂ is exactly μ₁ − μ₂. On average, the difference in sample means hits the true difference, so x̄₁ − x̄₂ is an unbiased estimator of μ₁ − μ₂.

Spread

Variances add

Each sample mean has its own variability, σ²/n. When you subtract two independent sample means, the variances add: σ₁²/n₁ + σ₂²/n₂. Take the square root to get the standard deviation. Never subtract the standard deviations.

Sample size

Bigger samples, less spread

Larger n₁ and n₂ shrink the standard deviation of x̄₁ − x̄₂. Multiplying both sample sizes by 4 cuts the standard deviation in half.

Shape

When is it approximately normal?

If both populations are normal, the sampling distribution is normal for any sample sizes. If not, it is approximately normal when both n₁ ≥ 30 and n₂ ≥ 30, by the central limit theorem.

Independence

Two kinds of independence

The two samples must be independent of each other (not paired). Within each sample, when sampling without replacement, check the 10% condition: n₁ ≤ 10% of population 1 and n₂ ≤ 10% of population 2.

Probability

Standardize the difference

To find a probability, compute z = (value − (μ₁ − μ₂)) ÷ σ(x̄₁ − x̄₂), then use the normal distribution. On a calculator, normalcdf with the mean and SD of the difference does the same thing.

3. Quick reference

Everything you need to describe the sampling distribution of x̄₁ − x̄₂.

FeatureFormula or ruleCondition neededExample (σ₁ = 6, n₁ = 36, σ₂ = 8, n₂ = 16)
Meanμ₁ − μ₂None; always trueIf μ₁ = 50 and μ₂ = 42, the mean is 8
Standard deviation√(σ₁²/n₁ + σ₂²/n₂)Independent samples; 10% condition for each sample√(36/36 + 64/16) = √5 ≈ 2.24
Shape: normalExactly normalBoth populations normalHeights, if each population is normal
Shape: approximately normalCentral limit theoremn₁ ≥ 30 and n₂ ≥ 30Here n₂ = 16, so we would need population 2 to be normal
Probabilityz = (value − (μ₁ − μ₂)) ÷ SDShape is (approximately) normalP(x̄₁ − x̄₂ > 10) → z = (10 − 8) ÷ 2.24 ≈ 0.89, area ≈ 0.186

4. On the FRQ

How to earn the points

  • Describe all three features: center, spread, and shape. "The sampling distribution of x̄₁ − x̄₂ has mean 4 cm, standard deviation 1.78 cm, and is approximately normal."
  • Justify the shape: "because both sample sizes are at least 30" or "because both populations are normally distributed."
  • Show the standard deviation work: √(8²/30 + 6²/35), not just the answer.
  • For a probability, label the distribution, give the boundary, and shade or state the direction: "N(4, 1.78), P(x̄₁ − x̄₂ ≥ 5) ≈ 0.287."
  • Mention the 10% condition when the problem involves sampling without replacement.

Common mistakes

  • Subtracting standard deviations: σ₁/√n₁ − σ₂/√n₂ is wrong. Square, add, then take the square root.
  • Forgetting to divide each variance by its own sample size.
  • Claiming the distribution is normal when one sample is small and its population is skewed.
  • Mixing up the population distribution, the distribution of one sample, and the sampling distribution.
  • Using this formula for paired data. Paired differences are one sample of differences, not two independent samples.

5. Practice questions

AP-style multiple choice. Pick an answer to see the explanation.

0 / 0 correct

6. Key terms

The vocabulary for topic 4.6. Read the list, flip through flashcards, or quiz yourself. For every term in the unit, see the Unit 4 terminology guide.