View source: R/lmer.rsquared.R
lmer.rsquared | R Documentation |
Returns the R^2 value for a linear mixed effect model.
lmer.rsquared(model)
model |
a model of class |
In a mixed effects model, much of the variance will be "explained" in a theoretically uninformative way simply by the random effects (e.g., "some people are different from others"). To the extent that an R^2 value is useful for these models, it will be useful when comparing the R^2 of a model that incorporates some fixed effect(s) of interest to that of a model that does not.
R^2 value between 0 and 1.
Baayen, R.H. (2008). Analyzing linguistic data: A practical introduction to statistics. Cambridge, UK: Cambridge University Press.
Baayen, R.H., & Milin, P. (2010). Analyzing reacion times, 3, 12-28.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.