This is the dataset used throughout Raudenbush & Bryk (2002).

hsb

Format

A tibble with 7185 rows and 8 variables:

sch.id

An integer denoting the school identification number. There are 160 unique schools.

math

Individual students' math score.

size

The number of students in the school.

sector

A dummy variable (integer) denoting whether the school is public (sector = 0) or catholic (sector = 1). There are 90 public schools and 70 catholic.

meanses

A group-mean centered SES variable at the school level

minority

A dummy variable indicating if the student was coded as white (minority = 0) or not (minority = 1).

female

A dummy variable indicating if the student was coded as female (female = 1) or not (female = 0).

ses

A student-level composite variable indicating the students' socio-economic status.