Skip to content
Prev 3573 / 20628 Next

Standard errors for random effects

On Thu, Apr 1, 2010 at 8:41 AM, Tahira Jamil <tahirajamil at yahoo.com> wrote:

            
Technically the random effects don't have standard errors because they
are not parameters in the model.  If you use

ranef(mylmermodel, postVar = TRUE)

there will be an attribute attached to the random effects that is part
of the conditional variance-covariance matrix of the random effects.
It is used, for example, to calculate the prediction intervals on the
random effects shown in the dotplot or qqmath plots for them.  Check

library(lme4)
example(ranef)

or even

?ranef