powered by
The function bad_bin implements the quantile-based monotonic binning by the iterative discretization based on cases with Y = 1.
bad_bin
bad_bin(x, y)
A numeric vector
A numeric vector with 0/1 binary values
A list of binning outcomes, including a numeric vector with cut points and a dataframe with binning summary
# NOT RUN { data(hmeq) bad_bin(hmeq$DEROG, hmeq$BAD) # }
Run the code above in your browser using DataLab