multiple numerical variables in aov
Hi Chuck, Thanks very much for your help. Just a follow up question.. Like I said I was using aov() instead of anova(). I want to maintain maximum compatability with what I've been using so far and I notice that manova() is just a wrapper to aov(). How important is it to use summary(......, test="Wilks") exactly, do you think that the default test statistic would be sufficient. Once again, many thanks for your help. Rishabh
--- Chuck Cleland <ccleland at optonline.net> wrote: > Rishabh Gupta wrote:
I want something like
aov(v1 + v2 + v3 ~ g)
Essentially I want to find out whether the variables v1, v2, v3, etc can collectively
discriminate
between different values of variable g. Could somebody tell whether this is possible and if so how?
Rishabh: With v1, v2, v3, and g in the dataframe mydata, try the following: summary(manova(cbind(v1, v2, v3) ~ g, data = mydata), test="Wilks") hope it helps, Chuck Cleland