Design matrix ------------------ 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1748337.50000 0.00000 13.00000 0.00000; 0.00000 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1592900.62500 0.00000 15.00000; 1.00000 0.00000 21.00000 0.00000 1.00000 0.00000 1400097.62500 0.00000 16.00000 0.00000; 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1477991.00000 0.00000 13.00000 0.00000; 1.00000 0.00000 20.00000 0.00000 0.00000 0.00000 1728702.62500 0.00000 15.00000 0.00000; 0.00000 1.00000 0.00000 19.00000 0.00000 0.00000 0.00000 1714817.62500 0.00000 13.00000; 1.00000 0.00000 19.00000 0.00000 0.00000 0.00000 1789348.87500 0.00000 14.00000 0.00000; 1.00000 0.00000 19.00000 0.00000 1.00000 0.00000 1354970.75000 0.00000 14.00000 0.00000; 0.00000 1.00000 0.00000 19.00000 0.00000 1.00000 0.00000 1730684.25000 0.00000 15.00000; 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1565470.75000 0.00000 13.00000 0.00000; 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1415009.87500 0.00000 13.00000 0.00000; 0.00000 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1499606.50000 0.00000 13.00000; 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1250138.62500 0.00000 15.00000 0.00000; 0.00000 1.00000 0.00000 21.00000 0.00000 1.00000 0.00000 1317163.87500 0.00000 16.00000; 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1565789.37500 0.00000 15.00000 0.00000; 0.00000 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1457881.75000 0.00000 15.00000; 1.00000 0.00000 20.00000 0.00000 0.00000 0.00000 1606193.37500 0.00000 15.00000 0.00000; 0.00000 1.00000 0.00000 18.00000 0.00000 0.00000 0.00000 1676644.87500 0.00000 13.00000; 1.00000 0.00000 22.00000 0.00000 0.00000 0.00000 1719572.75000 0.00000 16.00000 0.00000; 0.00000 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1665862.00000 0.00000 16.00000; 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1549336.00000 0.00000 15.00000 0.00000; 1.00000 0.00000 22.00000 0.00000 1.00000 0.00000 1473803.50000 0.00000 17.00000 0.00000; 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1435790.87500 0.00000 16.00000 0.00000; 1.00000 0.00000 21.00000 0.00000 1.00000 0.00000 1594835.12500 0.00000 16.00000 0.00000; 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1588991.37500 0.00000 14.00000 0.00000; 1.00000 0.00000 19.00000 0.00000 1.00000 0.00000 1443619.87500 0.00000 15.00000 0.00000; 0.00000 1.00000 0.00000 21.00000 0.00000 1.00000 0.00000 1523353.62500 0.00000 16.00000; 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1378987.50000 0.00000 16.00000 0.00000; 0.00000 1.00000 0.00000 21.00000 0.00000 1.00000 0.00000 1352852.00000 0.00000 16.00000; 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1552910.87500 0.00000 14.00000 0.00000; 1.00000 0.00000 21.00000 0.00000 1.00000 0.00000 1503563.37500 0.00000 16.00000 0.00000; 1.00000 0.00000 20.00000 0.00000 0.00000 0.00000 1761239.37500 0.00000 14.00000 0.00000; 1.00000 0.00000 21.00000 0.00000 1.00000 0.00000 1553758.50000 0.00000 16.00000 0.00000; 1.00000 0.00000 21.00000 0.00000 0.00000 0.00000 1601549.25000 0.00000 15.00000 0.00000; 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1339641.87500 0.00000 14.00000 0.00000; 1.00000 0.00000 21.00000 0.00000 0.00000 0.00000 1622667.25000 0.00000 14.00000 0.00000; 0.00000 1.00000 0.00000 22.00000 0.00000 0.00000 0.00000 1631163.25000 0.00000 16.00000; 1.00000 0.00000 21.00000 0.00000 1.00000 0.00000 1338871.62500 0.00000 15.00000 0.00000; 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1370663.25000 0.00000 13.00000 0.00000; 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1644049.12500 0.00000 13.00000 0.00000; 0.00000 1.00000 0.00000 20.00000 0.00000 0.00000 0.00000 1300754.75000 0.00000 14.00000; 0.00000 1.00000 0.00000 18.00000 0.00000 0.00000 0.00000 1543496.50000 0.00000 13.00000; 0.00000 1.00000 0.00000 18.00000 0.00000 0.00000 0.00000 1648029.37500 0.00000 13.00000; 1.00000 0.00000 18.00000 0.00000 0.00000 0.00000 1880522.62500 0.00000 13.00000 0.00000; 1.00000 0.00000 19.00000 0.00000 1.00000 0.00000 1354379.62500 0.00000 14.00000 0.00000; 0.00000 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1529968.75000 0.00000 13.00000; 0.00000 1.00000 0.00000 22.00000 0.00000 1.00000 0.00000 1440457.75000 0.00000 16.00000; 0.00000 1.00000 0.00000 19.00000 0.00000 0.00000 0.00000 1845130.62500 0.00000 14.00000; 1.00000 0.00000 20.00000 0.00000 1.00000 0.00000 1611021.37500 0.00000 14.00000 0.00000; 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1367959.75000 0.00000 13.00000 0.00000; 1.00000 0.00000 21.00000 0.00000 1.00000 0.00000 1332864.87500 0.00000 15.00000 0.00000; 1.00000 0.00000 18.00000 0.00000 0.00000 0.00000 1682700.37500 0.00000 13.00000 0.00000; 0.00000 1.00000 0.00000 20.00000 0.00000 0.00000 0.00000 1727934.37500 0.00000 15.00000; 1.00000 0.00000 18.00000 0.00000 1.00000 0.00000 1413769.62500 0.00000 13.00000 0.00000; 1.00000 0.00000 19.00000 0.00000 1.00000 0.00000 1628516.62500 0.00000 14.00000 0.00000; 0.00000 1.00000 0.00000 19.00000 0.00000 1.00000 0.00000 1424912.25000 0.00000 14.00000; -------------------------------- ERROR: matrix is ill-conditioned or badly scaled, condno = 19804 -------------------------------- 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 rh.thickness.10.mgh --fsgd g2v4.fsgd dods --C group.diff.mtx --surf fsaverage rh --cortex --glmdir rh.g2v4.glmdir 2. The FSGD file (if using one) 3. And the design matrix above Attempting to diagnose further SumSq: Min=3.316625 (col 6), Max=9357956.000000 (col 7) The scale is much different between columns 6 and 7, you may want to normalize by subtracting the mean and dividing by the standard deviation.