[Math] 95% Confidence Interval Problem for a random sample

probability distributionsrandom variablessamplingstatistics

The sample mean of a random sample of $25$ observations is $9.6$ and the sample variance is $22.4$.

Derive a $95$ confidence interval for the population mean.

I calculated the following:

Confidence interval $= x +- ts/root(n)$

where:

$t = 1.708$ (from t distribution table)
$s = 4.733$ (square root of sample variation)
$n = 25$

Using this gives the confidence interval:

$7.983$ <= Population mean <= $11.217$

However in the mark scheme it says this:

$7.606$ <= Population mean <= $11.590.$

Unfortunately it doesn't have any workings and so I really don't know where I'm going wrong. Any pointers would be appreciated, thanks!

UPDATE: I have found some handwritten mark scheme that says:
Unbiased estimator of the population variance = 23.3333
s.e. of sample mean = 0.9661, use t(24)

Now I'm really confused!

Best Answer

You should be doing $$\bar{x}\mp t_{0.975}(n-1)\frac{\hat{\sigma}}{\sqrt{n}}$$

In this case, $\bar{x}=9.6$, $t_{0.975}(24)=2.064$, and $\frac{\hat{\sigma}}{\sqrt{n}}=\frac{\sqrt{22.4}}{\sqrt{25}}\times\frac{\sqrt{25}}{\sqrt{\color{red}{25-1}}}$ since we require an unbiased estimate of the population variance, based on the sample variance.

This gives us the supposed answer $7.606$ for the lower bound, but for the upper bound we should get $11.594$

One possible explanation for their value of $11.590$ is the unintended use of $t_{0.975}(25)=2.060$ just for the upper bound, which would give precisely that, so it could be an error on their part.

Related Question