[R] GLM: order of terms in model

2007-03-09 Thread Christian Landry
Dear R-helpers, I have been analysing data using a GLM. My model is as follows: mod - glm (V ~ T + as.factor(A) + N, family=gaussian) and using anova(mod, test=F) to get the analysis of deviance table and the fraction of deviance explained by each term. T and A dominate with respect to

Re: [R] GLM: order of terms in model

2007-03-09 Thread Thomas Lumley
This is a FAQ 7.18 Why does the output from anova() depend on the order of factors in the model? -thomas On Fri, 9 Mar 2007, Christian Landry wrote: Dear R-helpers, I have been analysing data using a GLM. My model is as follows: mod - glm (V ~ T + as.factor(A) + N,