Description Usage Arguments Examples
This function allows the calculation of the WOE table for a given variable. It can be useful for manual interventions in WOE transformations.
1 | woe.table.calc(data, default_flag, variable)
|
data |
A data set needs to be specified. |
default_flag |
The default flag need to specified as string. |
variable |
A variable need to be defined as a string. |
1 2 3 4 5 | default_f <- c('1','0','0', '1','1','0','0','1')
birth_year <- c(1980, 1985, 1971,1971,1985,1971,1980,1980)
salary <- c(20000,2000,10000, 10050,2000,21500,12422,10521)
example_data <- data.frame(default_f,birth_year,salary)
woe.table.calc(example_data, "default_f", "birth_year")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.