Hox pupil popularity data with some missing popularity scores
A data frame with 2000 rows and 7 columns:
Pupil number within school
School number
Pupil popularity with 848 missing entries
Pupil gender
Teacher experience (years)
Constant intercept term
Teacher popularity
Hox, J. J. (2002) Multilevel analysis. Techniques and applications. Mahwah, NJ: Lawrence Erlbaum.
The original, complete dataset was generated by Joop Hox as an example of well-behaved multilevel data set. The distributed data contains missing data in pupil popularity.
popmis[1:3, ]
#> pupil school popular sex texp const teachpop
#> 1 1 1 NA 1 24 1 7
#> 2 2 1 NA 0 24 1 7
#> 3 3 1 7 1 24 1 6