I found that by using Proc Mixed in SAS to run a repeated measure ANOVA, the p-values from the table "Solution for Fixed Effects" are different from the table "Type 3 Tests of Fixed Effects" when interaction term is included.

E.g. for group, p-value in "Solution for Fixed Effects" is 0.4967. However, p-value is 0.9285 in " Type 3 Tests of Fixed Effects".

When there is no interaction term, the results from both tables will be the same. Should I only use the result from "Type 3 Tests of Fixed Effects"?

proc mixed data=result covtest noclprint; class gp sub time;

model Y = gp time gp*time / solution ;

lsmeans gp / pdiff cl;

repeated time / subject=sub type=un;

run;

Solution for Fixed Effects

Effect gp time Estimate Standard Error DF t Value (Pr > |t|)

Intercept 3.8000 1.1916 8 3.19 (0.0128)

gp 1 1.2000 1.6852 8 0.71 (0.4967)

gp 2 0 . . . .

time 1 1.2000 0.8888 8 1.35 (0.2139)

time 2 0.6000 0.5292 8 1.13 (0.2897)

time 3 0 . . . .

gp*time 1 1 -2.4000 1.2570 8 -1.91 (0.0926)

gp*time 1 2 -1.6000 0.7483 8 -2.14 (0.0650)

gp*time 1 3 0 . . . .

gp*time 2 1 0 . . . .

gp*time 2 2 0 . . . .

gp*time 2 3 0 . . . .

Type 3 Tests of Fixed Effects

Effect Num DF Den DF F Value Pr > F

gp 1 8 0.01 (0.9285)

time 2 8 3.29 (0.0906)

gp*time 2 8 2.67 (0.1296)

Similar questions and discussions