Data for Exercises 5.91 and 6.48
Inletoil
A data frame/tibble with 12 observations on one variable
inlet oil temperature (Fahrenheit)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
hist(Inletoil$temp, breaks = 3)
qqnorm(Inletoil$temp)
qqline(Inletoil$temp)
t.test(Inletoil$temp)
#>
#> One Sample t-test
#>
#> data: Inletoil$temp
#> t = 95.278, df = 11, p-value < 2.2e-16
#> alternative hypothesis: true mean is not equal to 0
#> 95 percent confidence interval:
#> 91.17727 95.48940
#> sample estimates:
#> mean of x
#> 93.33333
#>
t.test(Inletoil$temp, mu = 98, alternative = "less")
#>
#> One Sample t-test
#>
#> data: Inletoil$temp
#> t = -4.7639, df = 11, p-value = 0.0002932
#> alternative hypothesis: true mean is less than 98
#> 95 percent confidence interval:
#> -Inf 95.09256
#> sample estimates:
#> mean of x
#> 93.33333
#>