powered by
Data for Exercise 8.34
Vehicle
A data frame/tibble with 151 observations on two variables
a factor with levels domestic and foreign
domestic
foreign
a factor with levels Much better than average, Above average, Average, Below average, and Much worse than average
Much better than average
Above average
Average
Below average
Much worse than average
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { T1 <- xtabs(~make + rating, data = Vehicle) T1 chisq.test(T1) # }
Run the code above in your browser using DataLab