Setting Up a Test for the Difference Between Two Population Proportions
▶︎ Watch it animatedinteractive step-through · ~3 min · optionalA two-proportion test states $H_0: p_1 = p_2$, equivalently $p_1 - p_2 = 0$, against $H_a$ with $>$, $<$, or $\ne$, after both parameters are defined in context. Because the null says the two populations share one proportion, the test pools: $\hat{p}_c = \frac{x_1 + x_2}{n_1 + n_2} = \frac{228}{550} \approx 0.4145$, and $SE = \sqrt{\hat{p}_c(1-\hat{p}_c)\left(\frac{1}{n_1} + \frac{1}{n_2}\right)} \approx 0.0422$. The conditions are random selection or assignment, independence between groups, the 10% condition for each sample, and all four counts at least 10.
The hypotheses go wrong in three ways: two separate values assigned to $p_1$ and $p_2$ from the samples, hypotheses written about $\hat{p}_1$ and $\hat{p}_2$ which are already known and unequal, or a null set to the observed difference of 0.10, which is the evidence rather than the claim. The standard error goes wrong by keeping the groups separate, which is the interval's formula and contradicts the null the test assumes. And the design goes unchecked, so paired before-and-after measurements get run through machinery whose derivation requires independence.
The work
3 ways in · any order
Lesson
Setting Up a Test for the Difference Between Two Population Proportions
›
Sets up the two-proportion z-test: both parameters defined in context, a null of equality with no value named, the pooled proportion that the null's assumption licenses, all four counts checked, and the design question that decides whether the procedure applies at all.
Diagnostic
10-item topic check
›
Ten items on two-proportion setup: separate values assigned to each parameter, hypotheses about the sample proportions, nulls set to the observed difference, unpooled standard errors in tests, and paired designs. Take it cold to find your habit, or after the lesson to check it is gone.
Targeted Practice
Drill a single misconception
›
Pick one of the failure modes you missed and drill it on its own. The round is adaptive: two correct in a row clears it for now and moves you to the next. Two in a row is a checkpoint, not proof: if the error resurfaces later, the misconception comes back.