Topic 3.10 Notes – Constructing a Confidence Interval for the Difference Between Two Population Proportions
What a Two-Proportion z-Interval Estimates
A two-proportion -interval estimates the difference between two population proportions.
The parameter is
where and are the true proportions of successes in group 1 and group 2.
That means you need:
- a categorical response variable
- exactly two outcomes, or a way to turn it into success/failure
- two independent groups being compared on that same response
The point estimate comes from the samples:
- estimated difference
What you must define in context:
- the success category
(example: “plans to attend a four-year college”) - who group 1 and group 2 are
(example: District A seniors and District B seniors) - the order of subtraction
(example: District A minus District B)
If your estimate or interval is:
- positive, group 1 likely has the higher proportion
- negative, group 2 likely has the higher proportion
Reversing the order flips the sign but keeps the same width.
This method fits two independent groups only. It does not fit:
- one proportion
- matched pairs or repeated measures
- multi-category distribution comparisons like chi-square
Conditions for a Two-Proportion z-Interval
You need the same three-condition logic you’ve used before, but checked for both groups.
Randomization
The data should come from:
- two independent random samples, or
- a randomized experiment with two treatment groups
You have to justify this from the description. You cannot just assume randomness because the problem wants a confidence interval.
The groups also must be independent of each other. If the same people are measured twice, this is not the right procedure.
10% condition
For sampling without replacement, check each sample separately:
This condition is not needed for randomized experiments.
Normality condition
All four observed counts must be at least 10:
Same idea, written as counts:
- ,
- ,
These are observed counts, not expected counts from a hypothesis test.
Building the Interval
Here’s the full build. For a confidence interval, you keep the middle area and split the remaining area evenly into the two tails.
Identify the procedure
Two-sample -interval forCompute sample proportions
Compute the point estimate
Compute the standard error
Choose
- 90% → 1.645
- 95% → 1.96
- 99% → 2.576
Compute margin of error
Build the interval
Quick example with :
- point estimate
For 95% confidence, use the middle 95% of the normal curve, which gives . The interval is centered at 0.20 using the SE formula above. On a calculator, use 2-PropZInt with , and the confidence level.
What the Formula Is Doing
Every confidence interval is point estimate ± margin of error.
Here, the center is the observed difference . Even though you are subtracting proportions, the variability adds through the variances, which is why both terms appear with a plus sign inside the square root.
The width changes in predictable ways:
- higher confidence level → bigger → wider interval
- larger sample sizes → smaller SE → narrower interval
One of the biggest AP traps is pooling. For a confidence interval, you do not combine the proportions. You use and separately because you are estimating an unknown difference, not assuming .
Report differences as proportions or percentage points. A difference of means 8 percentage points.
Common Mistakes and Exam Traps
- Parameter vs statistic gets mixed up a lot. The parameter is . The point estimate is .
- Order problems cost points fast. Your parameter, arithmetic, interval, and interpretation all need the same group 1 minus group 2 order.
- Pooled belongs to a two-proportion significance test, not this interval.
- All four counts must be checked. A large total sample size does not fix one group having too few successes or failures.
- Observed counts are the ones used here. Do not switch to expected counts from hypothesis testing.
- Dependent groups mean wrong method. Paired data needs a different procedure.
- Early rounding can change endpoints. Keep calculator values as long as possible.
- Context matters on AP Stats. Name the success, both groups, and the subtraction order in words.
Key Takeaways
Two-Sample Z-Interval for a Difference Between Population Proportions / Two-Proportion Z-Interval
Confidence interval procedure for estimating p1 - p2 from two independent groups for the same binary response
p1 - p2
Parameter: the true difference in population proportions of success, defined as group 1 minus group 2 in context
p̂1 - p̂2
Point estimate for p1 - p2; the observed difference between the two sample proportions
Randomization Condition
Data come from two independent random samples or from a randomized experiment with randomly assigned treatments; the two groups must be independent
10% Condition
When sampling without replacement, n1 ≤ 0.10N1 and n2 ≤ 0.10N2; not needed for a randomized experiment
Normality Condition
All four observed counts are at least 10: n1p̂1, n1(1-p̂1), n2p̂2, and n2(1-p̂2); these are observed counts, not expected counts
Standard Error for p̂1 - p̂2
SE = sqrt(p̂1(1-p̂1)/n1 + p̂2(1-p̂2)/n2)
Margin of Error for a Difference Between Two Proportions
MOE = z*sqrt(p̂1(1-p̂1)/n1 + p̂2(1-p̂2)/n2)
Confidence Interval Formula for p1 - p2
(p̂1 - p̂2) ± z*sqrt(p̂1(1-p̂1)/n1 + p̂2(1-p̂2)/n2)
Unpooled Standard Error
For a confidence interval, use p̂1 and p̂2 separately in the SE; do not combine them into one pooled proportion
Order of Subtraction
Group 1 minus group 2 must stay consistent in the parameter, point estimate, formula, interval, and context; reversing order changes only the sign
z*
Standard normal critical value for the chosen confidence level; -z* and z* enclose the middle C proportion of the distribution
Common z* Values
90%: 1.645, 95%: 1.96, 99%: 2.576
2-PropZInt
Calculator command for a two-proportion z-interval; inputs: x1, n1, x2, n2, and confidence level
Parameter Definition in Context for p1 - p2
Identify the success category, both populations or treatments, and the order of subtraction; p1 - p2 is group 1 minus group 2
Notes
Two-Sample Z-Interval for a Difference Between Population Proportions / Two-Proportion Z-Interval
Confidence interval procedure for estimating p1 - p2 from two independent groups for the same binary response
p1 - p2
Parameter: the true difference in population proportions of success, defined as group 1 minus group 2 in context
p̂1 - p̂2
Point estimate for p1 - p2; the observed difference between the two sample proportions
Randomization Condition
Data come from two independent random samples or from a randomized experiment with randomly assigned treatments; the two groups must be independent
10% Condition
When sampling without replacement, n1 ≤ 0.10N1 and n2 ≤ 0.10N2; not needed for a randomized experiment
Normality Condition
All four observed counts are at least 10: n1p̂1, n1(1-p̂1), n2p̂2, and n2(1-p̂2); these are observed counts, not expected counts
Standard Error for p̂1 - p̂2
SE = sqrt(p̂1(1-p̂1)/n1 + p̂2(1-p̂2)/n2)
Margin of Error for a Difference Between Two Proportions
MOE = z*sqrt(p̂1(1-p̂1)/n1 + p̂2(1-p̂2)/n2)
Confidence Interval Formula for p1 - p2
(p̂1 - p̂2) ± z*sqrt(p̂1(1-p̂1)/n1 + p̂2(1-p̂2)/n2)
Unpooled Standard Error
For a confidence interval, use p̂1 and p̂2 separately in the SE; do not combine them into one pooled proportion
Order of Subtraction
Group 1 minus group 2 must stay consistent in the parameter, point estimate, formula, interval, and context; reversing order changes only the sign
z*
Standard normal critical value for the chosen confidence level; -z* and z* enclose the middle C proportion of the distribution
Common z* Values
90%: 1.645, 95%: 1.96, 99%: 2.576
2-PropZInt
Calculator command for a two-proportion z-interval; inputs: x1, n1, x2, n2, and confidence level
Parameter Definition in Context for p1 - p2
Identify the success category, both populations or treatments, and the order of subtraction; p1 - p2 is group 1 minus group 2