# Example of Balanced ANOVA

A manufacturing engineer ran an experiment to determine how several conditions affect the thickness of a coating substance. Three different operators ran the experiment twice. Each operator measured the thickness twice for each time and setting.

Because the design is balanced, the analyst uses balanced ANOVA to determine whether time, operator, and machine setting affect coating thickness.

1. Open the sample data, CoatingThickness.MTW.
2. Choose Stat > ANOVA > Balanced ANOVA.
3. In Responses, enter Thickness.
4. In Model, enter Time Operator Setting Time*Operator Time*Setting Operator*Setting.
5. In Random factors, enter Operator.
6. Click Results.
7. Select Display expected mean squares and variance components.
8. In Display means corresponding to the terms, enter Time Setting Time*Setting.
9. Click OK in each dialog box.

## Interpret the results

Minitab displays a list of factors, with their type (fixed or random), number of levels, and values. The Analysis of Variance table displays p-values for all of the terms in the model. The low p-values for setting and all of the interaction effects indicate that these terms are significant at the 0.05 level.

Setting is a fixed factor and this main effect is significant. This result indicates that the mean coating thickness is not equal for all machine settings.

Time*Setting is an interaction effect that involves two fixed factors. This interaction effect is significant which indicates that the relationship between each factor and the response depends on the level of the other factor. In this case, you should not interpret the main effects without considering the interaction effect.

The means table shows how the mean thickness varies by each level of time (morning and evening), each machine setting, and by each combination of time and machine setting. Setting is statistically significant and the means differ between the machine settings. However, because the Time*Setting interaction term is also statistically significant, do not interpret the main effects without considering the interaction effects. For example, the table for the interaction term shows that with a setting of 44, time 2 is associated with a thicker coating. However, with a setting of 52, time 1 is associated with a thicker coating.

Operator is a random factor and all interactions that include a random factor are considered to be random. If a random factor is significant, you can conclude that the factor contributes to the amount of variation in the response. Operator is not significant at the 0.05 level, but the interaction effects that include operator are significant. These interaction effects indicate that the amount of variation that operator contributes to the response depends on the value of both time and machine setting.

## Factor Information

FactorTypeLevelsValues
TimeFixed21, 2
OperatorRandom31, 2, 3
SettingFixed335, 44, 52

## Analysis of Variance for Thickness

SourceDFSSMSFP
Time19.09.000.290.644
Operator21120.9560.444.280.081x
Setting215676.47838.1973.180.001
Time*Operator262.031.004.340.026
Time*Setting2114.557.258.020.002
Operator*Setting4428.4107.1115.010.000
Error22157.07.14
Total3517568.2
x Not an exact F-test.

## Model Summary

SR-sqR-sq(adj)
2.6714099.11%98.58%

## Error Terms for Tests

SourceVariance
component
Error termExpected Mean Square for Each
Term (using unrestricted model)
1Time  4(7) + 6 (4) + Q[1, 5]
2Operator35.789*(7) + 4 (6) + 6 (4) + 12 (2)
3Setting  6(7) + 4 (6) + Q[3, 5]
4Time*Operator3.9777(7) + 6 (4)
5Time*Setting  7(7) + Q[5]
6Operator*Setting24.9947(7) + 4 (6)
7Error7.136  (7)
* Synthesized Test.

## Error Terms for Synthesized Tests

SourceError DFError MSSynthesis of
Error MS
2Operator5.12130.9747(4) + (6) - (7)

## Means

TimeNThickness
11867.7222
21868.7222
SettingNThickness
351240.5833
441273.0833
521291.0000
Time*SettingNThickness
1 35640.6667
1 44670.1667
1 52692.3333
2 35640.5000
2 44676.0000
2 52689.6667