Not necessarily. This error can arise if any of the columns are linearly dependent. But try rescaling first
On 5/9/2025 8:29 AM, Ane Gurtubay wrote:
External Email - Use Caution
Dear Douglas,
whenever we get this error *ERROR: matrix is ill-conditioned or badly scaled* as in https://www.mail-archive.com/freesurfer%40nmr.mgh.harvard.edu/msg74674.html https://secure-web.cisco.com/1oJ3YaCat1otNMsv9b4ieBxS300R4fr4eMozJ0nxWe7N3be6UiZPOz-7Qn1pHrV1BxBwuIglZvxsU8pwnpVYjSL8ZLJQaOWFLde82Ut6oMIZheJq9Kvq3I3UAQfPLBKszAL7mleZbDK3zkmaziKTn-cCAzmKHA6OkOObXz5Zq5Ms7wfM9pQEddmeNHHWQiRuxd6HrWWpBsQR92OBq2S8Y45FlBBgeD2kYjmbMJBJmi22_-GvPDswXQDAAZCbO2UnMRcmaCQEpmgAZgfMWu1aHvlehNfBD7Xf59euDmJqezZJwGS4HHMgQuHEmzB6wrbH9/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%2540nmr.mgh.harvard.edu%2Fmsg74674.html, should we normalize the values in the fsgd file or the design matrix (Xg.dat)?
Thank you in advance, Ane
Ane Gurtubay Antolin, PhD Ikerbasque Research Fellow Basque Center on Cognition, Brain and Language (BCBL) http://www.bcbl.eu/en/ane-gurtubay-antolin http://secure-web.cisco.com/10Mht_1YL1Yjet8TT5lrE72xv1nVXLPfSiYFb6jv4xo-YOw5uvcwywM7LxcRARDiDPThoIqKdavbHrv6iP9NHelyvdYATT6WJEgCEzWacooqbajfLwInY_nVSp4VmstQNz0Vy1WrDwVBpk9HE1SehAOZbHdDmpTQh1M04XVDY_OHv6pNcDUvv6h05itlrMTdp-he_S9b7cRp2ibNJEPjr7RmXQFYh8fQc7lOvmSdFW685mWdyOTgbBpSuvRgKRxs_fKxyUMUdGNhHZaiPm9NUc5Te14WjjljeELk11An7uiN6SkX9qDmP6dG85a__d_iX/http%3A%2F%2Fwww.bcbl.eu%2Fen%2Fane-gurtubay-antolin
freesurfer@nmr.mgh.harvard.edu