Re: [Freesurfer] Spearman correlation in FreeSurfer

2016-08-05 Thread martina.papmeyer
arvard.edu] Gesendet: Freitag, 5. August 2016 17:18 An: freesurfer@nmr.mgh.harvard.edu Betreff: Re: [Freesurfer] Spearman correlation in FreeSurfer We don't have a spearman analysis in FS. You can load the data into matlab and do it, something like ymri = MRIread('yourdata.mgh'); y = f

Re: [Freesurfer] Spearman correlation in FreeSurfer

2016-08-05 Thread Douglas N Greve
We don't have a spearman analysis in FS. You can load the data into matlab and do it, something like ymri = MRIread('yourdata.mgh'); y = fast_vol2mat(ymri); % y is now a matrix that is nsubjects by nvertices % Do spearman analysis on each vertex sp = yourspearman(y,X); % sp should be a 1xnverti

[Freesurfer] Spearman correlation in FreeSurfer

2016-08-05 Thread martina.papmeyer
Dear FS experts I would like to examine associations between cortical thickness and sum scores of a scale (ordinal scale). Accordingly, I would need to conduct Spearman rather than Pearson correlation analyses. I found the following post to this email list, indicating that the GLM model in FS i