Skip to content
Prev 43376 / 398506 Next

newbie question on contrasts and aov

In the meantime I figured out that the Difference-contrast is not quite what I 
was looking for. But I still have two questions

1) Why do I get different results for Helmert contrasts in SPSS and R. I guess 
the contrast matrixes of Helmert are about the same in SPSS and R. I probably 
make a mistake as i am a newbie to R. I thought that it might be, because I 
have a repaeted measures design. That's why I put the Error(sub) in the 
formula of aov. 

2)
I tried to make my own contrast matrix, to compute comparisons between 
adjacent factor levels, i.e. 1-2, 2-3 and 3-4. My matrix looks like this:
     [,1] [,2] [,3]
[1,]    1    0    0
[2,]   -1    1    0
[3,]    0   -1    1
[4,]    0    0   -1

But then I get the same result as with contr.helmert(4). What is wrong I 
really don't get it!

Thank you,

Wolfgang Pauli
On Sunday January 11 2004 18:07, you wrote: