Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Statistics · Unit 3 · Step-Through Animation

Sampling Distributions for the Difference Between Sample Proportions

The Proportions Subtract and the Uncertainties Add, and Only One of Those Is Obvious

You'll learnwhere the sampling distribution of a difference between two sample proportions is centered, why its spread comes from ADDING two variances even though the statistic subtracts, what the three wrong standard errors return, and why independence between the samples is the assumption the plus sign rests on.

A store compares checkout systems: 138 of 300 customers finish on the new one, 90 of 250 on the old — sample proportions of 0.46 and 0.36, a difference of 10 percentage points. To judge whether that gap means anything, you need the distribution of the gap itself, and it answers the same three questions as any sampling distribution. Center: the true difference, 0.10. Shape: approximately normal once all four counts clear 10. Spread: the one that surprises. Each group carries its own uncertainty into the comparison and neither cancels the other, so the variances add even though the proportions subtract, and the difference ends up wider than either proportion alone — 0.0418, against 0.0288 and 0.0304. This animation enumerates that claim outcome by outcome rather than quoting it, draws what the three tempting shortcuts return, and finishes on the assumption the whole formula rests on. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · VARIANCES ADD · FOUR COUNTS · INDEPENDENCE · v2

The gap has its own curve: centered at 10 points, wider than either group alone.
Before you start
What you're looking at
A store's two checkout systems — 138 of 300 finish on the new one, 90 of 250 on the old — and then the gap between those rates, as a quantity of its own.
The question
Where is that gap centered, and how wide is it? The center is the easy half; the width is where the standard error goes wrong.
Step 1 / 12

Read all 12 steps as text
Step 1

Two checkout systems, and a ten-point gap

A store compares its two checkout systems: 138 of 300 customers finish on the new one and 90 of 250 on the old, so the sample proportions are 0.46 and 0.36 and the bracket between the bar ends is 10 percentage points wide.

Step 2

The gap is a quantity with its own curve

Stop treating the two proportions separately and make the difference itself the thing being studied: \(\hat{p}_1 - \hat{p}_2\) has a sampling distribution of its own, centered on the true difference \(p_1 - p_2\) because the mean of a difference is the difference of the means.

Step 3

Every outcome pair, and no formula at all

Shrink the study to 30 and 25 customers and every possible result fits on screen: 806 cells, one per pair of outcomes, each shaded by how likely that pair is. Compute the spread of the gap straight off this grid, and it lands on \(p_1q_1/n_1 + p_2q_2/n_2\) exactly.

Step 4

The variances add

Each group brings a variance — 0.000828 and 0.000922 — and the gap's variance is the two of them laid end to end, 0.001750, because independent errors have nothing to cancel against.

Step 5

The gap is wider than either group

Draw all three widths on one axis: group 1's own proportion has a standard deviation of 2.88 points, group 2's has 3.04, and the difference has 4.18 — 1.38 times the wider of the two, because both uncertainties entered and neither left.

Step 6

One shortcut returns nothing at all

Subtracting the variances puts \(-0.000094\) under the radical, and a variance is never negative — so this route does not give a wrong answer, it gives no answer, which is the clearest possible signal that a rule has been misused.

Step 7

One route too wide, one too narrow

Adding the two standard deviations gives 5.91 points, 1.41 times too wide; pooling the samples into 228 of 550 gives 2.10 points, half the truth — and 2.10 is smaller than either group's own spread, which the sanity check catches instantly.

Step 8

Four counts to check, not two

A two-sample procedure has two groups, and each needs both its successes and its failures at 10 or more: 138 and 162 for the new system, 90 and 160 for the old, with random samples and no link between them.

Step 9

The plus sign assumes independence

Measure the same 250 people on both systems and their two errors move together: at a correlation of 0.9 the gap's standard deviation is 1.33 points, not 4.18, so the formula overstates the uncertainty more than threefold and a matched-pairs procedure is what the design calls for.

Step 10

A question about the gap is a z-score

With the counts large the curve is close to normal, so the observed 10-point gap sits \(0.10 / 0.0418 = 2.39\) standard deviations above zero — and if the two systems really were equal, only 0.0084 of samples would produce a gap this large.

Step 11

Any answer under the floor lost a group

Put all four candidate standard errors on one lane against the floor a correct answer has to clear — 3.04 points, the wider group's own spread — and two of the four fail it on sight, with no arithmetic needed.

Step 12

Centre at the gap, spread from a sum

Three questions, three answers: the curve is centered on \(p_1 - p_2\), it is approximately normal once all four counts clear 10, and its spread is \(\sqrt{p_1q_1/n_1 + p_2q_2/n_2} = 0.0418\) — a radical over a sum, resting on two samples that are not linked.