Topic 6.11 Notes – Carrying Out a Test for the Difference of Two Population Proportions
1. What a Two-Proportion z-Test Is
A two-proportion z-test compares two independent population proportions to see if there’s convincing evidence they are different.
- Parameter of interest:
where
= true proportion in Population 1
= true proportion in Population 2
The null hypothesis usually says there is no difference:
This test uses a normal model to approximate the sampling distribution of , assuming the null is true.
You use this when:
- The response variable is categorical (success/failure).
- You have two independent groups.
- You want to test a difference, not estimate it (that would be a confidence interval).
2. Hypotheses and Conditions
Writing Hypotheses in Context
Always define parameters in words.
Example structure:
- = true proportion of registered voters in City A who support the policy
- = true proportion of registered voters in City B who support the policy
Then:
Be clear which group is 1 and which is 2. Order matters for interpretation.
Conditions for Using the Test
You need all of these:
- Random
- Random sample or random assignment is stated.
- Independent Groups
- The two groups are separate.
- Not matched pairs.
- Independence Within Groups
- 10% condition: each sample is less than 10% of its population (if sampling without replacement).
- Large Counts Condition
Because we assume under , we use a pooled proportion when checking counts.
3. Calculating the Test Statistic
Here’s the structure. Everything comes from the general test statistic formula:
Step 1: Sample Proportions
Step 2: Pooled Proportion
Under , we assume the proportions are equal, so we combine successes:
This estimates the common population proportion.
Step 3: Standard Error (Pooled)
Notice this uses pooled data. That’s specific to hypothesis tests.
Step 4: z Test Statistic
The “− 0” comes from .
A large positive or negative means the observed difference is far from what we’d expect if the proportions were equal.
On your calculator, this is 2-PropZTest. You must record:
- the z-value
- the p-value
On an FRQ, forgetting to report z often costs a point.
4. Interpreting the P-Value and Making a Decision
What the P-Value Means
In context, it should sound like this:
The probability of observing a difference in sample proportions at least as extreme as the one found, assuming the true population proportions are equal.
That “assuming the true proportions are equal” part is required for full credit.
Formal Decision Rule
Compare p-value to (often 0.05):
- If → Reject
- If → Fail to reject
Never say “accept .”
Writing a Conclusion in Context
Your conclusion must:
- State the decision.
- Answer the research question.
- Refer to population proportions, not sample data.
Example wording:
Since the p-value is less than 0.05, we reject . There is convincing statistical evidence that the true proportion of customers who prefer Brand A differs from the true proportion who prefer Brand B.
Notice it says true proportion and names the populations.
5. Common Mistakes
- Using the unpooled standard error for a test. Pooling is required under .
- Interpreting the p-value as the probability that is true.
- Forgetting to define and .
- Concluding about the sample instead of the populations.
- Using this test for matched pairs data.
A quick mental check before submitting:
Two groups? Categorical outcome? Pooled SE? z and p-value reported? Conclusion about population proportions?
Key Takeaways
Two-Proportion Z-Test
A significance test comparing two population proportions using a standard normal test statistic.
Test Statistic for Difference of Two Proportions
z = (p̂1 - p̂2) divided by the pooled standard error, assuming p1 = p2.
Pooled Proportion
The combined sample proportion, p̂c = (x1 + x2) / (n1 + n2), used under the null.
P-Value in a Two-Proportion Test
The probability, assuming equal population proportions, of getting a difference at least this extreme.
Null and Alternative Hypotheses for Two Proportions
State H0: p1 = p2 or p1 - p2 = 0, with Ha showing the claimed difference.
Decision Rule Using Alpha
Reject H0 when p-value ≤ α; otherwise fail to reject H0.
Significance Level
The cutoff probability for deciding whether sample evidence is strong enough against the null hypothesis.
Conclusion in Context for Two Proportions
State whether evidence supports a difference between the two population proportions in the research setting.
P-Value Interpretation for Two Proportions
The chance, assuming equal population proportions, of getting a sample difference this extreme.
Notes
Two-Proportion Z-Test
A significance test comparing two population proportions using a standard normal test statistic.
Test Statistic for Difference of Two Proportions
z = (p̂1 - p̂2) divided by the pooled standard error, assuming p1 = p2.
Pooled Proportion
The combined sample proportion, p̂c = (x1 + x2) / (n1 + n2), used under the null.
P-Value in a Two-Proportion Test
The probability, assuming equal population proportions, of getting a difference at least this extreme.
Null and Alternative Hypotheses for Two Proportions
State H0: p1 = p2 or p1 - p2 = 0, with Ha showing the claimed difference.
Decision Rule Using Alpha
Reject H0 when p-value ≤ α; otherwise fail to reject H0.
Significance Level
The cutoff probability for deciding whether sample evidence is strong enough against the null hypothesis.
Conclusion in Context for Two Proportions
State whether evidence supports a difference between the two population proportions in the research setting.
P-Value Interpretation for Two Proportions
The chance, assuming equal population proportions, of getting a sample difference this extreme.