HR Analytics:用 R 预测员工流失
Abhishek Trehan
People Analytics Practitioner
$$ IV = (\sum \text{(\% 非事件 - \% 事件)}) * \log(\frac{\text{\% 非事件}}{\text{\% 事件}}) $$
# Load Information package
library(Information)
# Compute Information Value
IV <- create_infotables(data = emp_final, y = "turnover")
# Print Information Value
IV$Summary
Variable IV
12 percent_hike 1.144784e+00
17 total_dependents 1.088645e+00
21 no_leaves_taken 9.404533e-01
31 tenure 9.332570e-01
27 mgr_effectiveness 6.830020e-01
11 compensation 6.074885e-01
| 信息值 | 预测力 |
|---|---|
| < 0.15 | 弱 |
| 0.15 到 0.4 | 中 |
| > 0.4 | 强 |
percent_hike: 1.14(强)compa_ratio: 0.29(中)HR Analytics:用 R 预测员工流失