ShiftedBetaGeoModel.expected_residual_lifetime#
- ShiftedBetaGeoModel.expected_residual_lifetime(data=None, *, discount_rate=0.0)[fuente]#
Compute expected residual lifetime of each customer.
This is the expected number of periods a customer will remain active after the current time period, subject to a discount rate for net present value (NPV) calculations. It is recommended to set a discount rate > 0 to avoid infinite lifetime estimates.
Adaptado de la ecuación (6) en [1].
- Parameters:
- discount_rate
float Tasa de descuento a aplicar para las estimaciones del valor presente neto.
- data
DataFrame 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 indropout_covariate_cols(if using covariates)
- discount_rate
References
[1]Fader, P. S., & Hardie, B. G. (2010). «Customer-Base Valuation in a Contractual Setting: The Perils of Ignoring Heterogeneity». Marketing Science, 29(1), 85-93. https://faculty.wharton.upenn.edu/wp-content/uploads/2012/04/Fader_hardie_contractual_mksc_10.pdf