Skip to content
Back to formatted view

Raw Message

Message-ID: <l2u40e66e0b1004010803wb6200122mf13b927da92740ba@mail.gmail.com>
Date: 2010-04-01T15:03:33Z
From: Douglas Bates
Subject: Standard errors for random effects
In-Reply-To: <327708.4826.qm@web113501.mail.gq1.yahoo.com>

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

> I am wondering how can we extract standard errors of random effects. Is it possible or not in lme4.

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