AP Statistics · Topic 3.9 · Unit 3
AP Stats 3.9: Difference of Two Proportions
By Jude Wallis · Published
The sampling distribution of p-hat-1 minus p-hat-2 has mean p1 minus p2 and standard deviation sqrt(p1(1-p1)/n1 + p2(1-p2)/n2). It is approximately normal when all four expected counts are at least 10 and the samples are independent.
AP Statistics: Unit 3 (topics 3.9). CED topic 3.9 (Sampling Distributions for the Difference Between Sample Proportions), skills 3.D, 4.D, 4.E.
What topic 3.9 covers
Topic 3.9 moves from one proportion to comparing two. It describes the sampling distribution of the difference for two independent populations with proportions and . You learn its mean, its standard deviation, and the conditions that make it approximately normal, which sets up the two-sample interval and test in later topics. The structure mirrors topic 3.2, with a second group added and its variability folded in.
Mean and standard deviation
When the two samples are independent, the difference has mean
and standard deviation
The variances of the two independent sample proportions add, then you take the square root. You do not subtract under the root, and you never add the standard deviations directly.
Conditions
Two conditions justify the standard deviation, and one more justifies the normal shape.
- Randomization: two independent random samples, or a randomized experiment.
- 10% condition: when sampling without replacement, each sample is at most 10% of its population, so and .
- Normality: the expected successes and failures in both groups, , , , and , are all at least 10.
For an experiment, only the randomization condition is required, met by randomly assigning treatments to units.
Interpreting the distribution
Read the mean, standard deviation, and any probability in the context of the two specific populations being compared. The mean is what you are trying to estimate, and a value of 0 means the two proportions are equal. The standard deviation is the typical distance the observed difference falls from the true difference across repeated pairs of samples. Because this spread depends on both sample sizes, a small group can inflate the standard deviation even when the other group is large, so balanced sample sizes tend to give more precise estimates.
When you later run a two-sample interval or test, this standard deviation, estimated from the data, becomes the standard error in the denominator, so the reasoning here carries straight into topics 3.10 through 3.13. Keeping the mean, the standard deviation, and the shape distinct in your notes now makes those later procedures much easier to set up correctly.
Center and spread of a difference in proportions
Population 1 has with ; population 2 has with . Find the mean and standard deviation of .
Mean: .
First variance term: .
Second variance term: .
Add: .
Square root: .
The mean is 0.10 and the standard deviation is about 0.0671. All four expected counts (50, 50, 48, 72) exceed 10, so the distribution is approximately normal.
Frequently asked questions
Do I add or subtract the two variances?
You add them. The two sample proportions are independent, and variances of independent quantities add whether you are looking at a sum or a difference. You take the square root of that sum to get the standard deviation.