Estimate the Root Mean Squared Error (RMSE) for a lmerMod

Share:

Description

Extract the Root Mean Squared Error for a lmerMod object

Usage

1
RMSE.merMod(merMod, scale = FALSE)

Arguments

merMod

a lmerMod object from the lme4 package

scale

logical, should the result be returned on the scale of response variable standard deviations?

Value

a numeric which represents the RMSE

Examples

1
2
3
require(lme4)
m2 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
RMSE.merMod(m2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.