External Email - Use Caution ---------- Forwarded message ---------- From: *abedi...@citymail.cuny.edu <abedi...@citymail.cuny.edu>* < abedi...@citymail.cuny.edu> Date: Thursday, April 11, 2019 Subject: Fw: mriglmfit error To: Amrita Bedi <amibedi...@gmail.com>
Amrita Bedi *Biomedical Engineering - Class of 2018* *The City College of New York - CUNY* ------------------------------ *From:* abedi...@citymail.cuny.edu *Sent:* Thursday, April 11, 2019 8:38 AM *To:* Freesurfer@nmr.mgh.harvard.edu *Subject:* mriglmfit error 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. 1. 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. Amrita Bedi
TEST.fsgd
Description: Binary data
Xg.dat
Description: Binary data
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer