You can enter mean-centered (demeaned) values into the fsgd, but be aware that this is something that you usually do not want to do (though maybe ok for an interaction term?). Below is something I posted a few weeks ago on this subject.
doug
The important idea here is the difference between computing/testing the mean response and computing the intercept. The intercept is only meaningful when a continuous variable is present. When you do a statistical test, the results will be different for two possible reasons:
1. The statistical efficiencies are different (due to correlations caused by the non-zero mean of the continuous variable), which will reduce significance. This is always the case.
2. The values being tested (ie, the mean vs the intercept) are possibly different. I say "possibly" here because, scientifically speaking, there may be no effect of your continuous variable, in which case it would not add to the overall mean.
In my opinion, the most appropriate way to analyze the data is to leave the means in your continuous variables (ie, do not demean). Here's why. When you believe that a variable is important scientifically, you posit a model with a population effect (parameterized by an intercept) and the continuous variable (parameterized by a slope). BOTH OF THESE PARAMETERS ARE INDEPENDENT OF THE SAMPLE YOU HAVE CHOSEN. Therefore, when you perform statistical tests on these parameters, your results are independent of your sample -- very important when doing science! In contrast, the mean of your sample may be dependent on the sample you have chosen, and so statistical tests may only then apply to your sample.
For example, if age adds to the hemodynamic response (HRF), older subjects will have a larger amplitude to their HRF. Let's say you perform an experiment on a group of subjects and find that their mean HRF is significantly different than 0. Someone else tries to replicate your experiment and can't. Upon further examination, your sample was somewhat older than the other which caused your sample to have a higher mean and so achieve significance. When both sets are reanalyzed using age as a nuisance variable, the results are the same.
This does not necessarily mean you should not demean your variables, but you just have to be careful what conclusions you draw from it. Note: this applies to variables and regressors -- don't demean your observed raw data (unless you know what you are doing).
Jerry Yeou-Wei Chen wrote:
Hello,
Are regressors mean centered for mri_glmfit? Judging by one of my previous Xg.dat files, it does not appear so.
If not, I plan to manually enter my design matrix, with mean centered regressors. Do I need to enter the corresponding values in the FSGD file as mean centered? or can they remain non- mean centered?
Thanks,
- Jerry
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer