Re: [Freesurfer] matrix is ill-conditioned or badly scaled, condno = 27492.1

2016-02-07 Thread Douglas Greve

Try multiplying the covariate by 100 (after subtracting the mean).

On 2/5/16 8:28 AM, Nabin Koirala wrote:
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 
mailto: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
mailto: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 inf

Re: [Freesurfer] matrix is ill-conditioned or badly scaled, condno = 27492.1

2016-02-05 Thread Nabin Koirala
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 
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  > 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
> 

Re: [Freesurfer] matrix is ill-conditioned or badly scaled, condno = 27492.1

2016-02-04 Thread Douglas Greve
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 
mailto: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 list
Freesurfer@nmr.mgh.harvard.edu
https://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 y

Re: [Freesurfer] matrix is ill-conditioned or badly scaled, condno = 27492.1

2016-02-02 Thread Nabin Koirala
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 
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 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.


Re: [Freesurfer] matrix is ill-conditioned or badly scaled, condno = 27492.1

2016-02-01 Thread Douglas N Greve
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] matrix is ill-conditioned or badly scaled, condno = 27492.1

2016-01-30 Thread Nabin Koirala
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


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.