Displaying 1 result from an estimated 1 matches for "amod1".
Did you mean:
mod1
2007 Dec 20
0
test for factor effect with nested glm
Dear all,
I use a nested design with lm and glm, with factor2 nested within
factor1. In order to test for the significance of both factors, I use
anova tables on the obtained models such as follows:
/> mod1<-lm(A~factor1/factor2)
> amod1<-anova(mod1, test="F")
Analysis of Variance Table
Response: A
Df Sum Sq Mean Sq F value Pr(>F)
factor1 15 85.99 5.73 3.1332 8.702e-05 ***
factor1:factor2 42 131.75 3.14 1.7145 0.005654 **
Residuals 308 563.52 1.83...