Re: [R] very basic HLM question

2011-02-06 Thread Sebastián Daza
Thank you for your reply and sorry for my ambiguity. I computed: summary(anova1 - aov(math ~ as.factor(schoolid), data=nels88)) ICC1(anova1) ICC1 comes from the multilevel package. I have found an article where it is pointed out that with this formula: 34.011/(34.011+72.256) [1] 0.3200523

Re: [R] very basic HLM question

2011-02-05 Thread Paul Johnson
2011/2/5 Sebastián Daza sebastian.d...@gmail.com: Hi everyone, I need to get a between-component variance (e.g. random effects Anova), but using lmer I don't get the same results (variance component) than using random effects Anova. I am using a database of students, clustered on schools