Learn R Programming

merTools (version 0.2.0)

hsb: A subset of data from the 1982 High School and Beyond survey used as examples for HLM software

Description

A key example dataset used for examples in the HLM software manual. Included here for use in replicating HLM analyses in R.

Usage

hsb

Arguments

source

Data made available by UCLA Institute for Digital Research and Education (IDRE) online: http://www.ats.ucla.edu/stat/hlm/seminars/hlm6/mlm_hlm6_seminar.htm

Details

The data file used for this presentation is a subsample from the 1982 High School and Beyond Survey and is used extensively in Hierarchical Linear Models by Raudenbush and Bryk. It consists of 7,185 students nested in 160 schools.

References

Stephen W. Raudenbush and Anthony S. Bryk (2002). Hierarchical Linear Models: Applications and Data Analysis Methods (2nd ed.). SAGE.

Examples

Run this code
data(hsb)
head(hsb)

Run the code above in your browser using DataLab