[R-sig-ME] how to locate standard errors in lmer output
Douglas Bates
bates at stat.wisc.edu
Thu Mar 27 17:18:36 CET 2008
Thu, Mar 27, 2008 at 5:06 AM, F.-Xavier ALARIO
<Francois-Xavier.Alario at univ-provence.fr> wrote:
> I have been looking in various documentations (e.g. in
> http://rweb.stat.umn.edu/R/library/lme4/doc/) for a way to access
> Standard Errors of fixed effects in the output of the 'lmer' function.
> slotNames() didn't help.
> Is there a way to do it similar to fixef(), ranef() or with a slot name?
The preferred way would be
stderr <- sqrt(diag(vcov(fm)))
for a single evaluation. (If you were putting such a calculation
within a large simulation you may want to work harder to tune it up
but this is fine for a single evaluation.)
> I have the same question for t-values.
fixef(fm)/stderr
The obvious next question is about the p-values but that's a sore
point so don't ask. :-)
More information about the R-sig-mixed-models
mailing list