1. ANOVA Fixed Effect
ANOVA is used to analyze the behavior of various treatments of a factor applied to the process and/or product.
Example 1:
Consider a process, product or service in which we want to evaluate the impact of factor A, such that A has k levels, these levels being fixed. Suppose that a sample of N experimental units is selected completely at random from a population of experimental units . The experimental unit is the basic unit to which the treatments are applied.
| Factor | Resistance |
|---|---|
| 15 | 7 |
| 15 | 7 |
| 15 | 15 |
| 15 | 11 |
| 15 | 9 |
| 20 | 12 |
| 20 | 17 |
| 20 | 12 |
| 20 | 18 |
| 20 | 18 |
| 25 | 14 |
| 25 | 18 |
| 25 | 18 |
| 25 | 19 |
| 25 | 19 |
| 30 | 19 |
| 30 | 25 |
| 30 | 22 |
| 30 | 19 |
| 30 | 23 |
| 35 | 7 |
| 35 | 10 |
| 35 | 11 |
| 35 | 15 |
| 35 | 11 |

We will carry out a fixed-effect ANOVA

Then click Calculate to get the results. You can also generate the analyses and download them in Word format.

The results are:
ANOVA table
| D.F. | Sum of Squares | Mean Square | F Stat. | P-value | |
|---|---|---|---|---|---|
| Factor | 4 | 475.76 | 118.94 | 14.757 | 0 |
| Residuals | 20 | 161.20 | 8.06 |
Confidence Interval of the Effect Factor
| Level | Lower Limit | Mean Effect | Upper Limit |
|---|---|---|---|
| 15 | 7.152 | 9.8 | 12.448 |
| 20 | 12.752 | 15.4 | 18.048 |
| 25 | 14.952 | 17.6 | 20.248 |
| 30 | 18.952 | 21.6 | 24.248 |
| 35 | 8.152 | 10.8 | 13.448 |


Normality test
| Value | |
|---|---|
| Mean | 0.000 |
| Standard Deviation | 2.592 |
| N | 25.000 |
| Anderson-Darling | 0.519 |
| P-Value | 0.170 |
In this example, the Sum of Squares of the Factor (475.76) is much greater than the Sum of Squares of the Error (161.20), which already indicates that the mean are not equal.
If the P-value is less than or equal to the predetermined significance level ($\alpha$), this means that the means of the levels are different. Otherwise, they are equal. In this case, as it is less than 0.05, we reject the null hypothesis that these means are equal, i.e. we can say that the means of the levels are different.
In the effects graph, the black dots are the mean of each factor level, which in the table are called Effects.
The red lines represent the confidence interval for the averages of the factor levels.
Graph 1: Graph of Standardized Residuals versus Fitted Values.
Graph 2: Graph of Residuals versus Quantiles of the Normal.
Graph 3: Graph of Residuals versus Adjusted Values.
Graph 4: Graph the Residuals versus Order of Collection graph to see if the residuals are independent. The criterion for the analysis is: if the points on the graph are randomly distributed, this indicates independence, while if they show a pattern, this indicates dependence in the residuals. In our case, we verified independence in the residuals.
In our case, we will use the Anderson-Darling test, where the null hypothesis is the normality of the data, and by example, we verify that we do not reject (\“accept\”) the null hypothesis and thus verify the normality of the residuals.
Example 2:
A company that produces windshield wipers for automobiles wants to know how the factors Type of Reduction Gearbox and Type of Shaft, used in the manufacture of the motors that drive the wipers, influence the noise produced when they are used. To do this, we conducted an experiment with 54 motors, with 3 types of Shaft (Rolled, Cut and Imported) and 2 types of Reduction Gearboxes (Domestic and Imported). For each motor (experimental unit) we measured the noise. The data are in the table.
| Axis | Reducer box | Noise |
|---|---|---|
| Rolled | Imported | 39.6 |
| Rolled | National | 42.1 |
| Imported | National | 40.9 |
| Cut | National | 38.2 |
| Rolled | National | 42 |
| Cut | Imported | 41.3 |
| Imported | Imported | 39.6 |
| Rolled | National | 40.3 |
| Imported | National | 40.7 |
| Imported | Imported | 36.9 |
| Rolled | Imported | 40.2 |
| Cut | Imported | 46.8 |
| Cut | Imported | 40.3 |
| Cut | National | 37.4 |
| Cut | National | 37 |
| Rolled | Imported | 48.4 |
| Imported | Imported | 39.9 |
| Imported | National | 39.4 |
| Rolled | Imported | 40.9 |
| Rolled | National | 38.9 |
| Cut | Imported | 40.5 |
| Cut | National | 42.3 |
| Imported | Imported | 38.1 |
| Imported | Imported | 38 |
| Imported | Imported | 36.2 |
| Rolled | Imported | 41 |
| Cut | Imported | 39.9 |
| Rolled | Imported | 41 |
| Cut | National | 41.3 |
| Imported | National | 42 |
| Cut | Imported | 39.3 |
| Cut | National | 42.1 |
| Imported | Imported | 36.7 |
| Cut | National | 40.5 |
| Rolled | National | 38.9 |
| Imported | Imported | 37.2 |
| Rolled | Imported | 39.9 |
| Rolled | National | 43.7 |
| Imported | National | 41.4 |
| Rolled | National | 41 |
| Cut | Imported | 41.3 |
| Imported | National | 41.3 |
| Imported | Imported | 36.7 |
| Rolled | National | 40.1 |
| Cut | National | 41.3 |
| Rolled | Imported | 41 |
| Imported | National | 40.6 |
| Cut | National | 40.4 |
| Rolled | National | 40.3 |
| Imported | National | 41.3 |
| Cut | Imported | 40.1 |
| Rolled | Imported | 42.7 |
| Cut | Imported | 41.6 |
| Imported | National | 41.6 |
Faremos o upload dos dados no sistema.

Realizaremos a ANOVA efeito fixo

Then click Calculate to get the results. You can also generate the analyses and download them in Word format.

The results are:
ANOVA Table
| D.F. | Sum of Squares | Mean Squares | F Stat. | P-value | |
|---|---|---|---|---|---|
| Shaft | 2 | 32.667 | 16.334 | 3.644 | 0.033 |
| reduction Gearboxes | 1 | 2.622 | 2.622 | 0.585 | 0.448 |
| Residuals | 50 | 224.136 | 4.483 |

Confidence Interval of the Effect Shaft
| Level | Lower Limit | Mean Effect | Upper Limit |
|---|---|---|---|
| Cut | 39.642 | 40.644 | 41.647 |
| Imported | 38.359 | 39.361 | 40.363 |
| Rolled | 40.220 | 41.222 | 42.225 |
Confidence Interval of the Effect Reduction.Gearboxes
| Level | Lower Limit | Mean effect | Upper Limit |
|---|---|---|---|
| Imported | 39.370 | 40.189 | 41.007 |
| National | 39.811 | 40.630 | 41.448 |


Testes de Normalidade
| Value | |
|---|---|
| Mean | 0.000 |
| Standard Deviation | 2.056 |
| N | 54.000 |
| Anderson-Darling | 0.825 |
| P-Value | 0.031 |
As the P-value associated with the interaction between the axle and the gearbox is very small (0.00096), we conclude that the interaction between these factors is significant. We therefore have to be careful when interpreting the factors.
To assess whether there is an interaction, all we have to do is check whether the graphs of the factors intersect, as in the figure. We then conclude that there is interaction between the Gearbox and Axle factors.
In the graph, the black dots are the averages of each factor level, which in the table are called Effects. The red lines represent the confidence interval for the averages of the factor levels.
Graph 1: Graph of Standardized Residuals versus Fitted Values.
Graph 2: Graph of Residuals versus Quantiles of the Normal.
Graph 3: Graph of Residuals versus Adjusted Values.
Graph 4: Graph the Residuals versus Order of Collection graph to see if the residuals are independent. The criterion for the analysis is: if the points on the graph are randomly distributed, this indicates independence, while if they show a pattern, this indicates dependence in the residuals. In our case, we verified independence in the residuals.
In this case, we will use the Anderson-Darling test, where the null hypothesis is the normality of the data, and from the example, we see that we reject the null hypothesis and thus verify that the residuals do not follow a normal distribution.