getIV: Extract a matrix with IV, WOE, structure of bads and...

Description Usage Arguments Value Examples

Description

Extract a matrix with IV, WOE, structure of bads and structure of goods for each band.

Usage

1
getIV(yVar, xVar)

Arguments

yVar

A logical vector of dependent variable.

xVar

A factor or logical vector of independent variable.

Value

A matrix with information value, WOE, structure of bads and structure of goods for each band.

Examples

1
2
3
4
5
data(lendclub)
getIV(yVar = lendclub$loan_status, lendclub$home_ownership)
#or check IV for variable
x <- getIV(yVar = lendclub$loan_status, lendclub$home_ownership)
sum(x[,"iv"])

wojciechoblak/varbinq documentation built on May 4, 2019, 9:46 a.m.