Data for Statistical Insight Chapter 6
Honda
A data frame/tibble with 35 observations on one variable
miles per gallon for a Honda Civic
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
t.test(Honda$mileage, mu = 40, alternative = "less")
#>
#> One Sample t-test
#>
#> data: Honda$mileage
#> t = -2.5255, df = 34, p-value = 0.00819
#> alternative hypothesis: true mean is less than 40
#> 95 percent confidence interval:
#> -Inf 39.49769
#> sample estimates:
#> mean of x
#> 38.48
#>