This data set gives the number of days absent from high school and the gender, maths score (standardized score out of 100) and academic programme ('General', 'Academic' and 'Vocational') of 314 students sampled from two urban high schools. The attendance data frame has 314 observations on 5 variables.

data(attendance)

Format

A data frame with 314 observations on 5 variables.

id

Identifier

gender

gender

math

standardized math score out of 100

daysabs

number of days absent from high school

prog

academic programme ('General', 'Academic' and 'Vocational')

Examples

## For examples see example(glm.cmp)