Skip to content

Confidence intervals for a difference in population proportions

Construct and interpret a two-sample z-interval for a difference in population proportions.

It opens on

City A has 120 pass users among 300 teens; City B has 90 among 280. Is A’s population rate higher?

Why it matters

An AP Statistics response needs a justified procedure, accurate calculation, and conclusion in context.

Good to know first

  • Interpreting confidence intervals and confidence levels
  • sampling distributions of differences in sample proportions

Step by step

  1. Set up two groups

    State the population difference in order and check conditions for an interval.

    The sample gap is p̂_A − p̂_B = 0.400 − 90/280 ≈ 0.079.

    A common mix-up

    The sample gap 0.079 is the population gap.

    In fact: pA − pB remains unknown.

  2. Build the interval

    Calculate a 95% two-sample z-interval using separate variance terms.

    City SE = √[0.400(0.600)/300 + (9/28)(19/28)/280] ≈ 0.039736.

    A common mix-up

    Pool the proportions for an interval.

    In fact: Each group contributes its own observed proportion to SE.

  3. Read the interval

    Interpret endpoints, zero, direction, and the scope of a conclusion.

    We are 95% confident (0.0007, 0.1565) captures the true A-minus-B transit-pass-use proportion difference.

    A common mix-up

    Zero inside proves equal rates.

    In fact: The interval can also contain plausible nonzero differences.

Try it

If City A has only 2,500 teens, which check fails?Answer

10%: 300 > 250 (hint: find 10% of 2,500).

Using the city samples and z* = 1.645, find the 90% interval.Answer

(0.013, 0.144) (hint: change only z*).

Does (−0.02, 0.10) prove equal rates?Answer

No; zero and nonzero differences are plausible (hint: mark 0.05).

Which sample rate is higher, and does that establish population superiority?Answer

A’s; no.

Write the drug-minus-placebo 95% interval line.Answer

0.10 ± 1.96(0.049666) ≈ (0.0027, 0.1973).

Confidence intervals for a difference in population proportions

30 minutes every month. No card.