Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

RMSE.merMod

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


Description

Extract the Root Mean Squared Error for a lmerMod object

Usage

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

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

merTools

Tools for Analyzing Mixed Effect Regression Models

v0.5.2
GPL (>= 2)
Authors
Jared E. Knowles [aut, cre], Carl Frederick [aut], Alex Whitworth [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.