Linda, try demeaning your covariates and see if the problem goes away doug
On 01/30/2014 03:24 PM, Linda Zhang wrote: > Dear all, > > Whilst running mri_glmfit, the following error occurred: > > ERROR: matrix is ill-conditioned or badly scaled, condno = 12375.1 > > I've attached the design matrix, the fsgd file, and one of the > contrast matrices as an example. The command line was: > > mri_glmfit --glmdir lh.all.thickness.glmdir --y lh.thickness.10.mgh > --fsgd all.fsgd dods --C allavovsallcvo.mtx --C avovscvo.mtx --C > mavovsavo.mtx --C mavovsmcvo.mtx --C mcvovscvo.mtx --surf fsaverage lh > --cortex > > What should I change? > > Cheers, > Linda > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2 www.nmr.mgh.harvard.edu/facility/filedrop/index.html Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/ _______________________________________________ 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.