Hello SPM Experts,
I would like to perform a within subjects repeated measures analysis. To do this I am performing a flexible factorial analysis with the following factors:
1) Subject (1 group/ 7 subjects)
2) Condition A (3 measures)
3) Condition B (2 measures)
(similar to instructions given here: https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0912&L=spm&P=R50884&1=spm&9=A&J=on&d=No+Match%3BMatch%3BMatches&z=4)
I've attached a sample of my design matrix to this email.
To test for differences in Condition A (Main effects), I used to contrast :
[zeros (1,n), 0 0 0 -0.5 .5 -.5 .5 0 0;
zeros (1,n), 0 0 0 -0.5 .5 0 0 -.5 .5 0 0;
zeros (1,n),0 0 0 -0.5 .5 0 0 0 0 -.5 .5]
and To test the for differences in Condition B (Main Effects), I used to contrast:
[zeros (1,n), -1 0 1 0 0 -.5 -.5 0 0 .5 .5;
zeros (1,n), -1 1 0 0 0 -.5 -.5 .5 .5 0 0;
zeros (1,n), 0 -1 1 0 0 0 0 -.5 -.5 .5 .5]
I am not completely sure about whether these contrasts are correct. I would also like to test for an interaction between condition A and B, however, I do not know how to generate that contrast.
Any feedback/advice would be appreciated.
Thanks,
Tracy
|