Displaying 1 result from an estimated 1 matches for "1anova".
Did you mean:
anova
2005 Jan 03
1
different DF in package nlme and lme4
...f Sum Sq Mean Sq Denom F value Pr(>F)
> age 1 235.356 235.356 105.000 114.8383 < 2.2e-16 ***
> Sex 1 19.044 19.044 105.000 9.2921 0.002912 **
or alternatively (to get the same result)
fm2b.2 <- lme(distance ~ age + Sex, data = Orthodont, random = list(Subject = ~ 1anova(fm2b.2)
> Analysis of Variance Table
> Df Sum Sq Mean Sq Denom F value Pr(>F)
> age 1 235.356 235.356 105.000 114.8383 < 2.2e-16 ***
> Sex 1 19.044 19.044 105.000 9.2921 0.002912 **
I got different DF for the denominator. Do I have to use lme in
another wa...