1. Left vs. Work Accidents

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

c. Non-Techincal Interpretation

Employees without work accidents are 3x more likely to leave (0.265 / .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 an association between getting a promotion in the last five years and leaving

c. Non-Techincal Interpretation

Employees that did not have a promotion in the last five years are more likely to leave

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 an association between the given salary of an employee and the likeliness to leave

c. Non-Techincal Interpretation

Employees with a low salary are 1.5x more likely than medium and over  4x more likely than high salaried employeees to leave

d. Graph

4. Left vs. Department

a. Chi-Square Test

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

b. Technical Interpretation

There is an association between the department and likeliness to leave

c. Non-Techincal Interpretation

Employees in management and RandD are less likely to leave than other departments (under 15%)

d. Graph