toydata: Artificial 4-level data set

Description Usage Format Examples

Description

A 4-level data set with two responses and two covariates to illustrate the package mvctm. The classroom is nested within the school which is nested within the region.

Usage

1

Format

A data frame with 150 observations on the following 7 variables.

y1

The first response

y2

The second response

x1

The first covariate

x2

The second covariate

region

The level 1 cluster (outer)

school

The level 2 cluster (middle)

classroom

The level 3 cluster (inner)

Examples

1

mvctm documentation built on May 2, 2019, 10:16 a.m.