Christian,
The .fsgd file would look like this:
GroupDescriptorFile 1 Title Untitled MeasurementName thickness Class Main Variables age Input 030815_4882 Main 15.000000 Input 030713_1197 Main 18.000000 Input 000803_vc4829 Main 20.000000 Input 010728_vc7352 Main 20.000000 Input 010819_vc7505 Main 21.000000 . . .
and the contrast is: 0 1
The 'qdec' app might work well for you in this sort of analysis. At the very least it will generate the .fsgd and contrast matrices for you, which you can then manually input to mri_glmfit.
Nick
On Mon, 2008-10-27 at 09:17 +0100, c.k.tamnes@psykologi.uio.no wrote:
Hi,
Does anyone know how to run a glm with only one continous variable and without a class variable?
I would like to run mri_glmfit with age as the only variable, but I can't figure out how to do this without including and controlling for a class variable such as gender.
I have run the command: mri_glmfir --glmdir ../glm/dev_age_rh --y preproc/rh-thick15.mgz --fsgd fsgd_age.txt doss --surf average rh --C contrast_age
The fsgd file contains gender as a class variable (F or M) and age as a continous variable. The contrast is: 0 0 1
Any tips would be appreciated.
best regards, Christian