Dear Freesurfers,

I am trying to run a GLM analysis with 3 groups (1)long disease duration MS, 2)short disease duration MS, 3)healthy controls) and 1 variable (age).


According to the formula provided on freewiki:

N classes (N of variables + 1),

 is this contrast matrix correct?


1 -1 0 0 0 0 

1 0 -1 0 0 0 


thank you,

Valeria