The experience variable was finally not included in the analysis when presenting multicollinearity with the age variable (coefficient = 0.725 with a significance of 0.01). A significance of 0.679 was obtained for the Hosmer‒Lemeshow test, which confirms that the model fits the data adequately. As shown in Table 4, the observed and expected values for each of the deciles are approximately equal, so there is no difference between the observed and predicted values in the model. This allows us to conclude that the model fits the data correctly. In addition, according to Nagelkerke's R2, the response variable defines 55.5% of the variance of the explanatory variables.
Contingency table for the Hosmer and Lemeshow test
Deciles . | No RWH . | RWH . | Total . | ||
---|---|---|---|---|---|
Observed . | Expected . | Observed . | Expected . | ||
1 | 14 | 13.250 | 0 | 0.750 | 14 |
2 | 11 | 12.064 | 3 | 1.936 | 14 |
3 | 12 | 10.730 | 2 | 3.270 | 14 |
4 | 7 | 8.621 | 7 | 5.379 | 14 |
5 | 6 | 6.413 | 8 | 7.587 | 14 |
6 | 4 | 4.363 | 10 | 9.637 | 14 |
7 | 5 | 2.989 | 9 | 11.011 | 14 |
8 | 2 | 1.683 | 12 | 12.317 | 14 |
9 | 0 | 0.725 | 14 | 13.275 | 14 |
10 | 0 | 0.162 | 17 | 16.838 | 17 |
Deciles . | No RWH . | RWH . | Total . | ||
---|---|---|---|---|---|
Observed . | Expected . | Observed . | Expected . | ||
1 | 14 | 13.250 | 0 | 0.750 | 14 |
2 | 11 | 12.064 | 3 | 1.936 | 14 |
3 | 12 | 10.730 | 2 | 3.270 | 14 |
4 | 7 | 8.621 | 7 | 5.379 | 14 |
5 | 6 | 6.413 | 8 | 7.587 | 14 |
6 | 4 | 4.363 | 10 | 9.637 | 14 |
7 | 5 | 2.989 | 9 | 11.011 | 14 |
8 | 2 | 1.683 | 12 | 12.317 | 14 |
9 | 0 | 0.725 | 14 | 13.275 | 14 |
10 | 0 | 0.162 | 17 | 16.838 | 17 |