Hello, Doug,
I ran into an error when I ran mri_glmfit after I finished mris_preproc --paired-diff.
ERROR: dimension mismatch between y and x. y has 5 inputs, x has 10 inputs.
I think it is because the mris_preproc -paired-diff generated 5 inputs of difference within 5 pairs, but my FSGD file still has 10 images. In addition, I do not want to include age as regressor. but if I deleted the age column, there is no variable. I attach my FSGD file. Please tell me how to modify the FSGD file. Thank you,
Xin Wang
________________________________
From: Doug Greve [mailto:greve@nmr.mgh.harvard.edu] Sent: Fri 10/12/2007 4:21 PM To: Wang, Xin Cc: freesurfer Subject: Re: [Freesurfer] model for pair-T test
The --paired-diff options just take the difference between adjacently specfied inputs. You then set up your design matrix or FSGD file and then run mri_glmfit. The --help for mri_glmfit has a lot of info about the glm analysis. If you just want to test whether the difference is 0, you can use the --osgm flag (one-sample group mean).
doug
Wang, Xin wrote:
Please give me more detailed explanations of how to run mris_preproc --paired-diff or (--paired-diff-norm)? and how to setup the GLM after run this commend? I could not find needed information on the website. Thank you very much. Xin ________________________________
From: Doug Greve [mailto:greve@nmr.mgh.harvard.edu] Sent: Fri 10/5/2007 5:20 PM To: Wang, Xin Cc: freesurfer Subject: Re: [Freesurfer] model for pair-T test Can you use the --paired-diff to mris_preproc? Wang, Xin wrote:
Hello, group, Could anybody tell me how to do the pair T test and the repeat measurement F test? I will really appreciate if you can share the steps and GLM of the tests. I am using the old freesurfer group analysis. Thank you, very much, Xin Wang ________________________________
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
-- Douglas N. Greve, Ph.D. MGH-NMR Center greve@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 In order to help us help you, please follow the steps in: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting