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 . For a test of , the null hypothesis says the two proportions are equal, so combine both groups into one pooled proportion 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 . 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
- and , a difference of −0.1000.
- For a test: pool, , so SE = 0.0475 and .
Answer: −2.11