plot_demand_concentration#
- pymc_marketing.customer_choice.taste_profiles.plot_demand_concentration(model, n_samples=300, ax=None)[source]#
Gini coefficient of inside-good demand vs. average market price.
Each dot is one market; the error bar shows the 94% HDI of the Gini’s posterior. The pattern is typically monotone: cheap markets serve all consumer types uniformly (low Gini); expensive markets concentrate demand on the insensitive tail (high Gini).
- Parameters:
- model
BayesianBLP A fitted model.
- n_samples
int Number of posterior draws.
- ax
matplotlibAxes, optional Pre-existing axis.
- model
- Returns: