Re: [R] Order of terms in formula changes aov() results

2012-03-23 Thread David Winsemius
On Mar 22, 2012, at 5:06 PM, Stuart Luppescu wrote: Hello, This one is very perplexing. I have teacher observation data, with factors teacher ID, observer ID, component, grade and subject. When I do this, aov(data=ratings.prin.22, rating ~ obsid.f + tid.f + subject.f + grade.f + comp.f)

Re: [R] Order of terms in formula changes aov() results

2012-03-23 Thread Weidong Gu
Hi, It seems that you have an unbalanced anova case which can be complicated in interpretation. This question has been addressed in the list you can search of previous mails. Basically, for unbalanced data (or unorthorgonal), estimates of SS of a factor depends on other factors. Type I SS (which i

[R] Order of terms in formula changes aov() results

2012-03-22 Thread Stuart Luppescu
Hello, This one is very perplexing. I have teacher observation data, with factors teacher ID, observer ID, component, grade and subject. When I do this, aov(data=ratings.prin.22, rating ~ obsid.f + tid.f + subject.f + grade.f + comp.f) I get this: Terms: obsid.f tid.f gr