All AP Courses AP StatisticsAP Stats

Practice

Comparing two proportions

The difference in sample proportions, its standard error for an interval, the pooled proportion and the two-sample z statistic.

The skill

Comparing two groups starts with p^1−p^2. For a test of H0:p1=p2, the null hypothesis says the two proportions are equal, so combine both groups into one pooled proportion p^c and use it in both parts of the standard error. A confidence interval does not assume the proportions are equal, so it uses each sample's own p^. Mixing those up is the usual error. Keep the order of subtraction the same from the hypotheses to the conclusion.

A worked example

In a randomized experiment, 102 of 150 students who used the new study app and 156 of 200 students who did not passed the unit test.

Find the test statistic for H₀: p₁ = p₂ (it uses the pooled proportion). Round to two decimal places.

Solution

  1. p^1=102150≈0.6800 and p^2=156200≈0.7800, a difference of −0.1000.
  2. For a test: pool, p^C=258350≈0.7371, so SE = 0.0475 and z≈−2.11.

Answer: −2.11

Your turn

Lessons behind these problems