Learn R Programming

tools4uplift (version 0.1-1)

QiniCurve: Qini curve

Description

Curve of the function Qini, the incremental observed uplift with respect to predicted uplift sorted from the highest to the lowest.

Usage

QiniCurve(x, title = "Model Performance: Qini Curve", color = NULL)

Arguments

x

a table that must be the output of QiniTable function.

title

an overall title for the plot.

color

color of the curve.

Value

a Qini curve

References

Radcliffe, N. (2007). Using control groups to target on predicted lift: Building and assessing uplift models. Direct Marketing Analytics Journal, An Annual Publication from the Direct Marketing Association Analytics Council, pages 14-21.

Belbahri, M., Murua, A., Gandouet, O., and Partovi Nia, V. (2019) Uplift Regression, <https://dms.umontreal.ca/~murua/research/UpliftRegression.pdf>

See Also

QiniTable

Examples

Run this code
# NOT RUN {
library(tools4uplift)
data("SimUplift")

square1 <- SquareUplift(SimUplift, "X1", "X2", "treat", "y")

#performance of the heat map uplift estimation on the training dataset
perf <- QiniTable(data = square1, treat = "treat", 
                  outcome = "y", prediction = "Uplift_X1_X2", nb.group = 5)
QiniCurve(perf)

# }

Run the code above in your browser using DataLab