Hello FreeSurfer Group

I would like to make a two group comparison controlling for both gender and medication status. The only way that I have sorted out doing this is to make eight groups (ClinicalGroup x Sex x Meds) but I get an error that my design is poorly scaled:

 --------------------------------

ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08

--------------------------------

Possible problem with experimental design:

Check for duplicate entries and/or lack of range of

continuous variables within a class.

If you seek help with this problem, make sure to send:

  1. Your command line:

    mri_glmfit --y lh.lgi.mgh --fsgd FSGD_GroupSexTP_AntiPsych.txt --glmdir lh.lgi.glmdir --surf average lh --C contrast.txt 

  2. The FSGD file (if using one)

  3. And the design matrix above