Significance tests for a difference in population proportions
Set up a two-proportion z-test, check its conditions, and conclude with appropriate scope.
It opens on
Is 12% versus 21% strong evidence that the vaccine reduces infection?
Why it matters
Different sample percentages may arise even when population proportions are equal.
Good to know first
- Carrying out and concluding a test for a population proportion: z = (p̂ − p₀)/SD, then compare the p-value with α. Confidence intervals for a difference in population proportions: p̂₁ − p̂₂ estimates p₁ − p₂
Step by step
Set up
Define the proportions, state hypotheses, and combine outcomes under the no-difference claim.
Sample shares are outcome counts divided by group sizes: p̂_V=24/200=0.12; p̂_P=42/200=0.21.
A common mix-up
Pool for an interval too.
In fact: An interval does not assume equal proportions; it uses separate sample shares.
z and tails
Calculate the pooled test statistic and choose a p-value matching the alternative.
Vaccine SE₀=√[0.165(0.835)(1/200+1/200)]≈0.03712.
A common mix-up
Use separate rates in the test standard error.
In fact: H₀ specifies one rate, estimated by p̂_c.
Check scope
Verify test conditions and draw a conclusion justified by the study design.
Vaccine and placebo each have expected counts 200(0.165)=33 infections and 200(0.835)=167 noninfections.
A common mix-up
Significance always proves causation.
In fact: A small p-value cannot replace random assignment.
Try it
Change vaccinated infections to 30/200; placebo stays 42/200. State Hₐ and pool.Answer
Hₐ: pV<pP; p̂_c=72/400=0.18 (hint: combine infection counts).
Change vaccinated infections to 32/200; placebo stays 42/200. Find z and the left-tail p-value.Answer
p̂_c=0.185; z≈−1.29; p≈0.099 (hint: repool before calculating SE₀).
For urban/rural, use α=0.10 and assume both 10% checks hold. Conclude.Answer
Reject H₀; evidence the population shares differ, not that location causes use (hint: compare 0.067 with 0.10).
If vaccination reduces infection, is pV−pP positive or negative?Answer
Negative.
Write urban minus rural z and its two-tail p-value.Answer
z=(0.39−114/350)/0.03513≈1.83; p≈0.067.
Significance tests for a difference in population proportions
30 minutes every month. No card.
