Confidence Intervals for a Mean
A single sample mean is almost never exactly right, so report a range instead: plus or minus a couple of standard errors. "95% confident" means the recipe you used catches the true mean in 95% of the samples you could have drawn.
What the symbols mean
- Point estimate
The sample mean, the center of the interval.
- Critical value
1.645 for 90%, 1.96 for 95%, 2.576 for 99% confidence.
- Standard error
How much x̄ varies from sample to sample.
What the symbols mean
- Margin of error
Half the width of the interval.
Explanation
A confidence interval is simply a range of plausible values for something you can't measure directly, like the average capacity of every battery a factory makes, built from one sample. It's the "give or take" you'd add to an honest estimate. The formula is three pieces: (your best single guess, the sample mean), (the standard error, how much sample means typically wander) and (how many of those standard errors to go out, more for more confidence). Best guess, plus or minus a few wobbles. That's all it is.
Where it comes from. By the CLT, falls within standard errors of in 95% of samples. Now think about that the other way around. If is within standard errors of , then is within standard errors of ; distance works the same in both directions. So in 95% of samples, the range catches .
What "95% confident" means. The method works 95% of the time. Any one interval either contains or doesn't; we just don't know which. There's a picture further down with thirty intervals from thirty samples, and you can count the ones that miss.
Width trade-offs: more confidence widens the interval; more data narrows it (like ). It makes sense: to be surer of catching you need a wider net, and more data makes steadier, so you can afford a smaller one. The sample-size formula just solves for .
This version assumes is known, which is rare in practice; the next lesson handles the usual case.
A common mistake. It's tempting to say "there's a 95% chance is between 67 and 69." It isn't, strictly. is a fixed number, not a random one, so it's either in that interval or it isn't. The 95% describes the method: intervals built this way catch 95% of the time.
See it
Worked examples
, , . Find a 95% confidence interval for .
- 1
The standard error is , and 95% confidence uses , so the margin is .
, or
Practice
Type your answer and check it. Solve them all to complete the lesson.
, , . Find the 95% margin of error.
Find the lower bound of that interval.
With , what sample size gives a 95% margin of error of 0.5? (Round up.)
A 95% interval for a mean is . Which statement is correct?
Raising the confidence level from 95% to 99% (same data) makes the interval:
A sample of 64 lithium cells has mean capacity 3.02 Ah, and the process is known to have Ah. Find the upper bound of the 95% confidence interval for the mean capacity.
To cut that margin of error in half, how many cells would you need to test?
The hardest one here. Get it, and you've got this lesson.
A 90% confidence interval for a mean is . Using the same data, find the 99% interval. ( for 90% and for 99%.) Enter the lower and upper bounds.
Where it's used
Lab results, engineering tolerances and economic forecasts are reported with intervals; a single number without its margin of error hides how uncertain it is.