Description Usage Arguments Details Value See Also
collElimination2
is a recursive function, which will recursivly eliminate the collinearity X variables with smaller IV. Different from collElimination
, it must provide parameter IVdf
, so need not recalculate every variable's IV for speed up.
1 | collElimination2(df, IVdf, cor_critical = 0.8)
|
df |
A dataframe only with Xs and Y variable, all the X variables must have been binned, such as after woe-encoded. |
IVdf |
A dataframe of every X variable's IV. |
cor_critical |
Specifies the correlation coefficient threshold for extracting, default |
for collinearity elimination, recursion is necessary to avoid mistakenly-deleted.
A dataframe after elimination
Other collinearity elimination functions: collElimination
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.