Try demeaning your covariates. By demeaning, I mean to compute the mean across all subjects, then subtract the mean from all values (for each covariate).
doug


On 3/1/15 2:40 AM, Anders Hougaard wrote:
Dear all,

I'm comparing cortical thickness of a group of patients to a group of controls.
I want to regress out the effects of gender, age, disease severity and
disease duration.
For the controls, the last two parameters equals zero.

When running mri_glmfit, i get ERROR: matrix is ill-conditioned or
badly scaled, condno = 1e+08
See the design matrix attached. My contrasts are set as
1 -1 0 0 0 0 0 0 0 0
and
-1 1 0 0 0 0 0 0 0 0

What should I do to improve this?

All the best,
Anders


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to