Can you send the fsgd and  the design matrix?

Goldman, Aaron (NIH/NIMH) [C] wrote:

Running that, the highest off-diagonal value was about 0.095. Is that enough that it should be a problem? I also tried running mri_glmfit with a fsgd file, and it claimed it was “not formatted properly.” Other than the fact that I have two class variables, my file looks identical to the example on the wiki, so I’m wondering if that was supposed to be encoded in some way other than how I did it. In that file, my lines look like:

 

Group Descriptor File

Title Title

Tessellation surface

Class NC

(other classes…)

Variables Age

Input Subject01 NC Male 42.35

(other subjects)

 

Is this how it’s supposed to be?

 

Thanks,

 

-Aaron-

 


From: Doug Greve [mailto:greve@nmr.mgh.harvard.edu]
Sent: Thursday, February 15, 2007 12:37 PM
To: Goldman, Aaron (NIH/NIMH) [C]
Cc: freesurfer@nmr.mgh.harvard.edu
Subject: Re: [Freesurfer] smoothing question

 

It sounds like there's something wrong with your design matrix. Try loading it into matlab and looking X'*X. If there are significant off-diagonal values, then that means that those components are too correlated to estimate.

doug

Goldman, Aaron (NIH/NIMH) [C] wrote:

Thanks. I had one more question now that I'm to mri_glmfit. Based on an
error message I'm getting, it seems something about my design matrix
isn't set up right. I'm inputting a text file for x in which each row
looks like:
 
1       0       0       1       0       42.35
 
with the first three numbers being my class variable of interest, the
next two gender, and the last age. It tells me the "matrix is
ill-conditioned or badly scaled, condno = 1e+08," and then prints out
the matrix and aborts. Do you know what I need to do differently for
this to work? Thanks,
 
-Aaron-
 
 
 
 
-----Original Message-----
From: Doug Greve [mailto:greve@nmr.mgh.harvard.edu] 
Sent: Wednesday, February 14, 2007 11:49 AM
To: Goldman, Aaron (NIH/NIMH) [C]
Cc: freesurfer@nmr.mgh.harvard.edu
Subject: Re: [Freesurfer] smoothing question
 
something like:
 
mri_surf2surf --s subject --hemi lh --sval input --tval output --fwhm 5
 
doug
 
Goldman, Aaron (NIH/NIMH) [C] wrote:
 
  
Hi, I'm attempting to do thickness analysis based on the guide at:
 
http://surfer.nmr.mgh.harvard.edu/docs/ftp/pub/docs/fsgroupana.pdf
 
For the smoothing part using mri_surf2surf (page 14), I was wondering
what a typical command line should look like.
 
Thanks,
 
-Aaron-
 
_______________________________________________
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
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358 
Fax: 617-726-7422
 
In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
 

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

In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting