Respuesta :
A 90% confidence interval places the true mean normal body temperature between 98.14269 and 98.35577.
library(UsingR)
attach(normtemp)
print(normtemp)
hist(normtemp$temperature)
shapiro.test(normtemp$temperature)
qqnorm(normtemp$temperature)
qqline(normtemp$temperature)
We can observe that the data follows a normal distribution from the histogram and q plot.
The points in the q plot fall on a straight line and correspond to a normal distribution.
P-value = 0.2332, P>0.05, from the Shapiro test
hence, we fail to reject null htpothesis.
On accepting the null hypothesis we get to know that the data follows normal distribution.
The output for the given code will be ,
data: normtemp$temperature
t = 1527.9, df = 129, p-value < 2.2e-16
alternative hypothesis: true mean ≠0
90 percent confidence interval:
98.14269 98.35577
sample estimates:
mean of x
98.24923
Therefore , we can conclude that ,
The true mean normal body temperature is believed to be between 98.14269 and 98.35577 with a 90% confidence interval.
98.6 is not included in the 90% confidence interval.
To learn more about confidence interval
brainly.com/question/27630001
#SPJ4