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



From: Barletta, Valeria
Sent: Friday, December 7, 2018 2:23:10 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: glm analysis
 

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