hschool: Attendance Behavior of High School Juniors

hschoolR Documentation

Attendance Behavior of High School Juniors

Description

Recorded are the number of days of absence, gender, and two test scores of 316 high school juniors from two urban high schools.

Usage

data("hschool")

Format

A data frame with 316 observations on the following 5 variables.

school

school of the two, coded 1 or 2;

male

whether the student is male, coded 1: male; 0: female;

math

the standardized test score for math;

langarts

the standardized test score for language arts;

daysabs

the number of days of absence.

Details

Some school administrators studied the attendance behavior of high school juniors at two schools. Predictors of the number of days of absence include gender of the student and standardized test scores in math and language arts. The original source of this data set is unknown.

Author(s)

Dabao Zhang, Department of Statistics, Purdue University

Source

UCLA IDRE Statistical Consulting Group for data analysis.

See Also

rsq, rsq.partial, pcor, simglm.

Examples

data(hschool)
summary(hschool)
head(hschool)

require(MASS)
absfit <- glm.nb(daysabs~school+male+math+langarts,data=hschool)
summary(absfit)
rsq(absfit)
rsq(absfit,adj=TRUE)

rsq.partial(absfit)

rsq documentation built on Oct. 22, 2023, 5:07 p.m.

Related to hschool in rsq...