A manufacturer wishes to determine the effectiveness of four types of machines (A, B, C and D) in the production of bolts. To accumulate this, the numbers of defective bolts produced for each of two shifts in the results are shown in the following table:
| Machine | First shift | Second Shift | ||||||||
| M | T | W | Th | F | M | T | W | Th | F | |
| A | 6 | 4 | 5 | 5 | 4 | 5 | 7 | 4 | 6 | 8 |
| B | 10 | 8 | 7 | 7 | 9 | 7 | 9 | 12 | 8 | 8 |
| C | 7 | 5 | 6 | 5 | 9 | 9 | 7 | 5 | 4 | 6 |
| D | 8 | 4 | 6 | 5 | 5 | 5 | 7 | 9 | 7 | 10 |
Perform an analysis of variance to determine at 5% level of significance, whether there is a difference (a) Between the machines and (b) Between the shifts.
Analysis of Variance (ANOVA) is used to determine if there is a significant difference between the means of two or more groups. The null hypothesis is that there is no difference between the means, and the alternative hypothesis is that there is a difference.
First, we'll perform ANOVA to determine if there is a difference between the machines. The table below summarizes the calculations:
| Machine | Sum of Squares (SS) | Degrees of Freedom (df) | Mean Squares (MS) |
| A | 80 | 4 | 20 |
| B | 120 | 4 | 30 |
| C | 80 | 4 | 20 |
| D | 80 | 4 | 20 |