Description Usage Arguments Value See Also Examples
getIV
will compute the given binning IV of x variable, return a numeric.
1 |
df |
A dataframe only with two variables, X and Y. |
cutbound |
A single value for factor variable, or a vector with lbound and ubound for numeric variable. |
totalgood |
Default |
totalbad |
Default |
A numeric
Other WOE and IV computing functions: dfIV
,
getWOE
, sumIV
1 2 3 4 5 6 | data(CreditData)
getIV(CreditData[c("gender","target")], cutbound = "M")
getIV(CreditData[c("gscore","target")], cutbound = c(-Inf,534))
getIV(CreditData[c("gscore","target")], cutbound = c(577,617))
getIV(CreditData[c("gscore","target")], cutbound = c(617,Inf))
getIV(CreditData[c("gscore","target")], cutbound = NA)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.