1. T-Test of satisfaction level vs. left

T-Test

## 
##  Welch Two Sample t-test
## 
## data:  hr1$satisfaction_level by hr1$Left
## t = -46.636, df = 5167, p-value < 2.2e-16
## alternative hypothesis: true difference in means between group Left and group Stayed is not equal to 0
## 99.9 percent confidence interval:
##  -0.2427168 -0.2107063
## sample estimates:
##   mean in group Left mean in group Stayed 
##            0.4400980            0.6668096

Technical Interpretation

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

Non-Technical Interpretation

Employees that stayed are, on average, more satisfied

Plot

2. T-Test of last evaluation vs. left

T-Test

## 
##  Welch Two Sample t-test
## 
## data:  hr1$last_evaluation by hr1$Left
## t = 0.72534, df = 5154.9, p-value = 0.4683
## alternative hypothesis: true difference in means between group Left and group Stayed is not equal to 0
## 99.9 percent confidence interval:
##  -0.009340354  0.014618703
## sample estimates:
##   mean in group Left mean in group Stayed 
##            0.7181126            0.7154734

Technical Interpretation

We retain the Ho as the p-value is > alpha (0.001) There is a no difference in last evaluation scores between employees that left vs. stayed

Non-Technical Interpretation

Employees that stayed had, on average, the same evaluation scores as those who left.

Plot

3. T-Test of number of projects vs. left

T-Test

## 
##  Welch Two Sample t-test
## 
## data:  hr1$number_project by hr1$Left
## t = 2.1663, df = 4236.5, p-value = 0.03034
## alternative hypothesis: true difference in means between group Left and group Stayed is not equal to 0
## 99.9 percent confidence interval:
##  -0.03579547  0.17347213
## sample estimates:
##   mean in group Left mean in group Stayed 
##             3.855503             3.786664

Technical Interpretation

We retain the Ho as the p-value is > alpha (0.001) There is a no difference in number of projects between employees that left vs. stayed

Non-Technical Interpretation

Employees who left, on average, worked on the same amount of projects as those who stayed.

Plot

4. T-Test of average monthly hours vs. left

T-Test

## 
##  Welch Two Sample t-test
## 
## data:  hr1$average_montly_hours by hr1$Left
## t = 7.5323, df = 4875.1, p-value = 5.907e-14
## alternative hypothesis: true difference in means between group Left and group Stayed is not equal to 0
## 99.9 percent confidence interval:
##   4.705107 12.012907
## sample estimates:
##   mean in group Left mean in group Stayed 
##             207.4192             199.0602

Technical Interpretation

We reject the Ho as the p-value is < alpha (0.001) There is a difference in average monthly hours between employees that left vs. stayed

Non-Technical Interpretation

Employees who left worked more hours, on average, compared to those who stayed.

Plot