Displaying 1 result from an estimated 1 matches for "nels88".
Did you mean:
nels
2011 Feb 05
1
very basic HLM question
...students, clustered
on schools (there is not the same number of students by school).
According to the ICC1 command, the interclass correlation is .44
> ICC1(anova1)
[1] 0.4414491
However, I cannot get the same ICC from the lmer output:
> anova2 <- lmer(math ~ 1 + (1|schoolid), data=nels88)
> summary(anova2 <- lmer(math ~ 1 + (1|schoolid), data=nels88))
Linear mixed model fit by REML
Formula: math ~ 1 + (1 | schoolid)
Data: nels88
AIC BIC logLik deviance REMLdev
1878 1888 -935.8 1875 1872
Random effects:
Groups Name Variance Std.Dev.
schoolid (In...