AP Statistics · Study guide

Does the interval contain zero? The claimed gap?

AP® Statistics · Unit 3 · Inference for Categorical Data: Proportions

Using an Interval for a Difference in Proportions

How to interpret a confidence interval and confidence level for p₁ − p₂, and how to use the interval, especially whether it contains 0, to judge claims about the difference between two populations.

The idea in one paragraph

An interval for \(p_1 - p_2\) gives the plausible values for the true difference. Because it comes from samples, it may or may not capture that difference. The quickest use is to look for 0: if 0 is outside the interval, there is convincing evidence the proportions differ; if 0 is inside, “no difference” remains plausible.

1Interpreting the interval

Because the interval for the difference between two population proportions is calculated from samples, the computed interval may or may not contain the true difference. Interpreting a C% interval \((a, b)\): we are C% confident that the interval from \(a\) to \(b\) captures the true difference between the two population proportions, with details about the populations and the order of subtraction.

Worked Example 1 Interpret the interval

Sleep by grade

A 95% confidence interval for \(p_1 - p_2\), the difference between the proportions of all 10th graders and all 12th graders at a school who usually get at least 8 hours of sleep (10th minus 12th), is (0.032, 0.208). Interpret it.

  1. 1Name the level, the endpoints, and the parameter: a difference, with both populations and the order.
  2. 2Use “captures,” because the interval is the random part.
Answer: We are 95% confident that the interval from 0.032 to 0.208 captures the true difference in the proportions of 10th graders and 12th graders at the school who usually get at least 8 hours of sleep (10th minus 12th).
Say it like this

“We are 95% confident that the interval from 0.032 to 0.208 captures the true difference in the proportions of 10th graders and 12th graders at the school who usually get at least 8 hours of sleep (10th minus 12th).”

Common Mistake 1 · Leaving out the direction of the difference

“…captures the true difference in the proportions” is incomplete if the reader cannot tell which group is subtracted. A positive interval means group 1 is higher; with the order reversed, the same evidence would be a negative interval.

2The confidence level

The confidence level describes repeated sampling: with the same sample sizes from the same populations, approximately C% of the intervals created will capture the difference between the two population proportions.

Figure 1. Each pair of samples gives a different interval. In the long run about 95% of intervals built this way capture the true difference; here 24 of 25 did.
Worked Example 2 Interpret the confidence level

What 95% means here

Interpret the 95% confidence level for the sleep interval.

  1. 1The level describes the method, repeated with the same sample sizes from the same two populations.
Answer: If we took many pairs of random samples of 200 tenth graders and 220 twelfth graders and built a 95% interval from each pair, about 95% of those intervals would capture the true difference in proportions.

3Is 0 inside?

An interval for \(p_1 - p_2\) gives a range of plausible values for the difference. If the interval contains 0, there is not enough evidence to conclude that the two population proportions differ. If the interval does not contain 0, there is convincing evidence of a difference, and the interval’s sign shows which proportion is larger.

Figure 2. 0 means “no difference.” If the interval does not contain 0, there is convincing evidence of a difference between the two population proportions. If it contains 0, “no difference” is a plausible value, so the interval does not give convincing evidence of a difference.
Worked Example 3 Is there a difference?

Three intervals

For each 95% interval in Figure 2, does it give convincing evidence that the two population proportions differ?

  1. 1Sleep (0.032, 0.208): 0 is not in the interval. Every plausible difference is positive.
  2. 2Texts (0.048, 0.252): 0 is not in the interval. Every plausible difference is positive.
  3. 3Lunch from home (−0.050, 0.139): 0 is in the interval, so “no difference” is plausible.
Answer: Sleep and texts: yes, convincing evidence of a difference (and that the first group’s proportion is higher). Lunch from home: no convincing evidence of a difference.
Common Mistake 2 · Saying an interval that contains 0 proves there is no difference

The lunch interval (−0.050, 0.139) contains 0, but it also contains 0.10, a sizable difference. “No difference” is plausible, not proven. The right wording is “there is not convincing evidence of a difference.”

Common Mistake 3 · Claiming cause from two random samples

The sleep interval compares two grades sampled at random. It shows a difference between the populations, not that being in 10th grade causes more sleep. Only the texting interval, from a randomized experiment, supports a cause-and-effect conclusion, and then for students like those in the study.

4Claims about the size of the difference

The same logic works for any claimed value of \(p_1 - p_2\), not just 0. A claimed difference is plausible if it lies inside the interval. A claim like “more than 0.20” is supported only if every value in the interval is greater than 0.20.

Worked Example 4 A claim about the size of the difference

Texts raise turn-in by 20 points?

A teacher claims reminder texts raise the turn-in rate by more than 20 percentage points. The 90% interval for p(text) − p(no text) is (0.048, 0.252). Is the claim supported?

  1. 1The claim says the difference is greater than 0.20.
  2. 2The interval includes values above 0.20 (up to 0.252) but also many below it (down to 0.048).
  3. 3So differences smaller than 0.20 are plausible, and the interval does not support “more than 0.20.”
Answer: Not supported. The interval shows convincing evidence that texts help, but not that they help by more than 20 points.

Quick reference

The interval for p₁ − p₂Conclusion
Entirely above 0Convincing evidence that \(p_1 \gt p_2\)
Entirely below 0Convincing evidence that \(p_1 \lt p_2\)
Contains 0No convincing evidence of a difference (not proof of no difference)
Claimed value insideThat value is plausible