Hi Ed, the problem is that your covariates are highly correlated. Eg, 
column 1 is nearly identical to column 17.
doug


On 01/24/2013 06:36 AM, Ed Gronenschild wrote:
> Hi,
>
> Running mri_glmfit ( v5.0.0, Mac OSX10.6) I got he following
> 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.
> If you seek help with this problem, make sure to send:
>   1. Your command line:
>     mri_glmfit --y lh.sib_con_cann_aangepast3.thickness.sm0.mgh --fsgd 
> ../../STATS/FSGD/age_gender_scan_educ_hand_cannabis/fsgd_sib_con_cann_aangepast3.fsgd
>  
> dods --glmdir lh.sib_con_cann_aangepast3.dods.sm0.glmdir --surf 
> fsaverage lh --C 
> ../../STATS/FSGD/age_gender_scan_educ_hand_cannabis/group_thickness_gender_scan_age_educ_hand_cann.mtx
>  
>
>   2. The FSGD file (if using one)
>   3. And the design matrix above
>
> Please find attached the requested files.
>
> I noticed that rows 68 and 147 of the matrix Xg.dat are identical,
> and most probably caused the error.
> In the fsgd file I see that the correspondig cases indeed have
> identical values, although they are referring to different data.
> How to proceed?
>
> Cheers,
> Ed
>
> =
>
>
>
>
>
>
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

_______________________________________________
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 Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to