Displaying 2 results from an estimated 2 matches for "stdlot".
Did you mean:
stdlog
2009 Aug 19
2
Contrasts within ANOVA frame (Repost)
Would like to try my luck to see if I can catch your eyes.
I was trying to do some contrasts within ANOVA. I searched the archive and
found a clue posted by Steffen Katzner
( http://tolstoy.newcastle.edu.au/R/help/06/01/19385.html)
I have three levels for a factor names "StdLot" and want to make three
comparisons, 1 vs 2, 1 vs 3 and 2 vs 3.
First,
contrasts(d3$StdLot,3)<-matrix(c(1,-1, 0,0,1,-1,1,0,-1),3,3) #d3 is the
data set. set up the contrast matrix
Second,
aov(Bkg~StdLot,na.rm=T,data=d3,contrasts=contrasts(d3$StdLot))->mod.aov
#ANOVA,
Finally,
summar...
2009 Aug 11
0
Contrasts within ANOVA frame
Dear all,
I was trying to do some contrasts within ANOVA. I searched the archive and
found a clue posted by Steffen Katzner
( http://tolstoy.newcastle.edu.au/R/help/06/01/19385.html)
I have three levels for a factor names "StdLot". I just want to make three
comparisons, 1 vs 2, 1 vs 3 and 2 vs 3.
First,
contrasts(d3$StdLot,3)<-matrix(c(1,-1, 0,0,1,-1,1,0,-1),3,3) #d3 is the
data set. set up the contrast matrix
Second,
aov(Bkg~StdLot,na.rm=T,data=d3,contrasts=contrasts(d3$StdLot))->mod.aov
#ANOVA,
Finally,
su...