It is probably a scaling problem with using age^2. Try normalizing the age^2 column (ie, remove the mean and divide by the sum of the squares)

On 3/9/2023 3:30 PM, Triebswetter, Curtis wrote:

        External Email - Use Caution

Hello Freesurfer experts,

I am attempting to run the command

mri_glmfit --y lh.RBS_ADRC_N0_control.10.mgh --fsgd RBS_ADRC_APOE_age22.fsgd dods --C APOE_ageINT.mtx  --surf fsaverage lh --cortex --glmdir lh.RBS_ADRC_N0.glmdir

On this .fsgd file:

“RBS_ADRC_APOE_age22.txt”

Using the following design matrix:

“lh.RBS_ADRC_N0.txt”

I am receiving the error message:

--------------------------------

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.

I would appreciate your insights into what may be the likely cause of this error and apologize that the files are in text format. If need be, I can convert these to their proper formats.

misc information:

Freesurfer 6.00

CentOS v7

Best,

Curtis


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to