1. Chi-Square Test of work accident vs. left

Chi-Square Test

## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  hr1$Work_accident and hr1$left
## X-squared = 357.56, df = 1, p-value < 2.2e-16

Technical Interpretation

We reject the Ho as the p-value is < alpha (0.001) There is a dependence between work accident and employees that left vs. stayed

Non-Technical Interpretation

Employees who had a work accident are less likely to leave the company.

Plot

2. Chi-Square Test of Promotion vs. left

Chi-Square Test

## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  hr1$promotion_last_5years and hr1$left
## X-squared = 56.262, df = 1, p-value = 6.344e-14

Technical Interpretation

We reject the Ho as the p-value is < alpha (0.001) There is a dependence between promotion in the last 5 years and employees that left vs. stayed

Non-Technical Interpretation

Employees who were promoted in the last 5 years are less likely to leave the company.

Plot

3. Chi-Square Test of Salary vs. left

Chi-Square Test

## 
##  Pearson's Chi-squared test
## 
## data:  hr1$salary and hr1$left
## X-squared = 381.23, df = 2, p-value < 2.2e-16

Technical Interpretation

We reject the Ho as the p-value is < alpha (0.001) There is a dependence between salary level and employees that left vs. stayed

Non-Technical Interpretation

Employees with higher salaries are less likely to leave the company.

Plot

4. Chi-Square Test of Nummber of Projects vs. left

Chi-Square Test

## 
##  Pearson's Chi-squared test
## 
## data:  hr1$number_project and hr1$left
## X-squared = 5373.6, df = 5, p-value < 2.2e-16

Technical Interpretation

We reject the Ho as the p-value is < alpha (0.001) There is a dependence between number of projects and employees that left vs. stayed

Non-Technical Interpretation

Employees with a very high or very low number of projects are more likely to leave the company.

Plot