## Rows: 14999 Columns: 10
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (2): Department, salary
## dbl (8): satisfaction_level, last_evaluation, number_project, average_montly...
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
##
## 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
p-value interpretation: The p-value (< 2.2e-16) is less than 0.05, so we reject the null hypothesis and conclude that the correlation is statistically significant, although the relationship is very weak.
correlation estimate interpretation: The correlation is positive and weak.
non-technical interpretation: Higher employee satisfaction is associated with slightly higher performance evaluations.
## `geom_smooth()` using formula = 'y ~ x'
##
## 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
p-value interpretation: The p-value (< 2.2e-16) is less than 0.05, so we reject the null hypothesis and conclude that the correlation is statistically significant.
correlation estimate interpretation: The correlation is positive and moderate.
non-technical interpretation: Employees with more projects tend to work more hours.
## `geom_smooth()` using formula = 'y ~ x'
##
## Pearson's product-moment correlation
##
## data: hr$time_spend_company and hr$number_project
## 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
p-value interpretation: The p-value (< 2.2e-16) is less than 0.05, so we reject the null hypothesis and conclude that the correlation is statistically significant, although the relationship is very weak.
correlation estimate interpretation: The correlation is positive and weak.
non-technical interpretation: Employees who stay longer at the company tend to have slightly more projects.
## `geom_smooth()` using formula = 'y ~ x'
##
## 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
p-value interpretation: The p-value (0.01408) is less than 0.05, so we reject the null hypothesis and conclude that the correlation is statistically significant, although the relationship is very weak.
correlation estimate interpretation: The correlation is negative and very weak.
non-technical interpretation: Employees who work more hours tend to have slightly lower satisfaction.
## `geom_smooth()` using formula = 'y ~ x'