[R-sig-ME] how to locate standard errors in lmer output

F.-Xavier ALARIO Francois-Xavier.Alario at univ-provence.fr
Fri Mar 28 08:28:39 CET 2008


Perfect, thank you very much for the prompt response.

I use the values to generate graphic representations of the final
version of a given model, so single evaluations

Douglas Bates wrote:
>  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. :-)
>
>   

-- 
F.-Xavier ALARIO
http://www.up.univ-mrs.fr/wlpc/alario
http://www.lang-prod.org/
+33 4 88 57 69 00




More information about the R-sig-mixed-models mailing list