ShiftedBetaGeoModel.expected_probability_alive#

ShiftedBetaGeoModel.expected_probability_alive(data=None, *, future_t=None)[source]#

Compute expected probability of contract renewal for each customer.

The data parameter is only required for out-of-sample customers.

Adapted from equation (6) in [1].

Parameters:
future_tint, array_like

Number of time periods in the future to predict probability of being active.

dataDataFrame

Optional dataframe containing the following columns: * customer_id: Unique customer identifier * T: Number of time periods customer has been active * cohort: Customer cohort label * Covariate columns specified in dropout_covariate_cols (if using covariates)

References

[1]

Fader, P. S., & Hardie, B. G. (2007). “How to project customer retention.” Journal of Interactive Marketing, 21(1), 76-90. https://faculty.wharton.upenn.edu/wp-content/uploads/2012/04/Fader_hardie_jim_07.pdf