Learn R Programming

BSDA (version 1.01)

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

Description

Data used in Exercise 8.57

Usage

Ability

Arguments

Format

A data frame with 2 observations on the following 6 variables.

gender

a factor with levels boys girls

hopeless

a numeric vector

belowavg

a numeric vector

average

a numeric vector

aboveavg

a numeric vector

superior

a numeric vector

Examples

Run this code
# NOT RUN {
X <- as.matrix(Ability[1:2,2:6])
chisq.test(X)
# }

Run the code above in your browser using DataLab