AP Statistics · Unit 3 · Inference for Categorical Data: Proportions
3.10 Interval for a difference of proportions
Calculate and interpret a confidence interval for the difference between two population proportions after checking the conditions.
1/5A confidence interval estimates the gap between two proportions
- A confidence interval estimates the gap between two proportions
- The standard error replaces unknown proportions with sample proportions
- Conditions must be checked before computing the interval
- The calculation takes four steps from counts to interval
- An interval is interpreted in context with its confidence level
- Check your recall
- Practice: 10 questions
Part 1 of 5: A confidence interval estimates the gap between two proportions
One sample difference rarely equals the true gap exactly. Another pair of samples would give a different value. A confidence interval offers a range of reasonable values for .
The two-proportion z-interval follows the pattern of every interval: statistic plus or minus margin of error. The statistic is . The margin of error is the distance from the center to either endpoint.
That distance is a critical value times the standard error. Both pieces come next. An interval is useful because it shows both the estimate and its uncertainty, which a single number cannot do.
Key term
two-proportion z-interval
A two-proportion z-interval is a confidence interval for built from two independent samples and a critical value from the standard normal distribution.
Part 2 of 5: The standard error replaces unknown proportions with sample proportions
The earlier standard deviation formula needs and , which are unknown. We substitute the sample proportions instead. The result is the standard error, an estimate of the statistic’s standard deviation.
Written out in full, the interval is .
The critical value comes from the standard normal distribution and depends on the confidence level. A higher confidence level needs a larger critical value. Each sample contributes one term under the root, and larger samples make their terms smaller.
Common critical values
- Confidence level
- 90%
- Critical value
- 1.645
- Confidence level
- 95%
- Critical value
- 1.96
- Confidence level
- 99%
- Critical value
- 2.576
Key terms · tap one for its definition
standard error
The standard error is the standard deviation of a statistic estimated from sample data, with sample proportions replacing the unknown population proportions.
critical value
The critical value is the standard normal value that captures the middle % of the distribution for a confidence level of %.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 3 of 5: Conditions must be checked before computing the interval
A formula returns a number even when the model does not fit. So check three conditions first.
- Random: each sample is random, or treatments were randomly assigned.
- Independent: each sample is less than 10% of its population, and the two samples are independent of each other.
- Large counts: each sample has at least 10 successes and at least 10 failures.
Check the counts with the observed data, because the true proportions are unknown. That means , , , and must all reach 10.
Part 4 of 5: The calculation takes four steps from counts to interval
Now put the formula to work on data. Follow the same steps each time. Check the conditions, find the statistic, find the standard error, then find the margin of error.
Worked example
A 95% interval for a difference of click proportions
- Counts: 120, 80, 90, and 110 are all at least 10, so the conditions are met.
- Statistic: and , so .
- Standard error: .
- Margin of error: . Interval: .
Answer: The 95% interval is approximately .
The order of subtraction sets the signs. Reversing the order would give , which carries the same information. Keep extra digits during the work and round only at the end. State the final interval with its endpoints in increasing order.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: D · Worked explanation
Part 5 of 5: An interval is interpreted in context with its confidence level
The final step is a sentence in context. A good interpretation names the confidence level, the endpoints, the two populations, and the order of subtraction.
For the example, write the following. We are 95% confident that the interval from 0.053 to 0.247 captures the true difference. The difference is between the proportions of all customers who would click, design A minus design B.
Every value in this interval is positive. So the plausible values say that design A has the larger click proportion.
Check your recall[13 marks]
6 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Identify[1 mark]
Identify the statistic that sits at the center of a confidence interval for .
Show mark schemeHide mark scheme
Model answer
The difference in sample proportions, .
- 1 mark for identifying as the center of the interval
- 2.Calculate[3 marks]
In a random sample of 150 adults from city A, 90 favor a recycling program. In an independent random sample of 150 adults from city B, 60 favor it. Each sample is less than 10% of its city. Calculate a 95% confidence interval for , where city A is group 1.
Show mark schemeHide mark scheme
Model answer
The statistic is . The standard error is . The margin of error is , so the interval is about .
- 1 mark for calculating the standard error as about 0.0566
- 1 mark for calculating the margin of error as about 0.111
- 1 mark for giving the interval as about
- 3.Determine[2 marks]
One random sample has 8 successes in 60 trials. An independent random sample has 35 successes in 70 trials. Determine whether the large counts condition for an interval is met.
Show mark schemeHide mark scheme
Model answer
The counts are 8 and 52 for the first sample, and 35 and 35 for the second. Since 8 is below 10, the condition is not met.
- 1 mark for computing the successes and failures in each sample correctly
- 1 mark for concluding the condition is not met because 8 is below 10
- 4.Interpret[3 marks]
Interpret the interval for in the context of the recycling program, where city A is group 1.
Show mark schemeHide mark scheme
Model answer
We are 95% confident that the interval from 0.089 to 0.311 captures the true difference in the proportions of all adults who favor the program, city A minus city B. Every plausible value is positive, so city A has the larger proportion.
- 1 mark for stating the confidence level and the interval endpoints
- 1 mark for stating that the interval captures the true difference in proportions of all adults favoring the program
- 1 mark for naming the order, city A minus city B, and noting that city A appears larger
- 5.Explain[2 marks]
Explain why the standard error uses and instead of and .
Show mark schemeHide mark scheme
Model answer
The population proportions and are unknown. The sample proportions estimate them, so they replace them to estimate the standard deviation.
- 1 mark for stating that and are unknown
- 1 mark for explaining that sample proportions are substituted to estimate the standard deviation
- 6.Predict[2 marks]
Predict how the width of an interval changes when the confidence level is raised from 95% to 99% with the same data.
Show mark schemeHide mark scheme
Model answer
The interval becomes wider, because the critical value rises from 1.96 to 2.576, which increases the margin of error.
- 1 mark for predicting that the interval becomes wider
- 1 mark for linking the change to a larger critical value and margin of error

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumIdentify[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumIdentify[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumIdentify[2 marks]
Show answer and explanation
Answer: D · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: C · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: D · Worked explanation