predict.InterUplift function

Predictions from an interaction estimator

Predictions from an interaction estimator

Predictions from the interaction uplift model estimator with associated model performance.

## S3 method for class 'InterUplift' predict(object, newdata, treat, ...)

Arguments

  • object: an object of class InterUplift, as that created by the function InterUplift.
  • newdata: a data frame containing the treatment, the outcome and the predictors of observations at which predictions are required.
  • treat: name of a binary (numeric) vector representing the treatment assignment (coded as 0/1).
  • ...: additional arguments to be passed to predict.glm function for the interaction model.

Returns

a vector of predicted uplift

References

Lo, V., S., Y. (2002) The true lift model: a novel data mining approach to response modeling in database marketing. ACM SIGKDD Explorations Newsletter, Vol. 4(2), 78-86.

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

InterUplift

Examples

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

Useful links