資訊值

HR 分析:以 R 預測員工流失

Abhishek Trehan

People Analytics Practitioner

理解資訊值

  • 衡量自變數對準確預測應變數的預測力
  • 依預測力為自變數排序
HR 分析:以 R 預測員工流失

計算資訊值

$$ IV = (\sum \text{(\% of non-events - \% of events)}) * \log(\frac{\text{\% of non-events}}{\text{\% of events}}) $$

HR 分析:以 R 預測員工流失

計算資訊值

# 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
HR 分析:以 R 預測員工流失

資訊值(IV)表

Information value Predictive power
< 0.15
Between 0.15 and 0.4 中等
> 0.4

 

  • percent_hike: 1.14(強)
  • compa_ratio: 0.29(中等)
HR 分析:以 R 預測員工流失

一起來練習吧!

HR 分析:以 R 預測員工流失

Preparing Video For Download...