##
##
## Cell Contents
## |-------------------------|
## | N |
## | Chi-square contribution |
## | N / Row Total |
## | N / Col Total |
## | N / Table Total |
## |-------------------------|
##
##
## Total Observations in Table: 14999
##
##
## | hr$Work_accident
## hr$left | 0 | 1 | Row Total |
## -------------|-----------|-----------|-----------|
## 0 | 9428 | 2000 | 11428 |
## | 12.346 | 73.029 | |
## | 0.825 | 0.175 | 0.762 |
## | 0.735 | 0.922 | |
## | 0.629 | 0.133 | |
## -------------|-----------|-----------|-----------|
## 1 | 3402 | 169 | 3571 |
## | 39.510 | 233.709 | |
## | 0.953 | 0.047 | 0.238 |
## | 0.265 | 0.078 | |
## | 0.227 | 0.011 | |
## -------------|-----------|-----------|-----------|
## Column Total | 12830 | 2169 | 14999 |
## | 0.855 | 0.145 | |
## -------------|-----------|-----------|-----------|
##
##
## Statistics for All Table Factors
##
##
## Pearson's Chi-squared test
## ------------------------------------------------------------
## Chi^2 = 358.5938 d.f. = 1 p = 5.698673e-80
##
## Pearson's Chi-squared test with Yates' continuity correction
## ------------------------------------------------------------
## Chi^2 = 357.5624 d.f. = 1 p = 9.55824e-80
##
##
There is an association between leaving and work accidents, employees with work accidents are less likely to leave.
Employees without a work accident are more than 3 times more likely to leave (0.265 / 0.078).
##
## Pearson's Chi-squared test
##
## data: hr$left and hr$satisfaction_level
## X-squared = 7937.7, df = 91, p-value < 2.2e-16
There is an association between leaving and satisfaction levels, employees with lower satisfaction levels are more likely to leave.
Employees with a satisfaction rating between 0.3 and 0.5 are most likely to leave.
##
## Pearson's Chi-squared test
##
## data: hr$left and hr$time_spend_company
## X-squared = 2110.1, df = 7, p-value < 2.2e-16
There is an association between leaving and time spent at company, employees who spend less time at the company are more likely to leave.
Employees who spend 5 years at the company are more likely to leave than stay (0.57/0.43).
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: hr$left and hr$promotion_last_5years
## X-squared = 56.262, df = 1, p-value = 6.344e-14
There is an association between leaving and receiving a promotion in the last 5 years, employees who don’t recieve a promotion are more likely to leave.
Employees without a promotion in the last 5 years are 4 times more likely to leave (0.24 / 0.06).