AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
August 05, 2013 09:16AM
Dear AFNI experts,

I'm doing multivariate pattern analysis and computing both within- and between-subject correlation-differences for group analysis. Individual subject maps have a mean of zero and unknown variance under the null hypothesis. Correlations were fisher-transformed before computing differences to make them more 'normal'.

Looking at the between- and within- maps separately (computed using 3dttest++ with -setA), the distribution of t-statistics seem quite similar. However the effect sizes are stronger in the within- than between- maps, in other words the between-maps show lower correlation differences (they are computed using more data) yet also show less variability across participants. A direct comparison with 3dttest++ with -setA, setB and -paired gives a lot of blobs for the within>between just because it has higher mean values.

My question is how to compare the within- and between-subject maps, taking into account differences in variability. I have tried to normalize the variance separately and then run a standard paired ttest as follows:

3dTstat -sos -prefix within_sos.nii.gz within.nii.gz
3dTstat -sos -prefix between_sos.nii.gz between_sos.nii.gz

3dcalc -prefix within_nrm.nii.gz -a within.nii.gz -b within_sos.nii.gz -expr 'a/sqrt(b)'
3dcalc -prefix between_nrm.nii.gz -a between.nii.gz -b between_sos.nii.gz -expr 'a/sqrt(b)'

3dttest++ -overwrite -prefix withinVSbetween.nii.gz -setA within_nrm.nii.gz -setB between_nrm.nii.gz -paired

and these maps look kinda reasonable... but I wonder if this approach if kosher, and if not, whether there are alternatives.

Thanks for you consideration,
best,
Nick
Subject Author Posted

within-subject comparisons with unequal variances

nick August 05, 2013 09:16AM

Re: within-subject comparisons with unequal variances

gang August 05, 2013 02:58PM

Re: within-subject comparisons with unequal variances

nick August 06, 2013 05:32AM

Re: within-subject comparisons with unequal variances

gang August 06, 2013 11:11AM

Re: within-subject comparisons with unequal variances

nick August 06, 2013 12:27PM

Re: within-subject comparisons with unequal variances

gang August 06, 2013 06:38PM

Re: within-subject comparisons with unequal variances

nick August 07, 2013 09:23AM

Re: within-subject comparisons with unequal variances

gang August 07, 2013 10:01AM

Re: within-subject comparisons with unequal variances

nick August 07, 2013 01:59PM

Re: within-subject comparisons with unequal variances

gang August 08, 2013 10:26AM

Re: within-subject comparisons with unequal variances

nick August 08, 2013 11:21AM