##
## 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
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
Employees that stayed are, on average, more satisfied
##
## 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
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
Employees that stayed had, on average, the same evaluation scores as those who left.
##
## 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
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
Employees who left, on average, worked on the same amount of projects as those who stayed.
##
## 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
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
Employees who left worked more hours, on average, compared to those who stayed.