BetaGeoModel.distribution_new_customer_dropout#
- BetaGeoModel.distribution_new_customer_dropout(random_seed=None)[source]#
Sample the Beta distribution for the population-level dropout rate.
This is the probability that a new customer will not make another purchase (“drops out”) immediately after any previous purchase.
- Parameters:
random_seed (RandomState, optional) – Random state to use for sampling.
- Returns:
Dataset containing the posterior samples for the population-level dropout rate.
- Return type:
xr.Dataset