arb_bin {mob}R Documentation

Monotonic binning based on decision tree model

Description

The function arb_bin implements the monotonic binning based on the decision tree.

Usage

arb_bin(x, y)

Arguments

x

A numeric vector

y

A numeric vector with 0/1 binary values

Value

A list of binning outcomes, including a numeric vector with cut points and a dataframe with binning summary

Examples

data(hmeq)
arb_bin(hmeq$DEROG, hmeq$BAD)

[Package mob version 0.4.2 Index]