In: Statistics and Probability
Please be clear and explain!
9-‐63: A 1992 article in the Journal of the American Medical Association reported body temperature, gender, and heart rate for a number of subjects. The body temperatures for 25 female subjects follow: 97.8, 97.5, 97.4, 97.6, 97.8, 97.9, 98.0, 98.0, 98.0, 98.1, 98.2, 98.3, 98.3, 98.4, 98.4, 98.4, 98.5, 98.6, 98.7, 98.8, 98.8, 98.9, 98.9, and 99.0. a) Test the hypothesis if H0 : μ = 98.6, H1 : μ ≠ 98.6 using α=0.05. Find the P-‐value. b) Check the assumption that female body temperature is normally distributed. c) Compute the power of the test if the true mean female body temperature is as low as 98.0. d) What sample size would be required to detect a true mean female body temperature as low as 98.2 if you wanted the power of the test to be at least 0.9? e) Explain how the question in part (a) could be answered by constructing a two-‐sided confidence interval on the mean of female body temperature?
Please do you best to explain how to graph in Matlab or Excel.. Thanks!
Note that the no of observations is 24 (instead of 25) since only 24 values are given (please check this). Hence we perform test using only 24 observations.
One-Sample T: Body temperature
Test of mu = 98.6 vs not = 98.6
Variable
N Mean StDev SE
Mean 95%
CI
T
Body temperature 24 98.2625 0.4623 0.0944
(98.0673, 98.4577) -3.58
Variable
P
Body temperature 0.002
Since p-value<0.05 so we reject null hypothesis at 5% level of significance.
(b)
From probability plot it is observed that normality assumption holds.
(c)