Hi Freesurfer Experts,

I have tried to alter wiki example FSGD table into my analyses these days, according to your advice, but there are still some problems. Supposed there are 6 groups (maleclass1, maleclass2, maleclass3, femaleclass1, femaleclass2, femaleclass3) and 2 Variables (age, education) in my study, I have already known that:

male.class1-vs-class2.mtx    1 -1 0 0 0 0    0 0 0 0 0 0    0 0 0 0 0 0

female. class1-vs-class3.mtx  0 0 0 1 0 -1   0 0 0 0 0 0    0 0 0 0 0 0

but I am not sure whether it is right for:

male-female.mtx  [1 1 1 -1 -1 -1  0 0 0 0 0 0   0 0 0 0 0 0]/3  (Null Hypothesis: is there a difference between Males and Females regressing out the effects of class, age, and education?)

class1-class2.mtx  [1 -1 0 1 -1 0  0 0 0 0 0 0   0 0 0 0 0 0 ]/2  (Null Hypothesis: is there a difference between class1 and class2 regressing out the effects of gender, age, and education?)

class.diff.mtx   +0.5 -0.5 0 +0.5 -0.5 0   0 0 0 0 0 0    0 0 0 0 0 0

+0.5 0 -0.5 +0.5 0 -0.5  0 0 0 0 0 0   0 0 0 0 0 0     (Null Hypothesis: is there a difference between class1, class2 and class3 regressing out the effects of gender, age, and educatio?)

gender-x-class.mtx |+1 -1 0 -1 +1 0   0 0 0 0 0 0   0 0 0 0 0 0 |

|+1 0 -1 -1 0 +1   0 0 0 0 0 0   0 0 0 0 0 0 |/2 
(Null Hypothesis: is there an interaction between gender and class regressing out the effects of age and education?)

gender-x-class-x-age.mtx |0 0 0 0 0 0   +1 -1 0 -1 +1 0   0 0 0 0 0 0 |

|0 0 0 0 0 0   +1 0 -1 -1 0 +1   0 0 0 0 0 0 |/2 
(Null Hypothesis: is there an interaction between gender, class and age regressing out the effect of education?)

gender-x-class-x-age-x-education.mtx |0 0 0 0 0 0   +1 -1 0 -1 +1 0   0 0 0 0 0 0 |

|0 0 0 0 0 0   +1 0 -1 -1 0 +1   0 0 0 0 0 0 |/2

|0 0 0 0 0 0   0 0 0 0 0 0   +1 -1 0 -1 +1 0 |

|0 0 0 0 0 0   0 0 0 0 0 0   +1 0 -1 -1 0 +1 |/2 
 (Null Hypothesis: is there an interaction between gender, class, age and education?)

Truly need your advice. Thanks a lot !

Best,

Li