Skip to content
AP Statistics · Inference for Categorical Data: Proportions

Two proportion z interval

Two proportion z interval appears in 7 reviewed AP Statistics questions and sits in Inference for Categorical Data: Proportions. Below are worked examples showing exactly how the exam tests it, with the answer marked and every distractor explained.

How Two proportion z interval is tested

Example 1Medium
A researcher took independent random samples of 200 adults from each of two hypothetical towns. In Town 1, 50% of those sampled supported a new park, and in Town 2, 42% did. From these data, she built a 95% confidence interval for p1 - p2, the difference in the population proportions who support the park. Suppose she had instead sampled 800 adults from each town, got the same sample proportions, and built a 99% confidence interval. Compared with the original interval, the new interval would be
  1. AExactly half as wide as the original interval
  2. BAbout two-thirds as wide as the originalCorrect
  3. CAbout one-third as wide as the original interval
  4. DAbout 1.3 times as wide as the original interval

Why B is right

The width is 2 * z* * sqrt(p-hat1(1-p-hat1)/n1 + p-hat2(1-p-hat2)/n2). With the same sample proportions, making each n four times larger divides the standard error by sqrt(4) = 2. With these data the original standard error is sqrt(0.25/200 + 0.2436/200), about 0.0497, so the 95% margin of error is 1.96(0.0497), about 0.097. The new standard error is about 0.0248, and the 99% margin of error is 2.576(0.0248), about 0.064. That makes the ratio (2.576/1.96)(1/2), about 0.66, or roughly two-thirds as wide.
Why the other 3 choices miss
A
Gets the sample-size effect right (four times the n halves the standard error) but ignores that moving from 95% to 99% raises z* from 1.96 to 2.576, which widens the interval by a factor of about 1.31.
C
Assumes the margin of error shrinks in proportion to n instead of sqrt(n). Dividing by 4 and then multiplying by 1.31 gives about 0.33, but quadrupling n only halves the standard error.
D
Accounts for the larger z* at 99% confidence but assumes the standard error stays the same because the sample proportions did not change. The standard error depends on n as well as on p-hat.

Studied alongside

Other concepts from Inference for Categorical Data: Proportions.