Data for Example 6.9
Haptoglo
A data frame/tibble with eight observations on one variable
haptoglobin concentration (in grams per liter)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
shapiro.test(Haptoglo$concent)
#>
#> Shapiro-Wilk normality test
#>
#> data: Haptoglo$concent
#> W = 0.93818, p-value = 0.5932
#>
t.test(Haptoglo$concent, mu = 2, alternative = "less")
#>
#> One Sample t-test
#>
#> data: Haptoglo$concent
#> t = -0.58143, df = 7, p-value = 0.2896
#> alternative hypothesis: true mean is less than 2
#> 95 percent confidence interval:
#> -Inf 2.595669
#> sample estimates:
#> mean of x
#> 1.73625
#>