Print

Print


Hello, 

I am trying to run an ANCOVA model in FSL.  I have one factor, 4 levels and I have 4 covariates.  However, I am not sure how to set up the contrasts.

I read the information on the FSLWiki and I have the following design matrix

design.mat (just as an example)

Sub 1             1 0 0 0 C1 C2 C3 C4
Sub 2             1 0 0 0 C1 C2 C3 C4
Sub 3             0 1 0 0 C1 C2 C3 C4
Sub 4             0 1 0 0 C1 C2 C3 C4
Sub 5             0 0 1 0 C1 C2 C3 C4
Sub 6             0 0 1 0 C1 C2 C3 C4
Sub 7             0 0 0 1 C1 C2 C3 C4
Sub 8             0 0 0 1 C1 C2 C3 C4


For the contrast (design.con), I have the following

1 0 0 -1 0 0 0 0
0 1 0 -1 0 0 0 0
0 0 1 -1 0 0 0 0  For the F-test

Can I have the following contrasts? (all other pairwise comparisons between the groups)
1 -1 0 0 0 0 0 0
-1 1 0 0 0 0 0 0
1 0 -1 0 0 0 0 0
-1 0 1 0 0 0 0 0
-1 0 0 1 0 0 0 0
0 1 -1 0 0 0 0 0
0 -1 1 0 0 0 0 0
0 -1 0 1 0 0 0 0
0 0 -1 1 0 0 0 0

Thanks for the help,
Bedda