##
## 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
The p-value < alpha (0.001bn) therefore we reject the Ho and say there is a positive and small correlation between last evaluation and satisfaction level
As evaluations increase, satisfaction increases slightly
##
## Pearson's product-moment correlation
##
## data: hr$average_montly_hours and hr$satisfaction_level
## t = -2.4556, df = 14997, p-value = 0.01408
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## -0.036040356 -0.004045605
## sample estimates:
## cor
## -0.02004811
The p-value is extremely small (p < 0.05), so we reject the null hypothesis. There is a negative, statistically significant correlation between average monthly hours and satisfaction.
As employees work more hours on average per month, their satisfaction levels tend to decrease.
##
## 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
The p-value is significantly less than 0.05. We reject the null hypothesis and find a strong, positive correlation between the number of projects and monthly hours.
Employees who are assigned more projects naturally end up working more hours per month.
##
## Pearson's product-moment correlation
##
## data: hr$time_spend_company and hr$last_evaluation
## t = 16.256, df = 14997, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## 0.1158309 0.1472844
## sample estimates:
## cor
## 0.1315907
The p-value < 0.05; therefore, we reject the null hypothesis. There is a positive, statistically significant correlation between tenure and evaluation scores.
Employees who have been with the company longer tend to receive slightly higher evaluation scores.