-20-
HExample:
í3dROIstats -mask ROI_fred+tlrc  Ôfunc_fred+tlrcÕ

åOutput shown in the shell (use > command to save into to a text file):
å
íFileSub-brickMean_1Mean_2Mean_3
ífunc_fred+tlrc033.344.455.5
ífunc_fred+tlrc122.266.6-21.2
ífunc_fred+tlrc22.39.7777.777
í
åThe Mean_1 column is the average over the ROI whose mask value is Ò1Ó.  The average is calculated for voxels from our functional dataset func_fred+tlrc, that fall within the ROI.  Averages are computed at each sub-brick (#0, #1, #2, etc)
íMeans have also been computed for ROIs whose mask value is Ò2Ó (Mean_2) and Ò3Ó (Mean_3)
HVery useful if you creat ROI masks for a number of subjects, using the same number codes for the same anatomical regions (e.g., 1=hippocampus, 2=amygdala, 3=superior temporal gyrus, etc.)
HYou can load the output of 3dROIstats into a spreadsheet for further analysis (e.g., statistics with other subjectsÕ data)