Learn R Programming

mice (version 3.17.0)

popmis: Hox pupil popularity data with missing popularity scores

Description

Hox pupil popularity data with some missing popularity scores

Arguments

Format

A data frame with 2000 rows and 7 columns:

pupil

Pupil number within school

school

School number

popular

Pupil popularity with 848 missing entries

sex

Pupil gender

texp

Teacher experience (years)

const

Constant intercept term

teachpop

Teacher popularity

Details

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.

Examples

Run this code

popmis[1:3, ]

Run the code above in your browser using DataLab