二因素ANOVA的方差分解 (Variance decomposition of two-way ANOVA)
总和方 = 处理间和方 + 处理内和方, 即SS总 = SS处理内 + SS处理间
其中,处理间和方 = A的主效应 + B的主效应 + AXB交互作用, 即SS处理间 = SSA + SSB + SSAxB
SStotal = SSbetween + SSwithin, where SSbetween = SSA + SSB + SSAxB
SSA, SSB, SSAxB respectively represent the main effect of A, the main effect of B, and the interaction between A and B.
F(A的主效应) = A的主效应方差/误差方差
F(B的主效应) = B的主效应方差/误差方差
F(AXB) = AXB交互作用/误差方差