R/BSDA-package.R
Develop.Rd
Data used for Exercise 8.50
Develop
A data frame/tibble with 5656 observations on two variables
a factor with levels African American
, American Indian
,
Asian
, Latino
, and White
a factor with levels Two-year
and Four-year
Research in Development Education (1994), V. 11, 2.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
T1 <- xtabs(~race + college, data = Develop)
T1
#> college
#> race Two-year Four-year
#> African American 545 986
#> American Indian 24 66
#> Asian 71 66
#> Latino 142 230
#> White 1587 1939
chisq.test(T1)
#>
#> Pearson's Chi-squared test
#>
#> data: T1
#> X-squared = 55.227, df = 4, p-value = 2.912e-11
#>
rm(T1)