powered by
Reports the results from testing all assumptions of a multilevel model and provides suggestions if an assumption is not passed
mlm_assumptions(model)
Tests the relevant assumptions of the specified multilevel model.
A linear mixed-effects model of class lmerMod, lmerModLmerTest, or glmerMod of type binomial.
Glaser, R. E. (2006). Levene’s Robust Test of Homogeneity of Variances. Encyclopedia of Statistical Sciences. 6.
# Read in data data(instruction) # Create model mod <- lme4::lmer(mathgain ~ mathkind + (1 | classid), data = instruction) # Evaluate assumptions mlm_assumptions(mod)
Run the code above in your browser using DataLab