get_iv: Compute information value

Description Usage Arguments Details Value Author(s) Examples

View source: R/sfa.R

Description

Compute the iv

Compute the iv

Usage

1
2
3
get_iv(x, y)

get_iv(x, y)

Arguments

x

categorical variable

y

binary variable

y

binary variable

x

categorical variable

Details

For a given actual for a Binary Y variable and a category or continous X variable. Information value will be calculated

For a given actual for a Binary Y variable and a category or continous X variable. Information value will be calculated

Value

AUC value

AUC value

Author(s)

Nguyen Ngoc Binh nguyenngocbinhneu@gmail.com

Nguyen Ngoc Binh nguyenngocbinhneu@gmail.com

Examples

1
2
3
4
5
6
data('hmeq')
iv1 <- get_iv(x = hmeq$reason, y = hmeq$bad)
iv2 <- get_iv(x = hmeq$loan, y = hmeq$bad)
data('hmeq')
iv1 <- get_iv(x = hmeq$reason, y = hmeq$bad)
iv2 <- get_iv(x = hmeq$loan, y = hmeq$bad)

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