Skip to content

how to extract the estimated scale in the results of lmer

2 messages · ts p, Bernd Weiss

#
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!

Tian
#
ts p schrieb:
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