Lesson 6.1 · Inference for Proportions
Confidence intervals for a proportion
A single sample proportion is almost never exactly right. In the last unit you learned how much wobbles from sample to sample; now you turn that knowledge around and use one sample to build a range of plausible values for the unknown population proportion .
From a point estimate to an interval
Suppose a random sample of 500 adults finds that 285 of them get most of their news from a phone. The point estimate is . It is our single best guess for , but a different sample would give a different number. Reporting "57%" alone hides that uncertainty.
A confidence interval fixes this by attaching a margin of error to the estimate:
The idea comes straight from the sampling distribution. When the conditions below are met, is approximately Normal with mean and standard deviation . About 95% of all samples produce a within 1.96 standard deviations of . So if you go 1.96 standard deviations out from your in both directions, you will capture for about 95% of samples.
Because is unknown, you cannot compute that standard deviation directly. You replace with and call the result the standard error:
One-sample z-interval for a proportion
Here is the critical value from the standard Normal distribution that leaves the stated confidence level in the middle, with in each tail. The quantity is the margin of error.
Critical values
You find from the standard Normal distribution. For a 95% interval, the middle 95% leaves 2.5% in each tail, so is the value with area 0.975 to its left. These are the values you will use most often:
| Confidence level | Tail area on each side | |
|---|---|---|
| 90% | 0.05 | 1.645 |
| 95% | 0.025 | 1.960 |
| 98% | 0.01 | 2.326 |
| 99% | 0.005 | 2.576 |
On a calculator, for 95%. A higher confidence level needs a larger , which makes the interval wider.
Conditions
Every AP inference procedure comes with conditions. For a one-sample -interval for , check all three and say why each is met.
- Random: the data come from a random sample from the population of interest (or a randomized experiment).
- 10% condition: when sampling without replacement, , so that observations are approximately independent.
- Large Counts: and . In words, at least 10 successes and 10 failures in the sample. This makes the sampling distribution of approximately Normal.
For a confidence interval you check Large Counts with the observed counts of successes and failures, because you do not know .
The four-step process
AP free-response questions reward a complete, organized answer. Use State, Plan, Do, Conclude.
- State: name the parameter in context and the confidence level.
- Plan: name the procedure and check the conditions.
- Do: compute the interval.
- Conclude: interpret the interval in context.
Worked example: A complete 95% interval
A random sample of 500 adults from a large city finds that 285 get most of their news from a phone. Construct and interpret a 95% confidence interval for the proportion of all adults in the city who get most of their news from a phone.
State: We want to estimate , the proportion of all adults in the city who get most of their news from a phone, with 95% confidence.
Plan: One-sample -interval for .
- Random: the adults were a random sample.
- 10%: 500 is less than 10% of all adults in a large city.
- Large Counts: successes and failures.
Do: and
Conclude: We are 95% confident that the interval from 0.527 to 0.613 captures the true proportion of all adults in this city who get most of their news from a phone.
What "95% confident" means
The confidence level describes the method, not one particular interval. If you took many random samples of the same size and built a 95% interval from each, about 95% of those intervals would capture . Your one interval either contains or it does not; you just don't know which.
Common mistake
Never say "there is a 95% probability that is between 0.527 and 0.613." The parameter is a fixed number, not a random one. Say instead that you are 95% confident the interval captures , or that 95% of intervals built this way capture . Also avoid saying 95% of sample proportions fall in the interval.
What controls the margin of error
The margin of error gets:
- larger when the confidence level goes up (bigger ),
- smaller when the sample size goes up (bigger in the denominator).
Because sits under a square root, you must quadruple the sample size to cut the margin of error in half. Note that the margin of error only accounts for sampling variability. It does nothing to protect you from bias such as undercoverage or nonresponse.
Worked example: Changing the confidence level
In a random sample of 1,200 teens, 372 say they have used a budgeting app. Compare the 90% and 99% confidence intervals for the true proportion.
and .
- 90%: , giving .
- 99%: , giving .
The 99% interval is wider. More confidence costs you precision.
Choosing a sample size
Before collecting data, you can choose to guarantee a desired margin of error . Solve
where is a guess for from a past study. If you have no guess, use , which gives the largest possible value of and so the safest (largest) . Always round up.
Worked example: How many to survey
A school newspaper wants a 95% confidence interval for the proportion of students who support a later start time, with a margin of error of at most 3 percentage points. How many students should they survey?
With no prior estimate, use :
Round up: they need at least 1,068 students. Rounding down to 1,067 would give a margin of error slightly larger than 0.03.
Tip
If a problem gives you an interval such as , the point estimate is the midpoint and the margin of error is half the width: and .
Practice
Find the critical value for a 98% confidence interval. Round to three decimal places.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A random sample of 400 registered voters in a large county finds that 132 plan to vote by mail. Assume the conditions are met. Find the endpoints of a 95% confidence interval for the proportion of all registered voters in the county who plan to vote by mail. Give both endpoints, rounded to three decimal places.
Separate answers with commas, e.g. 2, -5
In a random sample of 250 customers, 160 said they would recommend a store to a friend. Find the margin of error for a 99% confidence interval for the true proportion of customers who would recommend the store. Round to three decimal places.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A random sample of students produced the 90% confidence interval for the proportion of students at a university who work a part-time job. Which is a correct interpretation of the confidence level?
A quality inspector takes a random sample of 150 light bulbs from a shipment of 20,000 and finds 7 defective bulbs. She wants to build a 95% -interval for the proportion of defective bulbs in the shipment. Which condition is not met?
A news report gives a 95% confidence interval of for the proportion of residents who support a new transit tax. What was the sample proportion ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A previous study estimated that about 20% of adults in a region have tried a meal-kit service. How large a random sample is needed to estimate this proportion within 0.04 with 90% confidence?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A researcher computes a 95% confidence interval for a proportion from a random sample of 300 people. Which change would produce a narrower interval, assuming stays about the same?