In: Statistics and Probability
Random sample of size 7 is drawn from a normal population with variance 2.5 the sample observations are 9, 16, 10, 14, 8, 13, 14. find 99% confidence interval for the population mean what would be the confidence interval if the variance is unknown.
Solution:
Given ,
Sample size = n = 7
9, 16, 10, 14, 8, 13, 14
1) Population variance is known .
So we use z distribution.
Using calculator , we find sample mean
=(9+16+10+14+8+13+14)/7 = 84/7 = 12
Our aim is to construct 99% confidence interval.
/2
= 0.01
2 = 0.005 and 1-
/2 = 0.995
Search the probability 0.995 in the Z table and see corresponding z value
The margin of error is given by
= 1.539
Now , confidence interval for mean()
is given by:
(10.461 , 13.539)
2)
Suppose that the population variance 2 is
unknown.
So we use t distribution.
We need to find the sample standard deviation.
Let s be the sample standard deviation.
Using calculator , we can find s directly.
s = 3
Our aim is to construct 99% confidence interval.
Also, d.f = n - 1 = 7 - 1 = 6
( use t table or t calculator to find this value..)
The margin of error is given by
= 4.203
Now , confidence interval for mean()
is given by:
(7.797 , 16.203)