Weight of evidence for categorical(X-independent) variable against Target variable (Y)
ExpWoeTable(X, Y, valueOfGood = NULL,print=FALSE,Round=2)
Independent categorical variable.
Binary response variable, it can take values of either 1 or 0.
Value of Y that is used as reference category.
print results
rounds the values
Weight of evidance summary table
The weight of evidence tells the predictive power of an independent variable in relation to the dependent variable
WOETable
# NOT RUN { X = mtcars$gear Y = mtcars$am WOE = ExpWoeTable(X,Y,valueOfGood = 1) # }
Run the code above in your browser using DataLab