predict.DualUplift function

Predictions from a two-model estimator

Predictions from a two-model estimator

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

## 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.

Returns

a vector of predicted uplift

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. (2019) Uplift Regression, https://dms.umontreal.ca/~murua/research/UpliftRegression.pdf

Author(s)

Mouloud Belbahri

See Also

DualUplift

Examples

library(tools4uplift) data("SimUplift") fit <- DualUplift(SimUplift, "treat", "y", predictors = colnames(SimUplift[, 3:12])) pred <- predict(fit, SimUplift)
  • Maintainer: Mouloud Belbahri
  • License: GPL-2 | GPL-3
  • Last published: 2021-01-06

Useful links