Correlation 1: Satisfaction vs Hrs Left

## 
##  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 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

Interpretation in technical terms

- p < 0.001 (2.2e-16), so the correlation is statistically significant. We reject the Ho.

Interpretation in non-technical terms

- Employees with lower satisfaction are more likely to leave.

Graph

Correlation 2: Satisfaction vs Monthly Hours

## 
##  Welch Two Sample t-test
## 
## data:  hr$last_evaluation and hr$average_montly_hours
## t = -491.26, df = 14998, p-value < 2.2e-16
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -201.1336 -199.5349
## sample estimates:
##   mean of x   mean of y 
##   0.7161017 201.0503367

Interpretation in technical terms

- p < 0.001 (2.2e-16) , so the correlation is statistically significant.We reject the Ho.

Interpretation in non-technical terms

- Employees who receive higher performance evaluations tend to work more hours.

Graph

Correlation 3: Time Spent at Company vs Satisfaction Level

## 
##  Welch Two Sample t-test
## 
## data:  hr$time_spend_company and hr$satisfaction_level
## t = 238.58, df = 15867, p-value < 2.2e-16
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  2.861694 2.909105
## sample estimates:
## mean of x mean of y 
## 3.4982332 0.6128335

Interpretation in technical terms

- p < 0.001 (2.2e-16), so the correlation is statistically significant. We reject the Ho.

Interpretation in non-technical terms

- Employees who have been at the company longer tend to report lower job satisfaction.

Graph

Correlation 4: Number of Projects vs Last Evaluation

## 
##  Welch Two Sample t-test
## 
## data:  hr$number_project and hr$last_evaluation
## t = 303.8, df = 15576, p-value < 2.2e-16
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  3.067035 3.106869
## sample estimates:
## mean of x mean of y 
## 3.8030535 0.7161017

Interpretation in technical terms

- p < 0.001 (2.2e-16), so the correlation is statistically significant. We reject the Ho.

Interpretation in non-technical terms

- Employees who work on more projects tend to receive higher evaluation scores.

Graph