Hello
Iā€™m trying to do an group analysis using mir_glmfit but I met this error. 
ERROR: matrix is ill-conditioned or badly scaled, condno = 165279



1. my command line was 

mri_glmfit --y lh.age_edu.thickness.10b.mgh --fsgd age_edu.fsgd --C C_age.edu.mtx --surf fsaverage lh --cortex --glmdir lh.age_edu.glmdir

2. I attached the fsgd file, which was made in edit. It contains 1 class (2 levels) and 2 variables (age & education)

3. contrast is ā€˜-1 1 0 0 0 0ā€™
4. design matrix is like below
Design matrix ------------------
 1.000   0.000   74.000   0.000   14.000   0.000;
 1.000   0.000   70.000   0.000   12.000   0.000;
 1.000   0.000   73.000   0.000   6.000   0.000;
 1.000   0.000   84.000   0.000   15.000   0.000;
 0.000   1.000   0.000   60.000   0.000   12.000;
 0.000   1.000   0.000   59.000   0.000   12.000;
 0.000   1.000   0.000   63.000   0.000   9.000;
 0.000   1.000   0.000   60.000   0.000   12.000;
--------------------------------
ERROR: matrix is ill-conditioned or badly scaled, condno = 164365

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.age_edu.thickness.10b.mgh --fsgd age_edu.fsgd --C C_age.edu.mtx --surf fsaverage lh --cortex --glmdir lh.age_edu.glmdir 
  2. The FSGD file (if using one)
  3. And the design matrix above



thanks, 

H.A. LEE 

Attachment: age_edu.fsgd
Description: Binary data

_______________________________________________
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