powered by
Data used in Exercise 8.57
Ability
A data frame/tibble with 400 observations on two variables
a factor with levels girls and boys
girls
boys
a factor with levels hopeless, belowavg, average, aboveavg, and superior
hopeless
belowavg
average
aboveavg
superior
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { CT <- xtabs(~gender + ability, data = Ability) CT chisq.test(CT) # }
Run the code above in your browser using DataLab