Assignment 5 8-34 (a)
R Code: >sample1<-c (8.24, 8.25, 8.20, 8.23, 8.24, 8.21, 8.26, 8.26, 8.20, 8.25, 8.23, 8.23, 8.19, 8.28, 8.24) > qqnorm(sample1) > qqline(sample1)
8-44 (a)
>
nample2<-c(101, 104, 104, 77, 89, 88, 104, 96, 82, 70, 89, 91, 39, 103, 93, 85, 104, 104, 81, 67, 104, 104, 104, 87, 104, 89, 78, 104, 86, 76, 103, 102, 80, 45, 94, 104, 104, 76, 80, 72, 73) > length(sample2) [1] 41 > var(sample2) [1] 255.7756 > qqnorm(sample2, main="Question 8-44") > qqline(sample2) 9-51 (b) > sample3<-c(97.8, 97.2, 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.6, 98.7, 98.8, 98.8, 98.9, 98.9, 99.0) > length(sample3) [1] 25
> mean(sample3) [1] 98.264 > sd(sample3) [1] 0.4820788 > qqnorm(sample3, main = "Body Temperatures of Females")
9-51 (e) We are given all the values to determine whether or not to reject the hypothesis by using the true mean and the mean of the sample values. This information can be plugged into a two-sided confidence interval chart for the mean.