woe_cal_df: woe_cal_df

Description Usage Arguments Details Value Author(s) Examples

View source: R/information_value.R View source: R/woe_cal_df.R

Description

Compute the woe_cal that shows the Weights Of Evidence (WOE) for each group and respeective Information Values (IVs).

Usage

1
woe_cal_df(data, woe_table)

Arguments

data

The data is to be computed.

woe_table

The table is calculated woe

Details

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

Value

The woe data

Author(s)

Nguyen Ngoc Binh nguyenngocbinhneu@gmail.com

Examples

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)

nguyenngocbinh/scorecard.sea documentation built on Jan. 4, 2020, 11:43 a.m.