##
## Welch Two Sample t-test
##
## data: hr$satisfaction_level by hr$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
1: T-Test between Satisfaction and left
We retain the Ho if the p-value is > alpha (0.001) therefore we
reject the Ho, 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: hr$average_montly_hours by hr$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
2: T-Test between Average Monthly Hours and left
We retain the Ho if the p-value is > alpha (0.001) therefore we
reject the Ho, there is a difference in average monthly hours worked
between employees that left vs stayed
Employees that stayed are, on average, worked less
##
## Welch Two Sample t-test
##
## data: hr$last_evaluation by hr$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
3: T-Test between Last Evaluation and left
The p-value is > than our alpha (0.001) therefore we accept Ho
and there is no difference in last evaluation scores and employees that
left vs. stayed
There is no significant correlation between employees leaving or
staying based on their last evaluation score
##
## Welch Two Sample t-test
##
## data: hr$number_project by hr$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
4: T-Test between Number of Projects and left
The p-value is > than our alpha (0.001) therefore we accept Ho
and there is no difference in number of projects between employees that
left vs. stayed
There is no significant correlation between employees leaving or
staying based on how many projects they had