Build a confidence interval for a population mean
From an observed mean to an interval
A filling machine produces packets. Assume independent packet weights from a normal distribution with known population standard deviation σ = 8 g. A random sample of 64 has mean 502 g. We want the machine's long-run mean fill μ. The sample mean 502 g is a point estimate. Another sample of 64 would usually give a different mean.
The standard error of the sample mean is σ/√n = 8/8 = 1 g. With the two-sided 95% normal critical value 1.96, the margin of error is 1.96 × 1 = 1.96 g. Subtract and add this margin to 502. The interval runs from 500.04 g to 503.96 g. The interval's width is twice its margin.
What changes the interval?
Keeping σ and the confidence level fixed, multiplying sample size by four halves the standard error. Keeping sample size fixed, a higher confidence level requires a larger critical value and a wider interval. If σ is unknown and is estimated from an independent normal sample, the usual mean interval uses the t distribution with n − 1 degrees of freedom.
Interpret the 95%
If the sampling and calculation were repeated many times under the stated assumptions, about 95% of the intervals would contain the fixed μ. This describes the method's coverage. Predicting the weight of an individual packet is a different question.
Check your reasoning
- An independent sample of 36 from a normal population has mean 120 and known σ = 12. Use 1.96 to find a two-sided 95% interval for μ.
- With the same σ and critical value, how does the margin change when n rises from 36 to 144?
- A report says “95% of individual observations lie in our 95% confidence interval for μ.” Is this interpretation justified?
Worked answers
- SE = 12/√36 = 2. The margin is 1.96 × 2 = 3.92. The interval is 116.08 to 123.92.
- The square root of n rises from 6 to 12. SE falls from 2 to 1 and the margin falls from 3.92 to 1.96.
- No. The interval estimates one population mean. Repeated intervals cover that fixed mean roughly 95% of the time under the model. Coverage of individual observations requires a different calculation.
SSC CGL 2026, §13.11.6.9 · OpenStax reference
Quick reference
For independent normal observations with known σ, use sample mean ± z × σ/√n. Keep the units of the mean.
Sign in to keep your progress. Sign in