I did that but it still does not work, it is almost the same error except the condno is now 15521.8 before it was 27492.1, though I am not sure if that tells something about the error. Could it be something else ? Thank you.
Regards, Nabin On Thu, Feb 4, 2016 at 5:59 PM, Douglas Greve <gr...@nmr.mgh.harvard.edu> wrote: > I'm not sure what the difference is. Compute the mean of the 2nd column, > then subtract that number from the values in the 2nd column. > doug > > > On 2/2/16 7:30 AM, Nabin Koirala wrote: > > Thank you for your response . Sorry but for my understanding, should i > substract the mean from the data (demean) or you mean to remove the value > which is equal to the mean ? > > Thank you. > > Regards, > Nabin > > On Mon, Feb 1, 2016 at 5:21 PM, Douglas N Greve <gr...@nmr.mgh.harvard.edu > > wrote: > >> Try removing the mean from your covariate >> >> On 01/30/2016 01:31 PM, Nabin Koirala wrote: >> > Dear Freesurfer forum, >> > >> > 'I am trying to run qdec analysis for a group of subjects to see if >> > correlation exists but I am getting this error only for this >> > particular set of data but could not figure out what is exactly wrong >> > with it. Your suggestion would be greatly appreciated. >> > >> > Following is the terminal output for the process: >> > .......... >> > Saving design matrix to >> /g/f/h/s/freesurfer/subjects/qdec/Untitled/Xg.dat >> > Normalized matrix condition is 27492.1 >> > Design matrix ------------------ >> > 1.000 0.408; >> > 1.000 0.417; >> > 1.000 0.417; >> > 1.000 0.405; >> > 1.000 0.412; >> > 1.000 0.412; >> > 1.000 0.411; >> > 1.000 0.417; >> > 1.000 0.405; >> > 1.000 0.406; >> > 1.000 0.402; >> > 1.000 0.419; >> > 1.000 0.413; >> > 1.000 0.413; >> > -------------------------------- >> > ERROR: matrix is ill-conditioned or badly scaled, condno = 27492.1 >> > -------------------------------- >> > 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 /g/f/h/s/freesurfer/subjects/qdec/Untitled/y.mgh >> > --fsgd /g/f/h/s/freesurfer/subjects/qdec/Untitled/qdec.fsgd dods >> > --glmdir /g/f/h/s/freesurfer/subjects/qdec/Untitled --surf fsaverage >> > lh --label /g/f/h/s/freesurfer/subjects/fsaverage/label/lh.aparc.label >> > --C >> > >> /g/f/h/s/freesurfer/subjects/qdec/Untitled/contrasts/lh-Avg-Intercept-thickness.mat >> > --C >> > >> /g/f/h/s/freesurfer/subjects/qdec/Untitled/contrasts/lh-Avg-thickness-alpha1-Cor.mat >> > >> > 2. The FSGD file (if using one) >> > 3. And the design matrix above >> > Error in Analyze: command failed: mri_glmfit --y >> > /g/f/h/s/freesurfer/subjects/qdec/Untitled/y.mgh --fsgd >> > /g/f/h/s/freesurfer/subjects/qdec/Untitled/qdec.fsgd dods --glmdir >> > /g/f/h/s/freesurfer/subjects/qdec/Untitled --surf fsaverage lh --label >> > /g/f/h/s/freesurfer/subjects/fsaverage/label/lh.aparc.label --C >> > >> /g/f/h/s/freesurfer/subjects/qdec/Untitled/contrasts/lh-Avg-Intercept-thickness.mat >> > --C >> > >> /g/f/h/s/freesurfer/subjects/qdec/Untitled/contrasts/lh-Avg-thickness-alpha1-Cor.mat >> > >> > Many thanks in advance. >> > >> > Regards, >> > Nabin >> > >> > >> > _______________________________________________ >> > 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: https://gate.nmr.mgh.harvard.edu/filedrop2 >> 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. >> >> > > > _______________________________________________ > Freesurfer mailing > listfreesur...@nmr.mgh.harvard.eduhttps://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 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. > >
_______________________________________________ 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.