Hi all,
I'm trying to run what should be a very simple cortical thickness regression analysis in mri_glmfit, but could use some help with putting together my "C.txt" and FSGD files. I have two classes (e.g. Patient, Control) and two nuisance variables (i.e. Age, Gender).
My FSGD file looks like this: GroupDescriptorFile 1 Title FS_Thickness Class Patient Class Control Variables Age Gender Input 130725_GB49NP Patient 18 1 Input 130620_HU64KP Patient 21 2 ...
And my "C.txt" file looks like: 1 -1 0 0 0 0 ...which I'm pretty sure is wrong, but I don't quite understand what the columns mean, so any light shed would be appreciated!
-Justin
Your coding for gender is probably wrong. The way you have it set up, you are saying that gender#2 should have twice the thickness of gender #1. You should set up 4 classes (PM, PF, CM, CF)
On 04/23/2014 03:40 PM, Baker, Justin T.,M.D.,Ph.D. wrote:
Hi all,
I'm trying to run what should be a very simple cortical thickness regression analysis in mri_glmfit, but could use some help with putting together my "C.txt" and FSGD files. I have two classes (e.g. Patient, Control) and two nuisance variables (i.e. Age, Gender).
My FSGD file looks like this: GroupDescriptorFile 1 Title FS_Thickness Class Patient Class Control Variables Age Gender Input 130725_GB49NP Patient 18 1 Input 130620_HU64KP Patient 21 2 ...
And my "C.txt" file looks like: 1 -1 0 0 0 0 ...which I'm pretty sure is wrong, but I don't quite understand what the columns mean, so any light shed would be appreciated!
-Justin
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
I responded to your email with the email. I did not respond to the 2nd question because you FSGD file was messed up and you never said what contrast you wanted to test. The contrast matrix must have number of columns equal to the number of regressors (6 in your case). In your case, if you wanted test for Patients vs Controls then your contrast is right
On 04/23/2014 03:52 PM, Douglas N Greve wrote:
Your coding for gender is probably wrong. The way you have it set up, you are saying that gender#2 should have twice the thickness of gender #1. You should set up 4 classes (PM, PF, CM, CF)
On 04/23/2014 03:40 PM, Baker, Justin T.,M.D.,Ph.D. wrote:
Hi all,
I'm trying to run what should be a very simple cortical thickness regression analysis in mri_glmfit, but could use some help with putting together my "C.txt" and FSGD files. I have two classes (e.g. Patient, Control) and two nuisance variables (i.e. Age, Gender).
My FSGD file looks like this: GroupDescriptorFile 1 Title FS_Thickness Class Patient Class Control Variables Age Gender Input 130725_GB49NP Patient 18 1 Input 130620_HU64KP Patient 21 2 ...
And my "C.txt" file looks like: 1 -1 0 0 0 0 ...which I'm pretty sure is wrong, but I don't quite understand what the columns mean, so any light shed would be appreciated!
-Justin
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu