Hi Aditya,
I would just script this. Note that you can use 3dROIstats to
get the average per subject (but in one command), and redirect
the output to a 1D file. You can then get the mean from that
via 3dTstat.
Consider something like this:
----------------------------------------------------------------------
foreach cond ( cA cB cC )
3dROIstats -quiet -mask mask+tlrc beta.subj*.$cond+tlrc.HEAD > stats.$cond.1D
3dTstat -mean -prefix - stats.$cond.1D\' > mean.$cond.1D
end
cat mean.*.1D > condition.means.1D
3dTstat -mean -prefix - condition.means.1D\' > final.mean.1D
----------------------------------------------------------------------
- rick