##
## 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
We reject the Ho because the P-value < .01 The correcation is posisitve while its strength is weak
An increase in the last valuation will increase satisfaction level slightly
##
## Pearson's product-moment correlation
##
## data: hr$time_spend_company and hr$average_montly_hours
## t = 15.774, df = 14997, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## 0.1119801 0.1434654
## sample estimates:
## cor
## 0.1277549
We reject the Ho because the P-value < .01 The correlation is positive while its strength is very weak
There is no relationship between time spent at the company and average monthly hours
## 3. Satisfaction Level V.S. Average Monthly Hours
##
## Pearson's product-moment correlation
##
## data: hr$satisfaction_level and hr$average_montly_hours
## 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
We accept the Ho because the P-value >.01 The correlation is negative while its strength is weak
As time spent at the company increases, Average monthly hours decrease slightly
##
## Pearson's product-moment correlation
##
## data: hr$satisfaction_level and hr$number_project
## t = -17.69, df = 14997, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## -0.1586105 -0.1272570
## sample estimates:
## cor
## -0.1429696
We reject the Ho because the P-value < .01 The correlation is negative while its strength is very weak
As satisfaction level increase, number of projects decrease