##
## Pearson's product-moment correlation
##
## data: hr$last_evaluation and hr$average_montly_hours
## t = 44.237, df = 14997, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## 0.3255078 0.3538218
## sample estimates:
## cor
## 0.3397418
The p-value is less than alpha (0.01), therefore we reject the null hypothesis (Ho) and conclude that there is a small to moderate positive correlation between the last evaluation and average monthly hours worked.
As last evaluation increases, satisfaction level increase, slightly
## $x
## [1] "Last evaluation Score "
##
## $y
## [1] "Average montly hours"
##
## $title
## [1] "The more time spent at work, the higher the evaluation scores"
##
## attr(,"class")
## [1] "labels"
##
## Pearson's product-moment correlation
##
## data: hr$last_evaluation and hr$satisfaction_level
## 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 is less than alpha (0.01) therefore we reject the Ho and conclude that there is a small and positive correlation between satisfaction and last evaluation
As last evaluation increases, satisfaction level increase, slightly
## $x
## [1] "Last Evaluation"
##
## $y
## [1] "Satisfaction Level"
##
## $title
## [1] "As last evaluation increases, \n satisfaction level increase, slightly"
##
## attr(,"class")
## [1] "labels"
##
## 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 less than alpha (0.01) therefore we reject the Ho and conclude that there is a moderate to strong positive correlation between number of projects and average monthly hours
As the number of projects increases, the average monthly hours spent at work increases substantially
## $x
## [1] "Number Project"
##
## $y
## [1] "average_montly_hours"
##
## $title
## [1] "The more projects, the more average monthly hour spents"
##
## attr(,"class")
## [1] "labels"
##
## Pearson's product-moment correlation
##
## data: hr$number_project and hr$time_spend_company
## t = 24.579, df = 14997, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## 0.1813532 0.2121217
## sample estimates:
## cor
## 0.1967859
The p-value is less than alpha (0.01) therefore we reject the Ho and conclude that there is a correlation between number of projects and time spent at the company
As the number of projects increases, the time spent at the company increases
## $x
## [1] "Number Project"
##
## $y
## [1] "time_spend_company"
##
## $title
## [1] "The more projects, the more average monthly hour spents"
##
## attr(,"class")
## [1] "labels"