Blackedu {BSDA}R Documentation

Education level of blacks by gender

Description

Data for Exercise 8.55

Usage

Blackedu

Format

A data frame/tibble with 3800 observations on two variables

gender

a factor with levels Female and Male

education

a factor with levels High school dropout, High school graudate, Some college, Bachelor's degree, and Graduate degree

Source

Bureau of Census data.

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


T1 <- xtabs(~gender + education, data = Blackedu)
T1
chisq.test(T1)


[Package BSDA version 1.2.0 Index]