1. Correlation satisfaction level with last evaluation

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

The p-value < Than alpha (0.001) therefore we reject the null Ho and say there is a positive and small correlation between last evaluation and satisfaction level

Non-Technical Interpretation:

As evaluations increase, satisfaction increases slightly

2. Correlation number of projects with average monthly hours

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

The p-value < Than alpha (0.001) therefore we reject the null Ho and say there is a positive and medium correlation between number of projects and average monthly hours

Non-Technical Interpretation:

As number of projects increases, average monthly hours increase

3. Correlation promotions in the last 5 years and time spent at the company

## 
##  Pearson's product-moment correlation
## 
## data:  hr$promotion_last_5years and hr$time_spend_company
## t = 8.2768, df = 14997, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.05148468 0.08334679
## sample estimates:
##        cor 
## 0.06743293

Technical Interpretation:

The p-value < Than alpha (0.001) therefore we reject the null Ho and say there is a positive and small correlation between promotion in the last 5 years and time spent at the company

Non-Technical Interpretation:

As time spent at the company increases, promotions increase slightly

4. Correlation average monthly hours and time spent at the company

## 
##  Pearson's product-moment correlation
## 
## data:  hr$average_montly_hours and hr$time_spend_company
## 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

Technical Interpretation:

The p-value < Than alpha (0.001) therefore we reject the null Ho and say there is a positive and small correlation between average monthly hours and time spent at the company

Non-Technical Interpretation:

As time spent at the company increases, average monthly hours increase slightly

library(plotly)