You have 16 groups so you need 16 items in the contrast vector (assuming
no continuous variables), so you need something like
-1 +1 repeated 8 times to give you 16
On 11/17/2021 7:23 AM, Thalhammer, Melissa wrote:
External Email - Use Caution
Dear Freesurfers,
I am struggling with the group analysis (FT vs. PT) to investigate
cortical thickness while correcting for scanner (4 sites) and sex. I
have posted a question already regarding the handling of discrete
variables and I got to know that all discrete variables should be
treated as classes rather than variables in the FSGD file. However, I
have difficulties implementing the correct Contrast file right now. My
classes are the following:
PTMaleScanner1
FTMaleScanner1
PTMaleScanner2
FTMaleScanner2
PTMaleScanner3
FTMaleScanner3
PTMaleScanner4
FTMaleScanner4
PTFemaleScanner1
FTFemaleScanner1
PTFemaleScanner2
FTFemaleScanner2
PTFemaleScanner3
FTFemaleScanner3
PTFemaleScanner4
FTFemaleScanner4
where the two groups FT vs. PT should be compared while regressing out
scanner and sex. As far as I understood, we need "1 -1" for the group
difference as well as "1 -1" for the gender difference. But how should
the complete contrast matrix look like? Thank you in advance!
Best,
Melissa
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Mass General Brigham
Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline . If
the e-mail was sent to you in error but does not contain patient information,
please contact the sender and properly dispose of the e-mail.
Please note that this e-mail is not secure (encrypted). If you do not wish to
continue communication over unencrypted e-mail, please notify the sender of
this message immediately. Continuing to send or respond to e-mail after
receiving this message means you understand and accept this risk and wish to
continue to communicate over unencrypted e-mail.