[R] Anova problem with order of terms in model

2006-01-17 Thread Martin Julien
Hi I have a linear model and I want to tests whether the model terms are significant I used anova but F and P value depend on the order of the terms in the model. I have repeated the same analysis in another stat software and F and P value did not differ with order of terms in the model. Can

Re: [R] Anova problem with order of terms in model

2006-01-17 Thread Berton Gunter
I suggest you consult a local statistician or read up on linear models,perhaps by reading the relevant section of VR's MASS. Also search the R-Help archives for Type III SS. Further comments below. -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA The business of the

Re: [R] Anova problem with order of terms in model

2006-01-17 Thread John Fox
Dear Martin, The anova() function computes sequential (sometimes called type-I) tests; I'm not sure what Jmp does by default, but either type-II or type-III tests would produce these results for a model of this structure. See the Anova() function in the car package for type-II and III tests. I