Dear Greg Snow, thank you very much for your suggestions. However, I need an example in order to understand fully. I was told that, given the ordinal factor, I do not need to specify the contr.poly function because R does it automatically. However, I don not know if I have to add an argument into the manova/anova function or something else. Please write me an illustrative example. Many thanks.
Best regards, Gian Mauro Manzoni 2012/7/25 Greg Snow <538...@gmail.com> > You should not need to write them yourself. Look at the contr.poly > function along with the C function (Note uppercase C) or the contrasts > function. > > > On Monday, July 23, 2012, Manzoni, GianMauro wrote: > >> Dear all, >> I am quite new to R and I am having trouble writing the polynomial >> contrasts for an ordinal factor in MANOVA. >> # I have a model such as this >> fit<-manova(cbind(Y1,Y2,Y3)~Groups,data=Events) # where groups is an >> ordinal factor with 4 levels >> # how to set polynomial contrasts for the "Groups" factor ? >> >> Thank you very much in advance for any help! >> >> Best regards, >> Mauro >> >> -- >> Dr. Gian Mauro Manzoni >> PhD, PsyD >> Psychology Research Laboratory >> San Giuseppe Hospital >> Istituto Auxologico Italiano >> Verbania - Italy >> e-mail: gm.manz...@auxologico.it >> cell. phone +39 338 4451207 >> Tel. +39 0323 514278 >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > > -- > Gregory (Greg) L. Snow Ph.D. > 538...@gmail.com > -- Dr. Gian Mauro Manzoni PhD, PsyD Psychology Research Laboratory San Giuseppe Hospital Istituto Auxologico Italiano Verbania - Italy e-mail: gm.manz...@auxologico.it cell. phone +39 338 4451207 Tel. +39 0323 514278 [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.