Description Usage Arguments Details Value Author(s) Examples
View source: R/information_value.R View source: R/woe_cal_df.R
Compute the woe_cal that shows the Weights Of Evidence (WOE) for each group and respeective Information Values (IVs).
1 | woe_cal_df(data, woe_table)
|
data |
The data is to be computed. |
woe_table |
The table is calculated woe |
For a given actual for a Binary Y variable and a categorical X variable stored as factor, the WOE table is generated with calculated WOE's and IV's
The woe data
woe_data. The data is computed woe.
Nguyen Ngoc Binh nguyenngocbinhneu@gmail.com
1 2 3 4 | data('hmeq')
hmeq1 <- hmeq[,c("bad", "reason", "job")]
woe_table <- woe_cal_table(df = hmeq1, y = "bad")
df_woe <- woe_cal_df(data = hmeq, woe_table = woe_table)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.