The structural model for a nested design with two fixed factors is given by the formula
Here μ, αi and βj(i) are constants where βj(i) is the effect of the jth level in Factor B nested within the ith level of Factor A.
We assume that for all i, j and k, the εijk are pairwise independent and
We can conclude that for all i, j and k, the xijk are independent and normally distributed with mean
and variance
We also have the following estimators
The definitions of SSA, SSB, SSAB, SSE, SST and similarly for the corresponding MS and df terms are exactly the same as defined for fixed factors crossed designs (see Definition 2 of Two Factor ANOVA with Replication). SSB(A) is defined by adding the SSB and SSAB terms and dfB(A) is defined by adding the dfB and dfAB terms. This results in the following:
We also have
The null and alternative hypotheses are as follows. There is no interaction between factors A and B.
Test Desired | Null H0 | Alt Hyp H1 | Statistical Test |
Effect of factor A | αi = 0 for all i | αi ≠ 0 for some i | MSA/MSE ∼ F(dfA,dfE) |
Effect of B(A) | βj = 0 for all j | βj ≠ 0 for some j | MSB(A)/MSE ∼ F(dfB(A),dfE) |