程序如下:
第一个:
UNIANOVA Y BY A B
/METHOD=SSTYPE(3)
/INTERCEPT=INCLUDE
/EMMEANS=TABLES(A*B) COMPARE (A)
/EMMEANS=TABLES(A*B) COMPARE (B)
/PRINT=DESCRIPTIVE
/CRITERIA=ALPHA(.05)
/DESIGN=A B A*B.
第二个:
MANO y BY A(1 2) B(1 2)
/DESI
/DESI=A WITHIN B(1)
A WITHIN B(2)
/DESI=B WITHIN A(1)
B WITHIN A(2).