AP® Statistics · Unit 3 · Topic 3.9
Sampling Distribution for a Difference of Proportions
The sampling distribution of p1-hat minus p2-hat is centered at p1 - p2, with a spread found by adding the two sampling variances, not the two standard deviations.
Each sample proportion, p1-hat and p2-hat, bounces around its own population value from sample to sample. When you subtract one random quantity from another, the result is itself random, and it has its own center and spread. Even if the two population proportions are truly identical, each sample proportion lands a little high or low just by chance, so the difference you observe is rarely exactly zero. Two truly equal proportions, each estimated from a sample of 100, can easily differ by 5 or 8 points purely from sampling variability, with no real effect behind it.
Because the two samples are independent, their sampling distributions combine in a specific way. The mean of the difference is just the difference of the means: p1 - p2. The variance works differently than you might expect. For independent random quantities, variances add, even though you are subtracting the proportions themselves. So the variance of p1-hat minus p2-hat equals p1(1-p1)/n1 plus p2(1-p2)/n2, and the standard deviation is the square root of that sum. This matters because it's the engine behind every confidence interval and hypothesis test comparing two proportions: the margin of error and the test statistic both rely on this combined SD. As both sample sizes grow, each individual sampling variance shrinks, so the combined SD shrinks too, and the sampling distribution of the difference becomes tighter and more clearly normal, setting up the conditions needed for two-sample z procedures.
Key terms
- Sampling distribution
- The distribution of a statistic's values across all possible samples of a given size.
- Independent samples
- Samples selected so that the outcome in one has no influence on the outcome in the other.
- Sampling variance
- The squared standard deviation of a statistic's sampling distribution, equal to p(1-p)/n for one proportion.
- p1-hat minus p2-hat
- The difference between two sample proportions, used to estimate the true difference p1 - p2.
Watch it explained
- How it worksHow do two independent sampling distributions combine into one for their difference?
- Worked exampleFind the mean and SD of p1-hat minus p2-hat for n = 100 each with p of 0.4 and 0.3.
- Common mistakeWhy doesn't the spread of a difference come from subtracting the two standard deviations?
- Going furtherWhat happens to that sampling distribution when both samples get much bigger?
Check yourself
End of topic.