Question 1: Satisfaction Level

## 
##  Welch Two Sample t-test
## 
## data:  satisfaction_level by left
## t = 46.636, df = 5167, p-value < 2.2e-16
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  0.2171815 0.2362417
## sample estimates:
## mean in group 0 mean in group 1 
##       0.6668096       0.4400980

Analysis:

p-value interpretation: The p-value is very small, and less then alpha (0.01) indicating a significant difference in satisfaction levels between employees who left and those who stayed.
correlation estimate interpretation: The difference in mean satisfaction level between employees who left and those who stayed is significant, with employees who left having a lower average satisfaction level.
non-technical interpretation: Employees who left the company were generally less satisfied with their jobs compared to those who stayed.

Question 2: Last Evaluation Score

## 
##  Welch Two Sample t-test
## 
## data:  last_evaluation by left
## t = -0.72534, df = 5154.9, p-value = 0.4683
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  -0.009772224  0.004493874
## sample estimates:
## mean in group 0 mean in group 1 
##       0.7154734       0.7181126

Analysis:

p-value interpretation: The p-value greater then (0.01), meaning that there is no correlation between last evaluation and atttrition.
correlation estimate interpretation: The estimate is not used due to that the Ho is not rejected.
non-technical interpretation: Employees Evaluation has no Effect on Attrition.

Question 3: Average Monthly Hours

## 
##  Welch Two Sample t-test
## 
## data:  average_montly_hours by left
## t = -7.5323, df = 4875.1, p-value = 5.907e-14
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  -10.534631  -6.183384
## sample estimates:
## mean in group 0 mean in group 1 
##        199.0602        207.4192

Analysis:

p-value interpretation: The p-value is very small, and less then alpha (0.01) indicating a significant difference in average monthly hours worked between employees who left and those who stayed.
correlation estimate interpretation: Employees who left the company worked significantly more hours on average than those who stayed.
non-technical interpretation: Employees who worked longer hours were more likely to leave the company.

Question 4: Number of Projects

## 
##  Welch Two Sample t-test
## 
## data:  number_project by left
## t = -2.1663, df = 4236.5, p-value = 0.03034
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  -0.131136535 -0.006540119
## sample estimates:
## mean in group 0 mean in group 1 
##        3.786664        3.855503

Analysis:

p-value interpretation: The p-value greater then (0.01), meaning that there is no correlation between number of projects and atttrition.
correlation estimate interpretation: The estimate is not used due to that the Ho is not rejected.
non-technical interpretation: Employees Who Are Assigned More Projects has no Effect on Attrition.