BetaGeoModel.distribution_new_customer_purchase_rate#
- BetaGeoModel.distribution_new_customer_purchase_rate(data=None, *, random_seed=None)[source]#
Sample the Gamma distribution for the population-level purchase rate.
This is the purchase rate for a new customer and determines the time between purchases for any new customer.
- Parameters:
- random_seed
RandomState, optional Random state to use for sampling.
- random_seed
- Returns:
xarray.DatasetDataset containing the posterior samples for the population-level purchase rate.