Statistics & Probability · Grades 11, 12
Confidence Intervals for a Proportion and a Mean
Quick answer
A confidence interval gives a range of plausible values for a population proportion or mean: estimate ± critical value × standard error. For a proportion, that is p̂ ± z*√(p̂(1 − p̂)/n); for a mean with a large sample, x̄ ± z*·s/√n. The critical value z* is 1.645 for 90%, 1.96 for 95% and 2.576 for 99% confidence. Confidence describes the method: 95% of intervals built this way capture the true value. Solving the margin of error for n gives the sample size needed in advance.
What you'll learn
- Construct a confidence interval for a proportion
- Construct a large-sample confidence interval for a mean
- Interpret a confidence level correctly
- Find the sample size needed for a given margin of error
Estimate plus or minus a margin
A poll of randomly chosen adults finds in favor of a plan. The sample proportion is . The true proportion is unknown, and is unlikely to hit it exactly. A confidence interval reports a range instead:
The part after is the margin of error. For a proportion, the sampling distribution of has standard error ; since is unknown, we use in its place:
| Confidence level | |||
|---|---|---|---|
For the poll: the standard error is . At , the margin is , and the interval is about to .
Why “95% confident” describes the method
The central limit theorem says lands within standard errors of the true in of samples. Whenever it does, the interval reaches back far enough to contain . So of the intervals this method produces contain the true value, and miss it.
Any one interval either contains or it does not; is a fixed number, not a random one. The is a property of the procedure, earned before the sample was drawn. That is why we say ” confident” rather than “a probability that lies between and ”.
Worked examples
Common mistakes
Practice problems
-
In a random sample of students, walk to school. Give a confidence interval for the proportion who walk.
Answer
About to
Full solution
, the standard error is , and the margin is .
-
A sample of has and . Find the margin of error for the mean.
Answer
Full solution
The standard error is , and .
-
How large a sample gives a margin of error of for a proportion, with no prior estimate?
Answer
Full solution
, rounded up to .
-
How large for a margin of ?
Answer
Full solution
.
-
If a poll quadruples its sample size, what happens to the margin of error?
Answer
It is cut in half.
Full solution
The margin is proportional to , and .
-
An interval runs from to . Find and the margin of error.
Answer
; margin
Full solution
The midpoint is and half the width is .
-
Which is wider for the same data, a or a interval? Why?
Answer
The interval.
Full solution
Capturing the true value more often needs a larger critical value, instead of , so the margin is larger.
-
A student says, “There is a probability that the true proportion is between and .” How should it be stated?
Answer
“We are confident that the true proportion is between and ”: the method captures the true value in of samples.
Full solution
The true proportion is fixed, so this particular interval either contains it or not. The describes how often intervals built this way succeed.
Frequently asked questions
What is a confidence interval?
A range of plausible values for a population parameter, built as estimate ± margin of error, where the margin of error is a critical value times the standard error.
What does 95% confidence mean?
That the method captures the true value 95% of the time over repeated samples. It is not a 95% probability that this particular interval contains the value; the value is fixed and the interval either contains it or not.
What are the critical values for 90%, 95% and 99%?
1.645, 1.96 and 2.576. They mark off the middle 90%, 95% and 99% of the standard normal curve.
How does sample size affect the interval?
The margin of error shrinks like 1/√n. Four times the sample size gives half the margin of error.
How do you find the sample size for a target margin of error?
Solve E = z*√(p(1 − p)/n) for n: n = (z*/E)² · p(1 − p). Use p = 0.5 when no estimate is available, since it gives the largest n.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSS.IC.B.4Making Inferences and Justifying ConclusionsUse data from a sample survey to estimate a population mean or proportion; develop a margin of error through the use of simulation models for random sampling.