In: Statistics and Probability
1.
In the given scenario we have to use test statistic corresponding to one sample proportion test.
Here,
Thus we observe that,
[Using R-code 'pnorm(1.964152)-pnorm(-1.964152)']
Hence, with 95% confidence proportion of obese people in Anatolian town is (0.466, 0.614).
2.
We have sample values as well as value of population standard deviation (or variance). So, we have to use test statistic of one sample z-test.
Corresponding test statistic is given by
Here,
Sample size
Sample mean
Population variance
We know,
[Using R-code 'qnorm(1-(1-0.99)/2)']
Hence, 99% confidence interval for mass average is (3.480856, 7.375144).