getLift: Extract bad rate value for each band of variable.

Description Usage Arguments Value Examples

View source: R/getLift.R

Description

Extract bad rate value for each band of variable.

Usage

1
getLift(id, y, yPred, lvl)

Arguments

id

An unique id of record

y

A vector of logical class, dependent variable

yPred

A probability prediction for dependent variable

lvl

A level of lift

Value

A lift value - how much the prediction is better than random on the chosen level

Examples

1
2
data(lendclub)
# will be added soon

wojciechoblak/varbinq documentation built on May 4, 2019, 9:46 a.m.