Next Page Previous Page Home Tools & Aids Search Handbook
3. Production Process Characterization
3.2. Assumptions / Prerequisites
3.2.3. Analysis of Variance Models (ANOVA)

3.2.3.3.

Two-Way Nested ANOVA

Description Sometimes, constraints prevent us from crossing every level of one factor with every level of the other factor. In these cases we are forced into what is known as a nested layout. We say we have a nested layout when fewer than all levels of one factor occur within each level of the other factor. An example of this might be if we want to study the effects of different machines and different operators on some output characteristic, but we can't have the operators change the machines they run. In this case, each operator is not crossed with each machine but rather only runs one machine.
Model If Factor B is nested within Factor A, then a level of Factor B can only occur within one level of Factor A and there can be no interaction. This gives the following model:

y(ijk) = m + a(i) + b(j(i)) + e(ijk)

This equation indicates that each data value is the sum of a common value (grand mean), the level effect for Factor A, the level effect of Factor B nested Factor A, and the residual.

Estimation For a nested design we typically use variance components methods to perform the analysis.  We can sweep out the common value, the row effects, the column effects and the residuals using  value-splitting techniques. Sums of squares can be calculated and summarized in an ANOVA table as shown below.
Click here for nested value-
splitting example
It is important to note that with this type of layout, since each level of one factor is only present with one level of the other factor, we can't estimate interaction between the two.
ANOVA table for nested case
Source
Sum of Squares
Degrees of Freedom
Mean Square
rows
J*K*SUM[a(i)**2]
I-1
J*K*SUM[a(i)**2]/(I-1)
columns I*K*SUM[b(j)**2] I(J-1)
I*K*SUM[b(j)**2]/I(J-1)
residuals
SUM[SUM[e(ijk)**2]]
IJ(K-1)
SUM[SUM[e(ijk)**2]]/IJ(K-1)
corrected total
SUM[SUM[y(ijk)**2]] - I*J*m**2
IJK-1
 
As with the crossed layout, we can also use CLM techniques. We still have the problem that the model is saturated and no unique solution exists. We overcome this problem by applying to the model the constraints that the two main effects sum to zero.
Testing We are testing that two main effects are zero. Again we just form a ratio of each main effect mean square to the residual mean square. If the assumptions stated below are true then those ratios follow an F-distribution and the test is performed by comparing the F-ratios to values in an F-table with the appropriate degrees of freedom and confidence level.
Assumptions For estimation purposes, we assume the data can be adequately modeled as described in the model above. It is assumed that the random component can be modeled with a Gaussian distribution with fixed location and spread.
Uses The two-way nested ANOVA is useful when we are constrained from combining all the levels of one factor with all of the levels of the other factor. These designs are most useful when we have what is called a random effects situation. When the levels of a factor are chosen at random rather than selected intentionally, we say we have a random effects model. An example of this is when we select lots from a production run, then select units from the lot. Here the units are nested within lots and the effect of each factor is random.
Example Let's change the two-way machining example slightly by assuming that we have five different machines making the same part and each machine has two operators, one for the day shift and one for the night shift. We take five samples from each machine for each operator to obtain the following data:

Machine
Operator
Day
1
2 3 4 5
.125 .118 .123 .126 .118
.127 .122 .125 .128 .129
.125 .120 .125 .126 .127
.126 .124 .124 .127 .120
.128 .119 .126 .129 .121
Operator
Night
.124 .116 .122 .126 .125
.128 .125 .121 .129 .123
.127 .119 .124 .125 .114
.126 .125 .126 .130 .124
.129 .120 .125 .124 .117
Analyze For analysis details see the nested two-way value splitting example. We can summarize the analysis results in an ANOVA table as follows: 
Source
Sum of Squares
Degrees of Freedom
Mean Square
F-value
Machine
.000303
4
.0000758
8.77 > 2.61
Operator(Machine)
.0000186
5
.00000372
.428 < 2.45
Residuals
.000346
40
.0000087
 
Corrected Total
.000668
49
   
Test By dividing the mean square for machine by the mean square for residuals we obtain an F-value of 8.5 which is greater than the cut-off value of  2.61 for 4 and 40 degrees of freedom and a confidence of 95%.  Likewise the F-value for Operator(Machine), obtained by dividing its mean square by the residual mean square is less than the cut-off value of 2.45 for 5 and 40 degrees of freedom and 95% confidence.
Conclusion From the ANOVA table we can conclude that the Machine is the most important factor and is statistically significant. The effect of Operator nested within Machine is not statistically significant. Again, any improvement activities should be focused on the tools.
Home Tools & Aids Search Handbook Previous Page Next Page