You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
A confidence interval provides a range of plausible values for an unknown population parameter. Unlike a hypothesis test, which gives a yes/no decision, a confidence interval quantifies the precision of an estimate.
A 95% confidence interval for a parameter θ means: if we repeated the sampling process many times, approximately 95% of the intervals constructed would contain the true value of θ.
Important: A 95% confidence interval does NOT mean there is a 95% probability that θ lies in the interval. The interval is fixed once calculated; θ either is or is not in it. The 95% refers to the long-run success rate of the procedure.
If X1,…,Xn∼N(μ,σ2) and σ is known:
Xˉ±zα/2⋅nσ
| Confidence level | zα/2 |
|---|---|
| 90% | 1.645 |
| 95% | 1.960 |
| 99% | 2.576 |
A machine fills bottles with mean volume μ and known standard deviation σ=5 ml. A sample of 25 bottles gives xˉ=502. Find a 95% confidence interval for μ.
502±1.960×255=502±1.960×1=502±1.96
95% CI: (500.04,503.96).
We are 95% confident that the true mean volume lies between 500.04 ml and 503.96 ml.
When σ is unknown, replace it with s and use the t-distribution:
xˉ±tn−1,α/2⋅ns
A sample of 10 measurements gives xˉ=48.3 and s=2.1. Find a 95% confidence interval for μ.
t9,0.025=2.262.
48.3±2.262×102.1=48.3±2.262×0.664=48.3±1.50
95% CI: (46.80,49.80).
Note that the interval is wider than if σ were known, because the t-distribution has heavier tails.
The width of a CI is 2×zα/2×σ/n (for the σ known case).
To make the interval narrower:
To achieve a confidence interval of half-width w:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.