ModifiedBetaGeoModel.expected_probability_alive#
- ModifiedBetaGeoModel.expected_probability_alive(data=None)[source]#
Compute the probability a customer with history frequency, recency, and T is currently active.
The data parameter is only required for out-of-sample customers.
Adapted from equation (5) in [1], and the legacy
lifetimeslibrary: CamDavidsonPilon/lifetimes- Parameters:
- data*pandas.DataFrame
Optional dataframe containing the following columns:
customer_id: Unique customer identifierfrequency: Number of repeat purchasesrecency: Time between the first and the last purchaseT: Time between first purchase and end of observation period, model assumptions require T >= recency
References
[1]Batislam, E.P., M. Denizel, A. Filiztekin (2007),
“Empirical validation and comparison of models for customer base analysis.” International Journal of Research in Marketing, 24 (3), 201-209. https://works.bepress.com/meltem-denizel/2/download/