[R-sig-ME] how to extract the estimated scale in the results of lmer

Bernd Weiss bernd.weiss at uni-koeln.de
Fri Oct 12 04:35:58 CEST 2007


ts p schrieb:
> Hello,
> 
> I got the estimated scale by lmer as follows:
> Estimated scale (compare to  1 )  0.892683
> My question is how to extract the value of the estimated scale from the 
> results of lmer.
> And I know in some software the scale is constrained to 1. how lmer can do 
> it?
> 
> Thanks a lot!
> 

Dear Tian,

I guess

library(mlmRev)
(fm1 <- lmer(use ~ urban+age+livch+(1|district), Contraception, binomial))
slot(summary(fm1),"sigma")

is what you are looking for.

HTH,

Bernd




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