iv: Information Value

Description Usage Arguments Value Author(s) Examples

Description

This function calculates the information value of a discrete predictor on an objective variable.

Usage

1
iv(target, groups)

Arguments

target

the objective variable, which should be binary, i.e., have only two values.

groups

the discrete predictor.

Value

iv a non-negative numeric.

Author(s)

Siyuan Yao

Examples

1
2
3
library(ISLR)
data(Default)
with(Default, iv(default, student))

siyuany/autobin documentation built on May 29, 2019, 11 p.m.