External Email - Use Caution
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. What would be the best way of calculating that?
---
Jessica Hua, M.A. Cognitive and Emotional Control Lab Doctoral Candidate Clinical Psychology University of Missouri
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.
On 5/15/2020 12:10 PM, Hua, Jessica wrote:
External Email - Use Caution
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. What would be the best way of calculating that?
Jessica Hua, M.A. Cognitive and Emotional Control Lab Doctoral Candidate Clinical Psychology University of Missouri
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu