Hsb82: High School and Beyond - 1982

Description Usage Format Details References Examples

Description

Data from the 1982 study “High School and Beyond”.

Usage

1

Format

A data frame with 7185 observations on students including the following 8 variables.

school

an ordered factor designating the school that the student attends.

minrty

a factor with levels

sx

a factor with levels Male and Female

ses

a numeric vector of socio-economic scores

mAch

a numeric vector of Mathematics achievement scores

meanses

a numeric vector of mean ses for the school

sector

a factor with levels Public and Catholic

cses

a numeric vector of centered ses values where the centering is with respect to the meanses for the school.

Details

Each row in this data frame contains the data for one student.

References

Raudenbush, Stephen and Bryk, Anthony (2002), Hierarchical Linear Models: Applications and Data Analysis Methods, Sage (chapter 4).

Examples

1
2

Example output

Loading required package: lme4
Loading required package: Matrix
     school     minrty          sx            ses                 mAch       
 2305   :  67   No :5211   Male  :3390   Min.   :-3.758000   Min.   :-2.832  
 5619   :  66   Yes:1974   Female:3795   1st Qu.:-0.538000   1st Qu.: 7.275  
 4292   :  65                            Median : 0.002000   Median :13.131  
 8857   :  64                            Mean   : 0.000143   Mean   :12.748  
 4042   :  64                            3rd Qu.: 0.602000   3rd Qu.:18.317  
 3610   :  64                            Max.   : 2.692000   Max.   :24.993  
 (Other):6795                                                                
    meanses                sector          cses        
 Min.   :-1.1939459   Public  :3642   Min.   :-3.6507  
 1st Qu.:-0.3230000   Catholic:3543   1st Qu.:-0.4479  
 Median : 0.0320000                   Median : 0.0160  
 Mean   : 0.0001434                   Mean   : 0.0000  
 3rd Qu.: 0.3269123                   3rd Qu.: 0.4694  
 Max.   : 0.8249825                   Max.   : 2.8561  
                                                       

mlmRev documentation built on April 5, 2020, 9:07 a.m.