Definition
A 100(1−α)% confidence interval for parameter θ is a random interval (L,U) such that:
P(L<θ<U)=1−α
Interpretation
If we repeated the sampling procedure many times, about 100(1−α)% of the computed intervals would contain the true parameter.
Not: There is a (1−α) probability that θ lies in this interval. (θ is fixed, the interval is random.)
CI for Mean (Known Variance)
X1,…,Xn from population with known σ2:
Xˉ±zα/2nσ
where zα/2=Φ−1(1−α/2).
Derivation: By CLT, σ/nXˉ−μ≈N(0,1).
P(−zα/2<σ/nXˉ−μ<zα/2)≈1−α
CI for Mean (Unknown Variance)
Use t-distribution with n−1 degrees of freedom:
Xˉ±tn−1,α/2nS
For large n, tn−1≈z.
Common Confidence Levels
| Confidence Level | α | zα/2 |
|---|
| 90% | 0.10 | 1.645 |
| 95% | 0.05 | 1.96 |
| 99% | 0.01 | 2.576 |
Example: Heights
n=25 heights with Xˉ=170 cm, S=10 cm.
95% CI: 170±1.96×2510=170±3.92
95% CI: (166.08,173.92) cm.
Interpretation
We are 95% confident that the true mean height lies between 166.08 cm and 173.92 cm.
“Confident” refers to the procedure, not the probability of this specific interval.
Summary
| Parameter | CI Formula |
|---|
| Mean (σ known) | Xˉ±zα/2σ/n |
| Mean (σ unknown) | Xˉ±tn−1,α/2S/n |