Chi-square test 1

## 
##  Pearson's Chi-squared test
## 
## data:  hr$Department and hr$left
## X-squared = 86.825, df = 9, p-value = 7.042e-15

Techincal interpretation

The p-value is very small (p < 0.05), meaning the results are statistically significant. There is a relationship between department and employee attrition.

Non-technical interpretation

Some departments have higher employee turnover than others.

Chi-square test 2

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

Technical interpretation

The p-value is very small (p < 0.05), meaning the results are statistically significant. There is a relationship between salary and employee attrition.

Non-technical interpretation

Employees with lower salaries are more likely to leave the company.

Chi-square test 3

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

Technical interpretation

The p-value is very small (p < 0.05), meaning the results are statistically significant. There is a relationship between work accidents and employee attrition.

Non-technical interpretation

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

Chi-square test 4

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

Technical interpretation

The p-value is very small (p < 0.05), meaning the results are statistically significant. There is a relationship between promotions and employee attrition.

Non-technical interpretation

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