search for: treatment_ord

Displaying 1 result from an estimated 1 matches for "treatment_ord".

Did you mean: treatment_id
2011 Apr 13
0
ordinal predictor in anova
...e 1, 24, 25, 50,55). Coding it simply as a categorical variable is also not ok because there is a hierarchy between the groups. This is the definition of ordinal variable. I have defined the ordinal variable (the order is from a priori prediction) #NOW DEFINING THE ORDERED VARIABLE: sugars$treatment_ordered<-ordered(sugars$treatment,c("AA", "AB","AC", "AD","AE")) The problem is that when I run the ANOVA or perform model comparison, R is giving me the same results if I use either "treatment" as a predictor in the model or &quo...