The packages were sampled at random and weighed independently. With only 16 of them, the interval relies on masses that are roughly normal, without strong skew or clear outliers.
2
Find the standard error
The sample mean varies less than single packages do, by a factor of √16=4.
√166.4=1.6
3
Find t∗
There are n−1=15 degrees of freedom, and 95% confidence leaves 2.5% in each tail. The t table’s row for 15 gives t∗≈2.131, a little above 1.96 because s is itself an estimate.
4
Find the margin and the interval
Multiply, then step the margin out from the mean in both directions.
2.131⋅1.6≈3.4152.3−3.41=48.8952.3+3.41=55.71
5
Say what it means
The company can be 95% confident that the mean mass of all its packages is between 48.89 g and 55.71 g. The statement is about the mean, not about any single package.
Result
From about 48.89 g to 55.71 g.
Your turn
1. One like the example
A random sample of 25 cereal boxes has mean mass 368 g and standard deviation 10 g. Build a 95% confidence interval for the mean mass of all boxes.
Show the answer and explanation
From about 363.87 g to 372.13 g.
The ends of the interval are xˉ∓t∗⋅s/√n.SE=10/√25=2, and t∗ with 24 degrees of freedom is about 2.064. The margin is 2.064×2≈4.13, so the interval is 368±4.13.
Build a 99% interval from the same 16 packages, with mean 52.3 g and standard deviation 6.4 g. Is it wider or narrower than the 95% interval?
Show the answer and explanation
From about 47.6 g to 57.0 g, wider than 48.89 to 55.71.
The ends of the interval are xˉ∓t∗⋅s/√n.99% leaves 0.5% in each tail, so t∗ with 15 degrees of freedom is about 2.947. The margin is 2.947×1.6≈4.715. More confidence costs width.
A report gives only the 95% interval 48.89 to 55.71 g for a mean. Recover the sample mean and the margin. Is a true mean of 50 g plausible? Is 57 g?
Show the answer and explanation
xˉ=52.3 g and the margin is 3.41 g.50 g is plausible, and 57 g is not.
The interval is centered on xˉ, so xˉ is the average of the ends, and the margin is half the width. 50 lies inside the interval, so the data do not rule it out. 57 lies outside, so at 95% confidence the data speak against it.
In Statistics, the t table with α=0.025 and 15 degrees of freedom gives critical t=2.13145. Change α to 0.005 for 99% confidence: t∗=2.94671, and the interval widens to about 47.59 to 57.01 g.