1st Correlation: Satisfaction Level vs. Last Evaluation
##
## Pearson's product-moment correlation
##
## data: hr$satisfaction_level and hr$last_evaluation
## t = 12.933, df = 14997, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## 0.08916727 0.12082195
## sample estimates:
## cor
## 0.1050212
Technical Interpretation:
p-value < 0.05 indicates significance.
Correlation coefficient shows the strength and direction.
Non-Technical Interpretation:
“Higher satisfaction may be linked to higher performance.”
Visualization:

2nd Correlation: Number of Projects vs. Average Monthly Hours
##
## Pearson's product-moment correlation
##
## data: hr$number_project and hr$average_montly_hours
## t = 56.219, df = 14997, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## 0.4039037 0.4303411
## sample estimates:
## cor
## 0.4172106
Non-Technical Interpretation:
“Employees working on more projects spend more time at work.”
Visualization:

3rd Correlation: Time Spent in Company vs. Work Accidents
##
## Pearson's product-moment correlation
##
## data: hr$time_spend_company and hr$Work_accident
## t = 0.25967, df = 14997, p-value = 0.7951
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## -0.01388386 0.01812361
## sample estimates:
## cor
## 0.002120418
Non-Technical Interpretation:
“Longer tenure might slightly increase accident risk.”
Visualization:
