Test # 1
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: table1
## X-squared = 357.56, df = 1, p-value < 2.2e-16
A p-value of 2.2e-16 suggests that the association between Work_accident and leaving the company is to be considered statistically significant.
Employees who have had work accidents are more likely to leave the company
Test #2
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: table2
## X-squared = 56.262, df = 1, p-value = 6.344e-14
The p-value of 6.344e-14 suggests that the association between Promotion in the Last 5 Years and leaving the company should be considered statistically significant.
Employees who have not been promoted are more likely to leave the company.
Test #3
##
## Pearson's Chi-squared test
##
## data: table3
## X-squared = 86.825, df = 9, p-value = 7.042e-15
The association between Department and employee leaving the company is statistically significant.
Employees from different departments have varying probabilities to leave or stay with the company.
Test #4
##
## Pearson's Chi-squared test
##
## data: table4
## X-squared = 381.23, df = 2, p-value < 2.2e-16
There is a large association between salary and whether or not an employee leaves the company
Employees who have a lower salary are more likely to leave
the company then stay.