From the free course AP Statistics on Lykke

4.6 Sampling Distributions for the Difference Between Two Sample Means

Key concepts: Sampling distribution of x̄₁ − x̄₂ — every possible sample difference · Center of that distribution: μ₁ − μ₂ · Standard deviation √(σ₁²/n₁ + σ₂²/n₂) — variances add, standard deviations do not · Randomization condition — two independent random samples or random assignment · 10% condition — each sample at most a tenth of its population · Normal model when both populations are normal, or both n ≥ 30

Comparing the average performance of two independent groups—such as the mean longevity of two different battery brands or the mean growth rate of plants under two different fertilizers—requires understanding the behavior of the difference between two sample means, $\bar{x}_1 - \bar{x}_2$.

Comparing the average performance of two independent groups—such as the mean longevity of two different battery brands or the mean growth rate of plants under two different fertilizers—requires understanding the behavior of the difference between two sample means, $\bar{x}_1 - \bar{x}_2$. This difference is itself a random variable with a predictable distribution, provided we know the characteristics of the underlying populations and the sizes of the samples drawn from them.

Parameters of the Sampling Distribution (VAR-6.B)

The sampling distribution of $\bar{x}_1 - \bar{x}_2$ is the probability distribution of all possible differences between sample means of a fixed size $n_1$ and $n_2$ taken from two independent populations. To describe this distribution completely, we must identify its center (mean) and its variability (standard deviation).

The Mean of the Difference (VAR-6.B.1): The mean of the sampling distribution of the difference between two sample means is equal to the difference between the two population means. $$\mu_{\bar{x}_1 - \bar{x}_2} = \mu_1 - \mu_2$$

The Standard Deviation of the Difference (VAR-6.B.2): If the two samples are independent, the standard deviation of the sampling distribution is calculated by combining the individual variances of the sample means. $$\sigma_{\bar{x}_1 - \bar{x}_2} = \sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}$$

Concept Formula Requirement
Center $\mu_{\bar{x}_1 - \bar{x}_2} = \mu_1 - \mu_2$ None (always true)
Spread $\sigma_{\bar{x}_1 - \bar{x}_2} = \sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}$ Independent Samples / 10% Condition

The standard deviation formula relies on what is often called the "Pythagorean Theorem of Statistics" (VAR-6.B.2). When two independent random variables are added or subtracted, their variances add. Even though we are looking at the difference between means, the uncertainty (variability) of the result increases because both samples contribute their own random error to the final estimate.

Determining the Shape (UNC-3.D)

The shape of the sampling distribution for $\bar{x}_1 - \bar{x}_2$ depends on the shapes of the parent populations and the sample sizes $n_1$ and $n_2$. Under specific conditions, the distribution of the difference will be approximately Normal (UNC-3.D.1), allowing us to use the Normal model for probability calculations.

  • Normal Populations: If both parent populations are normally distributed, the sampling distribution of $\bar{x}_1 - \bar{x}_2$ is exactly Normal, regardless of the sample sizes.
  • Central Limit Theorem (CLT): If the parent populations are not normal (or their shapes are unknown), the sampling distribution of $\bar{x}_1 - \bar{x}_2$ will be approximately Normal if both sample sizes are sufficiently large (typically $n_1 \ge 30$ and $n_2 \ge 30$).

Misconception Check: The "Subtracting Variances" Trap

A common error is attempting to subtract the variances when calculating the standard deviation of the difference: $\sqrt{\frac{\sigma_1^2}{n_1} - \frac{\sigma_2^2}{n_2}}$. This is mathematically impossible (variances cannot be negative) and logically flawed. Subtracting one random variable from another increases the total "noise" in the system; therefore, the variability of the difference is always greater than the variability of either individual mean.

Worked Example: Commute Times

A city planner is comparing commute times between the East Side and the West Side.

  • East Side: $\mu_1 = 25$ mins, $\sigma_1 = 8$ mins.
  • West Side: $\mu_2 = 21$ mins, $\sigma_2 = 6$ mins. The planner takes an independent simple random sample of $n_1 = 40$ East Side commuters and $n_2 = 35$ West Side commuters.

1. Describe the sampling distribution of $\bar{x}_1 - \bar{x}_2$.

  • Center: $\mu_{\bar{x}_1 - \bar{x}_2} = 25 - 21 = 4$ minutes.
  • Spread (Skill 3.D): $\sigma_{\bar{x}_1 - \bar{x}_2} = \sqrt{\frac{8^2}{40} + \frac{6^2}{35}} = \sqrt{1.6 + 1.028} \approx 1.621$ minutes.
  • Shape (Skill 4.E): Since $n_1 = 40 \ge 30$ and $n_2 = 35 \ge 30$, the Central Limit Theorem applies. The sampling distribution of the difference in sample means is approximately Normal.

2. Justify a Claim (Skill 4.D): If a researcher claims the West Side actually has a higher mean commute time than the East Side ($\mu_1 - \mu_2 < 0$), how likely is it to see a sample difference $\bar{x}_1 - \bar{x}_2 \le 0$? Using the Normal model $N(4, 1.621)$, a difference of 0 has a z-score of $z = \frac{0 - 4}{1.621} \approx -2.47$. The probability of seeing a difference this small or smaller is approximately $0.0068$. Because this probability is very low, the sample evidence strongly supports the city planner's parameters over the researcher's claim.

Retrieval Check: Suppose you increase the sample sizes $n_1$ and $n_2$. How will this affect the mean ($\mu_{\bar{x}_1 - \bar{x}2}$) and the standard deviation ($\sigma{\bar{x}_1 - \bar{x}_2}$) of the sampling distribution?

  • Answer: The mean will remain unchanged ($\mu_1 - \mu_2$), but the standard deviation will decrease, as $n$ is in the denominator of the variance terms.
4.6 Sampling Distributions for the Difference Between Two Sample Means - AP Statistics - image 1
4.6 Sampling Distributions for the Difference Between Two Sample Means - AP Statistics - image 1
4.6 Sampling Distributions for the Difference Between Two Sample Means - AP Statistics - diagram 1
4.6 Sampling Distributions for the Difference Between Two Sample Means - AP Statistics - diagram 1

Source Materials

The whole course on Lykke · Browse all public course wikis