Good morning Freesurfer developers,
While using the mri-glmfit command on 20 subjects. I got the following error-
--------------------------------
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.bin --y test.10B.mgh --fsgd TEST.fsgd --C TEST.mtx --surf fsaverage lh --cortex --glmdir test.glmdir
2. The FSGD file (if using one)
3. And the design matrix above
Attempting to diagnose further
SumSq: Min=0.000000 (col 6), Max=228.790298 (col 3)
The scale is much different between columns 6 and 3, you may want to
normalize by subtracting the mean and dividing by the standard deviation.
Column 6, all values are 0.
- My command line used was-
mri_glmfit --y test.10B.mgh --fsgd TEST.fsgd --C TEST.mtx --surf fsaverage lh --cortex --glmdir test.glmdir
2. My fsgd file and design matrix file are attached.
Thank you for your help.