ExpWoeTable | R Documentation |
Weight of evidence for categorical(X-independent) variable against Target variable (Y)
ExpWoeTable(X, Y, valueOfGood = NULL, print = FALSE, Round = 2)
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 |
The weight of evidence tells the predictive power of an independent variable in relation to the dependent variable
Weight of evidance summary table
WOETable
X = mtcars$gear Y = mtcars$am WOE = ExpWoeTable(X,Y,valueOfGood = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.