Learn R Programming

BSDA (version 1.2.0)

Ability: Perceived math ability for 13-year olds by gender

Description

Data used in Exercise 8.57

Usage

Ability

Arguments

Format

A data frame/tibble with 400 observations on two variables

gender

a factor with levels girls and boys

ability

a factor with levels hopeless, belowavg, average, aboveavg, and superior

References

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

Examples

Run this code
# NOT RUN {
CT <- xtabs(~gender + ability, data = Ability)
CT
chisq.test(CT)

# }

Run the code above in your browser using DataLab