Skip to contents

Simulated data, not a real study. school with a fifth of its rows removed at random, so 256 of the 320 ratings remain. Missing cells are dropped rows, not NAs. Every rater still scores pupils in every classroom, so both ICC levels stay identified. The "Multilevel designs" article uses it to show a ragged multilevel design.

Usage

school_incomplete

Format

A data frame with 256 rows and 4 columns, as in school (classroom, pupil, rater, score).

Source

Derived from school by data-raw/make-vignette-data.R with set.seed(11), which picks the 64 rows to drop.

See also

school for the complete design.

Examples

str(school_incomplete)
#> 'data.frame':	256 obs. of  4 variables:
#>  $ classroom: Factor w/ 16 levels "1","2","3","4",..: 1 1 1 1 1 2 2 2 2 3 ...
#>  $ pupil    : Factor w/ 80 levels "1_1","1_2","1_3",..: 1 2 3 4 5 7 8 9 10 11 ...
#>  $ rater    : Factor w/ 4 levels "1","2","3","4": 1 1 1 1 1 1 1 1 1 1 ...
#>  $ score    : num  10.5 10.1 10 11.7 9 ...