# 3dANOVA3: mean in each cell

Dear AFNI experts,

I had a experiment of 2 (between-subject factor: group a and b) x 2 (within-subject factor: condition 1 and 2 ) factorial design.
I would like to know how to exact the activation value in each of the cell a1, a2, b1 and b2 in 3dANOVA3 (k=4) at the group level.
-amean and -xmean do not work.
Your suggestions will be appreciated. Thanks!

Veda

I would like to know how to exact the activation value in each of the cell a1, a2,
b1 and b2 in 3dANOVA3 (k=4) at the group level.

Use -amean for a1 and a2. Similarly, use -bmean for b1 and b2.

Hi Gang,

Thank you for the response.
I did try to use amean and bmean but the command gave me the same value for two levels of one factor.
Here is my script
-amean i a1
-amean j a2
-bmean i b1
-bmean j b2 \

The problem is that the value of a1 is the same as a2 and b1 is identical to b2. But, the four values are supposed to be totally different.

-amean i a1 \
-amean j a2 \
-bmean i b1 \
-bmean j b2 \

They should be

-amean 1 a1 \
-amean 2 a2 \
-bmean 1 b1 \
-bmean 2 b2 \