Learn R Programming

MLMusingR (version 0.4.0)

ri_test2: Sample dataset 2 for testing the likelihood ratio test (LRT)

Description

Example data for testing the need for a random intercept. LRT results show that a random slope is not warranted.

Usage

data(ri_test2)

Arguments

Format

A data frame with 3,000 observations from 30 groups and 4 variables:

y

The outcome variable.

w1

A level-2 predictor.

x1

A level-1 predictor

group

The cluster identifier