plot.PerformanceUplift: Qini curve

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/plot.R

Description

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

Usage

1
2
## S3 method for class 'PerformanceUplift'
plot(x, ...)

Arguments

x

a table that must be the output of PerformanceUplift function.

...

additional plot arguments.

Value

a Qini curve and the associated Qini coefficient

Author(s)

Mouloud Belbahri

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. (2021) Uplift Regression : The R Package tools4uplift, <https://arxiv.org/pdf/1901.10867.pdf>

See Also

PerformanceUplift

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(tools4uplift)
data("SimUplift")

model1 <- BinUplift2d(SimUplift, "X1", "X2", "treat", "y")
perf1 <- PerformanceUplift(data = model1, treat = "treat", 
                  outcome = "y", prediction = "Uplift_X1_X2", 
                  equal.intervals = TRUE, nb.group = 3)
                  
                  
plot(perf1, type='b')

tools4uplift documentation built on Jan. 11, 2022, 3 a.m.