1. t-test of Average Monthly Hours by Left

t-test

## 
##  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 stayed and group left is not equal to 0
## 95 percent confidence interval:
##  -10.534631  -6.183384
## sample estimates:
## mean in group stayed   mean in group left 
##             199.0602             207.4192

Technical Interpretation

We reject the Ho, p-value < 0.01, where the average monthly hours for employees that that left is greater.

Non-Technical Interpretation

Employees that work more hours are more likely to leave.

Graph

2. t-test of Satisfaction Level by Left

t-test

## 
##  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 stayed and group left is not equal to 0
## 95 percent confidence interval:
##  -10.534631  -6.183384
## sample estimates:
## mean in group stayed   mean in group left 
##             199.0602             207.4192

Technical Interpretation

We reject the Ho, p-value < 0.01, where the satisfaction level for employees that left is lower.

Non-Technical Interpretation

Employees with lower satisfaction levels are more likely to leave.

Graph

3. t-test of Last Evaluation by Left

t-test

## 
##  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 stayed and group left is not equal to 0
## 95 percent confidence interval:
##  -0.009772224  0.004493874
## sample estimates:
## mean in group stayed   mean in group left 
##            0.7154734            0.7181126

Technical Interpretation

We fail to reject the null hypothesis (Ho), with a p-value of 0.4683, which is greater than 0.01, indicating no significant difference in time spent at the company between employees who left and stayed.

Non-Technical Interpretation

There is no significant difference in last evaluation scores between employees who stayed and those who left.

Graph

4. t-test of Time Spent at Company by Left

t-test

## 
##  Welch Two Sample t-test
## 
## data:  hr$time_spend_company by hr$left
## t = -22.631, df = 9625.6, p-value < 2.2e-16
## alternative hypothesis: true difference in means between group stayed and group left is not equal to 0
## 95 percent confidence interval:
##  -0.5394767 -0.4534706
## sample estimates:
## mean in group stayed   mean in group left 
##             3.380032             3.876505

Technical Interpretation

We reject the Ho, p-value < 0.01, where the time spent at the company for employees that left is significantly different from those who stayed.

Non-Technical Interpretation

Employees who left the company spent a significantly different amount of time at the company compared to those who stayed.

Graph