Confidence Interval for a Population Proportion
A sample proportion is a good guess for a population proportion, but it’s almost never exactly right. A confidence interval turns that single guess into a range of plausible values, together with an honest statement of how reliable the method is. This is the first full inference procedure in AP Statistics, and the same structure (conditions, calculation, interpretation in context) returns in every interval you’ll build later.
Key ideas
Section titled “Key ideas”Estimate plus or minus margin of error
Section titled “Estimate plus or minus margin of error”Every confidence interval in AP Statistics has the same form:
For a population proportion , the point estimate is the sample proportion . The procedure is called a one-sample z-interval for a population proportion:
The standard error
Section titled “The standard error”In the sampling distribution of p̂, the standard deviation is . When you’re building an interval, is exactly what you don’t know, so you replace it with . The result is the standard error:
The standard error estimates the typical distance between and in repeated random samples of size . The margin of error is times the standard error. It’s half the width of the interval.
Critical values
Section titled “Critical values”The critical value marks off the middle of the standard normal distribution, where is the confidence level. The most common ones:
| Confidence level | |||
|---|---|---|---|
For any other level, the area to the left of is plus half of what’s left over. On a TI-84, invNorm((1 + C)/2). For confidence, that’s invNorm(0.96) .
The conditions
Section titled “The conditions”| Condition | What to check |
|---|---|
| Random | The data come from a random sample from the population of interest. |
| 10% | When sampling without replacement, of the population. |
| Large Counts | The observed numbers of successes and failures, and , are both at least . |
For an interval you check Large Counts with the observed counts, because is unknown. (For a significance test you’ll use the hypothesized value instead; see the test for a proportion.)
Interpreting the interval and the confidence level
Section titled “Interpreting the interval and the confidence level”These are two different sentences, and the AP exam often asks for both.
- The interval: “We are confident that the interval from to captures the true proportion of all Alberta teens who get less than hours of sleep on school nights.” Always name the parameter, the population, and the context.
- The confidence level: “If we took many random samples of Alberta teens and built a interval from each, about of those intervals would capture the true proportion.” The confidence level describes the method, not one particular interval.
Once you’ve built an interval, it either contains or it doesn’t. You just don’t know which. That’s why you say “confident”, not “there’s a probability”.
Using an interval to judge a claim
Section titled “Using an interval to judge a claim”A confidence interval gives the plausible values of . To judge a claim about :
- If the claimed value is outside the interval, the data give convincing evidence against the claim.
- If the claimed value is inside the interval, it’s plausible. That doesn’t prove the claim; other values in the interval are plausible too.
What changes the width
Section titled “What changes the width”- Higher confidence → wider interval. A bigger means a bigger margin of error.
- Bigger sample → narrower interval. The width is roughly proportional to , so you need about four times the sample size to halve the margin of error.
Choosing a sample size
Section titled “Choosing a sample size”To get a margin of error of at most , solve for :
Use a guess for from an earlier study. With no guess, use , which gives the largest (safest) sample size. Always round up.
On the AP exam
Section titled “On the AP exam”The formula sheet gives the general form and . A complete answer has four parts:
- State: the parameter (in context) and the confidence level.
- Plan: name the procedure (one-sample z-interval for ) and check the three conditions with numbers.
- Do: calculate the interval (show the formula with numbers substituted;
1-PropZInton a TI-84 is a good check). - Conclude: interpret the interval in context.
Worked examples
Section titled “Worked examples”Example 1: Critical values
Section titled “Example 1: Critical values”Find for (a) confidence and (b) confidence.
Solution.
(a) The middle leaves in each tail, so has area to its left: .
(b) The middle leaves in each tail, so has area to its left: invNorm(0.96) .
Example 2: Building and interpreting an interval
Section titled “Example 2: Building and interpreting an interval”A health researcher surveys a random sample of Alberta teens. Of them, say they usually get less than hours of sleep on school nights.
- (a) Construct and interpret a confidence interval for the proportion of all Alberta teens who usually get less than hours of sleep on school nights.
- (b) Interpret the confidence level.
Solution.
(a) State. Let be the true proportion of all Alberta teens who usually get less than hours of sleep on school nights. We’ll estimate with confidence.
Plan. One-sample z-interval for .
- Random: a random sample of Alberta teens.
- 10%: is less than of all Alberta teens (there are well over ).
- Large Counts: successes and failures, both at least .
Do. .
Conclude. We are confident that the interval from to captures the true proportion of all Alberta teens who usually get less than hours of sleep on school nights.
(b) If we took many random samples of Alberta teens and built a confidence interval from each, about of those intervals would capture the true proportion of Alberta teens who get less than hours of sleep.
Example 3: Does the interval support a claim?
Section titled “Example 3: Does the interval support a claim?”Use the interval from Example 2.
- (a) A newspaper says that “a majority of Alberta teens” get less than hours of sleep on school nights. Does the interval support this?
- (b) A school board says two-thirds of teens get less than hours. Is that plausible?
Solution.
(a) Yes. Every value in the interval is greater than , so the interval gives convincing evidence that more than half of Alberta teens get less than hours of sleep.
(b) Two-thirds is , which is above the interval. So is not a plausible value for : the data give convincing evidence that the proportion is less than two-thirds.
Example 4: How big a sample?
Section titled “Example 4: How big a sample?”A city wants to estimate the proportion of residents who support a new bike lane, with confidence and a margin of error of at most percentage points.
- (a) How many residents should it survey if it has no idea what the proportion will be?
- (b) How many if a similar city found about support?
Solution.
(a) Use :
Round up: survey at least residents.
(b) Use :
Round up: survey at least residents. A good prior guess can save a lot of surveying, but if the guess is wrong (true support turns out near ), the margin of error will be bigger than planned.
Common mistakes
Section titled “Common mistakes”Saying there’s a 95% probability that p is in the interval. Once the interval is calculated, is either in it or not. The describes how often the method works in repeated sampling. Say “we are confident that the interval captures ”.
Interpreting the interval as describing individuals. ” of teens sleep between and ” makes no sense. The interval is about the population proportion, not about individuals or the sample.
Making the interval about p̂. You already know exactly; it’s always in the middle of its own interval. The interval estimates the unknown parameter .
Checking Large Counts with a guessed p. For an interval, use the observed successes and failures ( and ), which are just the counts in your sample.
Thinking higher confidence gives a narrower interval. It’s the opposite: to be more confident you capture , you need a wider net.
Forgetting that the margin of error ignores bias. The margin of error only covers random sampling variability. A biased sample (undercoverage, non-response, leading questions) can be far off no matter how small the margin of error is.
Practice
Section titled “Practice”1. (Warm-up) Find for (a) , (b) , and (c) confidence.
Solution
(a) Area to the left : .
(b) Area to the left : .
(c) Area to the left : .
2. (Warm-up) In a random sample of customers, bought a hot drink. Find the standard error and the margin of error for a confidence interval for .
Solution
.
3. (Warm-up) A confidence interval for a proportion is . Find the sample proportion and the margin of error.
Solution
The sample proportion is the midpoint: . The margin of error is half the width: .
4. (Core) A coffee chain takes a random sample of of its recent transactions from across the country. Of these, were paid with the chain’s mobile app. Construct and interpret a confidence interval for the proportion of all its transactions paid with the app.
Solution
State. = the true proportion of all the chain’s transactions paid with the mobile app; confidence.
Plan. One-sample z-interval for . Random: random sample of transactions. 10%: is far less than of all the chain’s transactions. Large Counts: successes and failures, both at least .
Do. .
Conclude. We are confident that the interval from to captures the true proportion of all the chain’s transactions that are paid with the mobile app.
5. (Core) A confidence interval for the proportion of Saskatchewan farms that use drone imaging is , based on a random sample of farms. Interpret (a) the interval and (b) the confidence level.
Solution
(a) We are confident that the interval from to captures the true proportion of all Saskatchewan farms that use drone imaging.
(b) If we took many random samples of the same size from Saskatchewan farms and built a confidence interval from each, about of the intervals would capture the true proportion of farms that use drone imaging.
6. (Core) A town council claims that at least of households compost their food waste. A random sample gives a confidence interval of for the proportion of households that compost. Does the interval support the council’s claim? Explain.
Solution
No. Every plausible value in the interval is below , so (and anything above it) is not a plausible value for . The interval gives convincing evidence that fewer than of households compost.
7. (Core) A pollster wants a confidence interval with a margin of error of at most . A pilot study suggests is about . How large a sample does she need?
Solution
Round up: at least people.
8. (Challenge) A random sample of voters gives and a margin of error of .
- (a) Without recomputing from scratch, estimate the margin of error if the sample had been voters (with the same ).
- (b) Estimate the margin of error for the original sample of .
- (c) The pollster says: “To halve the margin of error, I’ll double the sample size.” Is she right?
Solution
(a) is times , so the standard error is divided by : . (Check: .)
(b) Only changes: . (Directly: ; the small difference is from rounding .)
(c) No. Doubling divides the margin of error by , so it only shrinks to about of its size. To halve it, she needs four times the sample, voters.
9. (Challenge) A student wants a confidence interval for the proportion of students at her school of who have visited the Yukon. She surveys a random sample of students, and have been. Which conditions fail, and why does each matter?
Solution
- 10%: of is , and . The observations aren’t close enough to independent, so the standard error formula overstates the variability.
- Large Counts: only successes, which is less than . The sampling distribution of is likely skewed right, so using from the normal distribution isn’t justified, and the "" may not be accurate.
The Random condition is met (a random sample). She should either sample differently or use a method not based on the normal model.
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Check every condition with numbers and in context, and interpret your answers in context. Homework solutions are not provided on the published site.
All data in these questions are hypothetical.
Foundations
Section titled “Foundations”H1. (Foundations) Find for (a) confidence and (b) confidence. Show how you found each one.
H2. (Foundations) A transit authority takes a random sample of of the riders who used a new rapid bus route last month. Of these, said they would recommend the route.
- (a) Define the parameter in context.
- (b) Check the conditions for a one-sample z-interval for .
H3. (Core) In a random sample of Canadian adults, said they would prefer to stop changing the clocks twice a year. Construct and interpret a confidence interval for the proportion of all Canadian adults who would prefer this.
H4. (Core) A survey produces a confidence interval of for the proportion of Canadian adults who would prefer to stop changing the clocks. For each statement, say whether it is a correct interpretation, and explain.
- (a) “There is a probability that the true proportion is between and .”
- (b) “About of Canadian adults are between and in favour.”
- (c) “If many random samples of the same size were taken, about of the resulting intervals would capture the true proportion.”
- (d) “We are confident that between and of the people in the sample would prefer this.”
H5. (Core) Use the interval from H4.
- (a) A politician says a majority of Canadian adults would prefer to stop changing the clocks. Is this supported? Explain.
- (b) A columnist says two out of three Canadian adults would prefer it. Is this plausible? Explain.
H6. (Core) A province wants to estimate the proportion of drivers who use a phone while driving, with confidence and a margin of error of at most . It has no earlier estimate. Using , how many drivers must it observe?
Challenge
Section titled “Challenge”H7. (Challenge) A calculator reports a confidence interval of for a proportion, from a random sample of .
- (a) Find , the margin of error, and the number of successes.
- (b) Find the confidence level that was used.
H8. (Challenge) From one random sample, a researcher builds a confidence interval of for a proportion.
- (a) Find the and confidence intervals from the same sample.
- (b) Estimate the sample size.
- (c) Which of the three intervals give convincing evidence that ?
H9. (Challenge) A class of students each take their own random sample and build a confidence interval for the same population proportion.
- (a) How many of the intervals would you expect to miss ?
- (b) Assuming the samples are independent, find the probability that all intervals capture .
- (c) A student says: “My interval captured with probability , so after seeing it, I know there’s a chance is inside.” Explain the flaw.
H10. (Challenge) A city of households wants to estimate the proportion that would sign up for a green-bin program, with confidence and a margin of error of at most percentage points. A pilot survey suggests about would sign up.
- (a) How many households should it survey?
- (b) Is the 10% condition likely to be met? Explain.
- (c) The city plans to post the survey on its website and use whoever responds. Explain why a large number of responses wouldn’t make the margin of error a fair summary of the error in the estimate.