Hi Gang,
Thanks for your quick reply and for your help!
Here is the code that I used for 3dttest:
3dttest -prefix ttest_interaction \
-set1 \
/note/norman/srobison/SUBJ5/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ6/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ7/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ8/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ9/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ10/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ11/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ13/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ14/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ15/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/SUBJ16/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
-set2 \
/note/norman/srobison/ROSM3b/SUBJ2/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ3/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ4/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ5/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ7/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ8/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ9/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ10/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ11/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ12/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ13/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc \
/note/norman/srobison/ROSM3b/SUBJ14/DATA/AFNI/inc_nstosm4_corrvsincorr+tlrc
And here is the command line that I used in matlab:
[H,P,CI,STATS] = TTEST2(betas_rosm3b,betas_rosm3a)
Where "betas_rosm3b" contained 12 coefficients, and "betas_rosm3a" contained 11.
Please let me know if you need anything else.
All the best,
Susan