Dear Freesurfer experts,
I'm wondering how to set a 2x2x2 anova

(diagnosis)x(gender)x(apoe)

g1MaleE4
g1MalenoE4
g1FemaleE4
g1FemalenoE4
g2MaleE4
g2MalenoE4
g2FemaleE4
g2FemalenoE4

option 1
[1       1       -1      -1         0        0           0         0]
[1       1        0       0        -1       -1           0         0]
[1       1        0       0         0        0          -1        -1] /2

option 2
[1         1         1       1        -1        -1         -1        -1]
[1         1        -1      -1         1         1         -1        -1]
[1        -1         1      -1         1        -1          1        -1] /4


And really have no idea about the interections between factors. Could you tell me for example how to evaluate the diagnosis x gender interaction effect and the interaction among the three factors (diagnosis x gender x apoe).

Bests regards,
Gabriel