The Sampling Distribution of a Difference in Proportions
How the difference between two sample proportions varies from sample to sample: its mean, its standard deviation (variances add), the conditions for a normal model, and how to find and interpret probabilities about the difference.
When you compare two groups, the statistic is a difference: \(\hat{p}_1 - \hat{p}_2\). Its sampling distribution is centered at the true difference \(p_1 - p_2\). Because both sample proportions vary independently, the difference varies more than either one: their variances add. With large enough samples, the shape is approximately normal.
1Center and spread
For two independent populations with proportions \(p_1\) and \(p_2\), when the sampled values are independent, the sampling distribution of \(\hat{p}_1 - \hat{p}_2\) has
Reading for fun
In District A, 55% of juniors read for fun every week; in District B, 40% do. Independent random samples of 120 juniors from A and 150 from B are taken. Find the mean and standard deviation of the sampling distribution of \(\hat{p}_1 - \hat{p}_2\).
- 1Mean: \(\mu_{\hat{p}_1 - \hat{p}_2} = p_1 - p_2 = 0.55 - 0.40 = 0.15\).
- 2Standard deviation: \(\sqrt{\dfrac{0.55(0.45)}{120} + \dfrac{0.40(0.60)}{150}} = \sqrt{0.0020625 + 0.0016} \approx 0.0605\).
2Why the variances add
The standard deviation of a difference is not \(\sigma_1 + \sigma_2\), and certainly not \(\sigma_1 - \sigma_2\). Square each one, add, then take the square root. Subtracting the proportions does not mean subtracting the variability: two noisy numbers make a noisier difference.
3Conditions
| Condition | Two samples | Experiment |
|---|---|---|
| Randomization | Two independent random samples | Treatments randomly assigned |
| 10% condition | \(n_1 \le 0.10N_1\) and \(n_2 \le 0.10N_2\) | Not needed |
| Normality | \(n_1p_1,\ n_1(1-p_1),\ n_2p_2,\ n_2(1-p_2)\) all \(\ge 10\) | Same check, in each group |
Two districts
Each district has more than 5,000 juniors. Check the conditions for treating the sampling distribution of \(\hat{p}_1 - \hat{p}_2\) as approximately normal with the standard deviation above.
- 1Randomization: two independent random samples, one from each district.
- 210% condition: \(120 \le 0.10N_1\) and \(150 \le 0.10N_2\), since each district has more than 5,000 juniors (10% is over 500).
- 3Normality: \(n_1p_1 = 66\), \(n_1(1-p_1) = 54\), \(n_2p_2 = 60\), \(n_2(1-p_2) = 90\), all at least 10.
Which condition applies?
Researchers randomly assign 200 volunteers to try a new study app or not, and compare the proportions who finish a course. What does the randomization condition require here, and does the 10% condition apply?
- 1With an experiment, the randomization condition means the treatments were randomly assigned to the experimental units.
- 2There is no sampling from a larger population, so the 10% condition does not apply.
- 3The normality condition still applies, with expected successes and failures in each group.
There are four counts to check, two for each group. A group of 15 with \(p = 0.10\) fails (1.5 expected successes) even if the other group is huge. Check every group separately.
The formula assumes the two samples are independent of each other. Measuring the same students twice (before and after) gives paired data, not two independent samples, and this standard deviation does not apply.
4Probabilities about the difference
With the conditions met, use the normal model with mean \(p_1 - p_2\) and the standard deviation above. Interpret results in the context of the two specific populations.
Could B come out ahead?
Using the normal model, find the probability that the sample from District B has an equal or higher proportion of readers than the sample from District A.
- 1“B equal or higher” means \(\hat{p}_1 - \hat{p}_2 \le 0\).
- 2\(z = \dfrac{0 - 0.15}{0.0605} \approx -2.48\).
- 3\(P(z \le -2.48) \approx 0.0066\).
“If 55% of District A juniors and 40% of District B juniors read for fun weekly, there is about a 0.0066 probability that random samples of 120 and 150 would show the B sample with an equal or higher proportion.”
Quick reference
| Item | Formula |
|---|---|
| Mean | \(p_1 - p_2\) |
| Standard deviation | \(\sqrt{p_1(1-p_1)/n_1 + p_2(1-p_2)/n_2}\) |
| Shape | Approximately normal when all four expected counts are at least 10 |
| z-score | \(z = \dfrac{(\hat{p}_1 - \hat{p}_2) - (p_1 - p_2)}{\sigma_{\hat{p}_1 - \hat{p}_2}}\) |