1. Left vs. Work Accident

a. Chi-Square Test

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

b. Technical Interpretation

There is an association between leaving and work accidents, Where employees without accidents are more likely to leave

c. Non-Technical Interpretation

Employees without work accidents are more than three times more likely to leave (0.265 / 0.078)

d. Graph

2. Left vs. Promotion in the Last 5 years

a. Chi-Square Test

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

b. Technical Interpretation

There is a statistically significant association between promotions and employee turnover (p < 0.05), indicating that promotion history affects the likelihood of leaving.

c. Non-Technical Interpretation

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

d. Graph

3. Left vs. Salary

a. Chi-Square Test

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

b. Technical Interpretation

There is a statistically significant association between salary level and employee turnover (p < 0.05), which suggests that the likelihood of leaving the company is related to how much employees are paid.

c. Non-Technical Interpretation

Employees with low salaries are much more likely to leave the company than those with medium or high salaries.

d. Graph

4. Left vs. Number of Projects

a. Chi-Square Test

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

b. Technical Interpretation

The p-value is significant (p < 0.05), indicating that the number of projects is associated with employee turnover. In other words, the number of projects an employee is involved in impacts the likelihood of leaving.

c. Non-Technical Interpretation

Employees working on either very few or too many projects are more likely to leave the company.

d. Graph