External Email - Use Caution        

Sure, attached are the files again and here is our previous correspondence:

Original question:

After running the permutation and finding significant clusters, I am trying to 
calculate the value for each participant for these significant clusters.

The perm.th30.abs.y.ocn.dat contain the raw values, and I am trying to get the 
adjusted values accounting for age, sex, and ICV (this is a three group 
design).  What would be the best way of calculating that?

Your response:

There is not an easy way to do it, but you can do it in matlab
cd glmdir
X = load('Xg.dat');
y = load('perm.th30.abs.y.ocn.dat');
beta = inv(X'*X)*X'*y;
yhat = X(:,[i j k ...]*beta([i j k ...])

where i j k ... indicate the factors you want keep in your data. Each
factor gets a column in the design matrix (and a beta). If you need help
figuring this out, send the fsgd file.


---

Jessica Hua, M.A.
Cognitive and Emotional Control Lab
Doctoral Candidate Clinical Psychology
University of Missouri

Attachment: GroupComparison_AllMRI.AgeSexICV.fsgd
Description: GroupComparison_AllMRI.AgeSexICV.fsgd

Attachment: Xg.dat
Description: Xg.dat

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to