Load Data


1️⃣ Correlation: Satisfaction Level vs Evaluation

Perform the correlation

## 
##  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 + strength)

The p-value is less than 2.2e-16, which is far below 0.05, meaning the relationship is statistically significant. The correlation is 0.105, indicating a very weak positive relationship.

Non-Technical Interpretation

Employees with higher evaluation scores tend to have slightly higher satisfaction, but the relationship is very small.

Visualization


2️⃣ Correlation: Number of Projects vs Monthly Hours

Perform the correlation

## 
##  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

Technical Interpretation (p-value + strength)

The p-value is less than 2.2e-16, meaning the relationship is statistically significant. The correlation is 0.417, indicating a moderate positive relationship.

Non-Technical Interpretation

Employees with more projects tend to work significantly more hours.

Visualization


3️⃣ Correlation: Time at Company vs Number of Projects

Perform the correlation

## 
##  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

Technical Interpretation (p-value + strength)

The p-value is less than 2.2e-16, so the relationship is statistically significant. The correlation is 0.197, indicating a weak positive relationship.

Non-Technical Interpretation

Employees who have been at the company longer tend to have slightly more projects, but the relationship is not strong.

Visualization


4️⃣ Correlation: Satisfaction Level vs Monthly Hours

Perform the correlation

## 
##  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

Technical Interpretation (p-value + strength)

The p-value is 0.014, which is below 0.05, so the relationship is statistically significant. However, the correlation is -0.020, indicating an extremely weak negative relationship.

Non-Technical Interpretation

Employees who work more hours tend to have slightly lower satisfaction, but the effect is extremely small.

Visualization