Hello Freesurfer Experts! I am encountering the dreaded mri_glmfit error: matrix is ill-conditioned or badly scaled, condno = 1e+08. I have tried to troubleshoot how to solve this problem from other inquiries, however, I still have had no luck. I am trying to run a 4 group 1 variable analysis: with diagnosis being my variable of interest and trying to regress out the effects of sex and age.
1. Command line:
mri_glmfit --y lh.10.73.SZHC.mgh --fsgd g4v1.73.fsgd dods --C
SZ-HC.intercept.73.mtx --surf fsaverage lh --cortex --glmdir g4v1.73.lh
2. The FSGD file (if using one) (see attached)
3. And the design matrix:
0.5 0.5 -0.5 -0.5 0 0 0 0 (or see attached)
To the best of my knowledge, all my files are the right format and I
believe I have adequate number of participants per group?
I also tried mean centering my age variable. I had success when I ran just
a two group analysis (diagnosis) not controlling for sex or age, however,
as soon as I try to run four groups, I encounter this error. I have no idea
how to proceed.
I am looking forward to your response!
Thanks,
Lindsay
--
Lindsay Hanford, BSc, PhD Candidate
McMaster Integrative Neuroscience Discovery & Study | *Department of
Psychology, Neuroscience & Behaviour *
McMaster University *|* 1280 Main Street West, PC329 Psychology Building *|*
Hamilton, ON, L8S 4L8
905 525 9140 x24784 *|* [email protected]
g4v1.73.fsgd
Description: Binary data
SZ-HC.intercept.73.mtx
Description: Binary data
_______________________________________________ Freesurfer mailing list [email protected] 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.
