Educerie · AP · Statistics
AP Statistics 3.3
Constructing a Confidence Interval for a Population Proportion
How can a sample of a few hundred people tell us something reliable about thousands, and how sure can we be?
What you will learn
- Know that a one-sample z-interval for a population proportion is the procedure, with the parameter defined in context
- Understand that the interval conditions use the observed counts n p-hat and n(1-p-hat), each at least 10
- Know that the interval is p-hat plus or minus z star times the standard error, and that the margin of error is half its width
- Understand how to find the smallest sample size for a stated margin of error, using 0.5 when there is no estimate
You must be able to
- Name the procedure and define the parameter in context
- Verify the three conditions with numbers
- Calculate the standard error, the margin of error and the confidence interval
- Find the critical value z star for a given confidence level
- Calculate the sample size needed for a stated margin of error, rounding up
- Write the interpretation of an interval in context
In the exam. Section I multiple choice: name the correct procedure, pick the condition that must be checked, find a margin of error, or choose the sample size that gives a stated margin of error. Section II: Question 3 can ask for a full interval from start to finish, with the procedure named, conditions checked, the interval calculated and then interpreted. Skills: identify the method (2.C), calculate (3.E), justify by verifying conditions (4.E).
1Name the procedure and define the parameter
You are estimating one proportion from one sample. So the procedure is a one-sample -interval for a population proportion. Write that name in full. "z-interval" or "confidence interval" alone is incomplete.
Then define the parameter. A complete definition has three pieces: the proportion, the response variable and the population.
Example (invented). A city transport office takes a random sample of 250 adults living in a city of 90,000 and asks each whether they ride public transit at least once a week. In the sample, 85 say yes.
Parameter: = the proportion of all adults in the city who ride public transit at least once a week.
This definition has all three pieces. "p is the proportion" does not.
2Verify the conditions
You need three conditions. Check each one against the facts of the question, with numbers.
- Randomization. The data come from a random sample. Say what the question says: "a random sample of 250 adults was taken."
- 10% condition. When sampling without replacement, the population is at least 10 times the sample size. Here , and the city has 90,000 adults, so the condition is met.
- Normality. The number of successes and the number of failures in the sample are both at least 10.
For an interval you use the sample counts. The population proportion is unknown, so you cannot use it. This is different from a test, which uses the value in the null hypothesis (3.5).
Without the conditions, the -interval formula is not justified. A conditions check with no numbers earns little. The numbers prove you looked.
3The critical value
The critical value is the number of standard deviations you go out on each side of the estimate. It is chosen so that the middle of a standard normal curve lies between and .
In Figure 1 the shaded middle holds 95% of the area. Each tail holds 2.5%. So is the value with an area of 0.975 to its left.
| Confidence level | 90% | 95% | 99% |
|---|---|---|---|
| Critical value | 1.645 | 1.960 | 2.576 |
You can read them from the bottom row () of Table B, which lists for each confidence level, or from technology with an inverse normal. The higher the confidence, the larger , because the middle area is wider.
4The standard error and the margin of error
You do not know , so you cannot use . You replace with . The result is the standard error:
The standard error tells you the typical amount a sample proportion varies from the true population proportion.
The margin of error (MOE) is the critical value times the standard error.
The interval is the point estimate with the margin of error on each side:
5A full worked interval
Build a 95% confidence interval for the transit proportion, using the data above.
On a calculator, the "1-PropZInt" function gives the same interval. On the exam, you must still show the expression with your numbers. A bare "1-PropZInt" does not earn the calculation point unless its inputs (the count, and the level) are named.
Now finish with a sentence that interprets the interval (3.4 covers this in depth):
We are 95% confident that the interval from 0.281 to 0.399 captures the proportion of all adults in the city who ride public transit at least once a week.
Both the interval and the parameter are in the sentence, with the population and the variable.
6How the level changes the interval
Same data, different confidence levels. The standard error stays at 0.0300.
| Level | Margin of error | Interval | |
|---|---|---|---|
| 90% | 1.645 | 0.049 | (0.291, 0.389) |
| 95% | 1.960 | 0.059 | (0.281, 0.399) |
| 99% | 2.576 | 0.077 | (0.263, 0.417) |
A higher level gives a larger , a larger margin of error and a wider interval. You pay for more confidence with less precision. Topic 3.4 develops this.
7Choosing the sample size
Planners often want a stated margin of error before they collect data. Solve the margin of error formula for :
Which do you use? Use a good guess if you have one, for example from an earlier study. If you have none, use . That gives the largest possible , 0.25, so the sample is big enough for any true proportion.
Example. The transport office wants a 95% interval with a margin of error of at most 0.03. It has no earlier estimate.
Always round up. Rounding down gives a margin of error that is slightly too big. So the office needs .
If the earlier sample estimate of 0.34 is trusted:
Using the earlier estimate needs fewer people. That is the reward for having one.
8The whole answer in order
A full response to an interval question has five parts, in this order.
- Name the procedure: a one-sample -interval for a population proportion.
- Define the parameter in context.
- Verify the three conditions, with numbers.
- Calculate the interval, showing the expression.
- Interpret the interval in context.
If the question says "construct and interpret", all five appear. A missing part costs a mark of its own.
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.