mlm_assumptions {mlmtools}R Documentation

Reports the output of testing all assumptions for a multilevel model

Description

Reports the results from testing all assumptions of a multilevel model and provides suggestions if an assumption is not passed

Usage

mlm_assumptions(model)

Arguments

model

A linear mixed-effects model of class lmerMod, lmerModLmerTest, or glmerMod of type binomial.

Value

Tests the relevant assumptions of the specified multilevel model.

References

Glaser, R. E. (2006). Levene’s Robust Test of Homogeneity of Variances. Encyclopedia of Statistical Sciences. 6.

Examples

# Read in data
data(instruction)
# Create model
mod <- lme4::lmer(mathgain ~ mathkind + (1 | classid), data = instruction)
# Evaluate assumptions
mlm_assumptions(mod)


[Package mlmtools version 1.0.2 Index]