Conclusion: There is an assocation between leaving the company and having a work accident.
##
##
## Cell Contents
## |-------------------------|
## | N |
## | Chi-square contribution |
## | N / Row Total |
## | N / Col Total |
## | N / Table Total |
## |-------------------------|
##
##
## Total Observations in Table: 14999
##
##
## | HR$Accident
## HR$Status | No | Yes | Row Total |
## -------------|-----------|-----------|-----------|
## Left | 3402 | 169 | 3571 |
## | 39.510 | 233.709 | |
## | 0.953 | 0.047 | 0.238 |
## | 0.265 | 0.078 | |
## | 0.227 | 0.011 | |
## -------------|-----------|-----------|-----------|
## Stayed | 9428 | 2000 | 11428 |
## | 12.346 | 73.029 | |
## | 0.825 | 0.175 | 0.762 |
## | 0.735 | 0.922 | |
## | 0.629 | 0.133 | |
## -------------|-----------|-----------|-----------|
## 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
##
##
Conclusion: There is an association between leaving the company and getting a promotion.
##
##
## Cell Contents
## |-------------------------|
## | N |
## | Chi-square contribution |
## | N / Row Total |
## | N / Col Total |
## | N / Table Total |
## |-------------------------|
##
##
## Total Observations in Table: 14999
##
##
## | HR$Promotion
## HR$Status | No | Yes | Row Total |
## -------------|-----------|-----------|-----------|
## Left | 3552 | 19 | 3571 |
## | 0.928 | 42.702 | |
## | 0.995 | 0.005 | 0.238 |
## | 0.242 | 0.060 | |
## | 0.237 | 0.001 | |
## -------------|-----------|-----------|-----------|
## Stayed | 11128 | 300 | 11428 |
## | 0.290 | 13.343 | |
## | 0.974 | 0.026 | 0.762 |
## | 0.758 | 0.940 | |
## | 0.742 | 0.020 | |
## -------------|-----------|-----------|-----------|
## Column Total | 14680 | 319 | 14999 |
## | 0.979 | 0.021 | |
## -------------|-----------|-----------|-----------|
##
##
## Statistics for All Table Factors
##
##
## Pearson's Chi-squared test
## ------------------------------------------------------------
## Chi^2 = 57.26273 d.f. = 1 p = 3.813123e-14
##
## Pearson's Chi-squared test with Yates' continuity correction
## ------------------------------------------------------------
## Chi^2 = 56.26163 d.f. = 1 p = 6.344155e-14
##
##
Conclusion: There is an association between leaving the company and salary.
##
##
## Cell Contents
## |-------------------------|
## | N |
## | Chi-square contribution |
## | N / Row Total |
## | N / Col Total |
## | N / Table Total |
## |-------------------------|
##
##
## Total Observations in Table: 14999
##
##
## | HR$Status
## HR$salary | Left | Stayed | Row Total |
## -------------|-----------|-----------|-----------|
## high | 82 | 1155 | 1237 |
## | 153.339 | 47.915 | |
## | 0.066 | 0.934 | 0.082 |
## | 0.023 | 0.101 | |
## | 0.005 | 0.077 | |
## -------------|-----------|-----------|-----------|
## low | 2172 | 5144 | 7316 |
## | 106.247 | 33.200 | |
## | 0.297 | 0.703 | 0.488 |
## | 0.608 | 0.450 | |
## | 0.145 | 0.343 | |
## -------------|-----------|-----------|-----------|
## medium | 1317 | 5129 | 6446 |
## | 30.876 | 9.648 | |
## | 0.204 | 0.796 | 0.430 |
## | 0.369 | 0.449 | |
## | 0.088 | 0.342 | |
## -------------|-----------|-----------|-----------|
## Column Total | 3571 | 11428 | 14999 |
## | 0.238 | 0.762 | |
## -------------|-----------|-----------|-----------|
##
##
## Statistics for All Table Factors
##
##
## Pearson's Chi-squared test
## ------------------------------------------------------------
## Chi^2 = 381.225 d.f. = 2 p = 1.652087e-83
##
##
##