External Email - Use Caution
Dear experts, I would like to run mri_glmfit in a group analysis. However, I met the following error when I added the medicationload as variable in my fsgd file. Since I have 305 subjects and only 75 of these have medication load, it seems to this variable includes too many zero. Just I guess. The error: ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08\ \ \ --------------------------------\ -------- ERROR: READ THIS -----------------\ --vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv-----\ 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.volume.BDHC3Study.10.mgh --fsgd FSGD/BDHC3Study.fsgd --C Contrasts/HC3-BD3.mtx --C Contrasts/BD3-HC3.mtx --surf fsaverage lh --cortex --glmdir lh.volume.BDHC3Study.10.glmdir \ 2. The terminal output of this program (ie, everything it prints to the screen)\ 3. The FSGD file (FSGD/BDHC3Study.fsgd)\ 4. The design matrix lh.volume.BDHC3Study.10.glmdir/Xg.dat\ Attempting to diagnose further \ SumSq: Min=6.368664 (col 8), Max=16.261612 (col 7)\ ... could not determine the cause of the problem\ --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----\ }
I attached my terminal output, fsgd file, and design matrix
Thanks
Yuan
HCs always have 0 medicationload so it is not possible to measure a load slope for them. Is it the case that a BD with load=0 is the same as HC? If so, then just have one class. If not, do you expect the age, edu, and tiv slopes to differ between the groups? If not, then use DOSS (default was DODS).
On 9/11/2022 3:28 AM, Cao Yuan wrote:
External Email - Use Caution
Dear experts,
I would like to run mri_glmfit in a group analysis. However, I met the following error when I added the medicationload as variable in my fsgd file.
Since I have 305 subjects and only 75 of these have medication load, it seems to this variable includes too many zero. Just I guess.
The error:
ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08\
\
\
--------------------------------\
-------- ERROR: READ THIS -----------------\
--vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv-----\
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:\
- Your command line:\
mri_glmfit --y lh.volume.BDHC3Study.10.mgh --fsgd FSGD/BDHC3Study.fsgd --C Contrasts/HC3-BD3.mtx --C Contrasts/BD3-HC3.mtx --surf fsaverage lh --cortex --glmdir lh.volume.BDHC3Study.10.glmdir \
- The terminal output of this program (ie, everything it prints to
the screen)\
The FSGD file (FSGD/BDHC3Study.fsgd)\
The design matrix lh.volume.BDHC3Study.10.glmdir/Xg.dat\
Attempting to diagnose further \
SumSq: Min=6.368664 (col 8), Max=16.261612 (col 7)\
... could not determine the cause of the problem\
--^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----\
}
I attached my terminal output, fsgd file, and design matrix
Thanks
Yuan
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
Hi Douglas, Thank you for answering me. I think may be the DOSS would work.
Yuan
获取 Outlook for iOShttps://secure-web.cisco.com/18F5VLNmExvD5hNkfmBn4naBYZ_LyZym_Tw3Qq5GKLeaFvVRY-CQ3f4BMjxuQxOmVXcm7f1dODg9ITPIPXtg4wznSZGWKdSyNuj7HkPJ3ys6UWbr1HQr1LBRuMNl0tfSrEXpbZRHfog4Qmjfd0X6iIPTroNypXN7eHIyvXijq5CG4blwxty5XeEeY52jmrfEtmGmArxv1O16MCb5Wg3xRN2gr_NX7hHqLx9d2xkG70tTChXv9xuUAtgGiIBN2rwfV-MUqQnWDM7DX8JXr3uMon-biLKsZjPAT4d-mA43ocYLcYUqAoovznYY30aJiAx80JFgsZQ6IUAkSJTB06yX09Q/https%3A%2F%2Faka.ms%2Fo0ukef ________________________________ 发件人: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu 代表 Douglas N. Greve dgreve@mgh.harvard.edu 发送时间: Monday, September 12, 2022 10:10:45 PM 收件人: freesurfer@nmr.mgh.harvard.edu freesurfer@nmr.mgh.harvard.edu 主题: Re: [Freesurfer] GLM error: matrix is ill-conditioned or badly scale
HCs always have 0 medicationload so it is not possible to measure a load slope for them. Is it the case that a BD with load=0 is the same as HC? If so, then just have one class. If not, do you expect the age, edu, and tiv slopes to differ between the groups? If not, then use DOSS (default was DODS).
On 9/11/2022 3:28 AM, Cao Yuan wrote:
External Email - Use Caution
Dear experts,
I would like to run mri_glmfit in a group analysis. However, I met the following error when I added the medicationload as variable in my fsgd file.
Since I have 305 subjects and only 75 of these have medication load, it seems to this variable includes too many zero. Just I guess.
The error:
ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08\
\
\
--------------------------------\
-------- ERROR: READ THIS -----------------\
--vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv-----\
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.volume.BDHC3Study.10.mgh --fsgd FSGD/BDHC3Study.fsgd --C Contrasts/HC3-BD3.mtx --C Contrasts/BD3-HC3.mtx --surf fsaverage lh --cortex --glmdir lh.volume.BDHC3Study.10.glmdir \
2. The terminal output of this program (ie, everything it prints to the screen)\
3. The FSGD file (FSGD/BDHC3Study.fsgd)\
4. The design matrix lh.volume.BDHC3Study.10.glmdir/Xg.dat\
Attempting to diagnose further \
SumSq: Min=6.368664 (col 8), Max=16.261612 (col 7)\
... could not determine the cause of the problem\
--^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----\
}
I attached my terminal output, fsgd file, and design matrix
Thanks
Yuan
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/170kPqu0ENKM8JETgGMwhv6pWvGVAZKNRXe_LCDJ7RzkuzW...
freesurfer@nmr.mgh.harvard.edu