powered by
Data for Exercise 8.55
Blackedu
A data frame/tibble with 3800 observations on two variables
a factor with levels Female and Male
Female
Male
a factor with levels High school dropout, High school graudate, Some college, Bachelor's degree, and Graduate degree
High school dropout
High school graudate
Some college
Bachelor
s degree
Graduate degree
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { T1 <- xtabs(~gender + education, data = Blackedu) T1 chisq.test(T1) # }
Run the code above in your browser using DataLab