predict.DualUplift: Predictions from a two-model estimator

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

View source: R/predict.R

Description

Predictions from the two-model uplift model estimator with associated model performance.

Usage

1
2
## S3 method for class 'DualUplift'
predict(object, newdata, ...)

Arguments

object

an object of class DualUplift, as that created by the function DualUplift.

newdata

a data frame containing the treatment, the outcome and the predictors of observations at which predictions are required.

...

additional arguments to be passed to predict.glm function for each sub-model.

Value

a vector of predicted uplift

Author(s)

Mouloud Belbahri

References

Hansotia, B., J., and Rukstales B. (2001) Direct marketing for multichannel retailers: Issues, challenges and solutions. Journal of Database Marketing and Customer Strategy Management, Vol. 9(3), 259-266.

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

DualUplift

Examples

1
2
3
4
5
6
library(tools4uplift)
data("SimUplift")

fit <- DualUplift(SimUplift, "treat", "y", predictors = colnames(SimUplift[, 3:12]))

pred <- predict(fit, SimUplift)

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