ExpWoeTable: Function provides summary statistics with weight of evidence

ExpWoeTableR Documentation

Function provides summary statistics with weight of evidence

Description

Weight of evidence for categorical(X-independent) variable against Target variable (Y)

Usage

ExpWoeTable(X, Y, valueOfGood = NULL, print = FALSE, Round = 2)

Arguments

X

Independent categorical variable.

Y

Binary response variable, it can take values of either 1 or 0.

valueOfGood

Value of Y that is used as reference category.

print

print results

Round

rounds the values

Details

The weight of evidence tells the predictive power of an independent variable in relation to the dependent variable

Value

Weight of evidance summary table

See Also

WOETable

Examples

X = mtcars$gear
Y = mtcars$am
WOE = ExpWoeTable(X,Y,valueOfGood = 1)

SmartEDA documentation built on Dec. 4, 2022, 1:15 a.m.