---
title: "Example Gallery"
source: PyMC-Marketing (Bayesian MMM)
source_url: https://github.com/pymc-labs/pymc-marketing
licence: Apache-2.0
domain: economics-and-strategy
subdomain: pymc-marketing
date_added: 2026-04-25
---

(gallery)=
# Example Gallery

```{toctree}
:hidden:
```

## Introduction

Welcome to the PyMC-Marketing example gallery! This gallery provides visual navigation to all of our example notebooks to help you quickly find the techniques and models relevant to your marketing analytics needs.

## Marketing Mix Models (MMM)

### Fundamentals

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} MMM Quickstart Guide
:img-top: ../gallery/images/mmm_quickstart.png
:link: ../notebooks/mmm/mmm_quickstart.html
:::

:::{grid-item-card} MMM Example: Extensive Introduction Notebook
:img-top: ../gallery/images/mmm_example.png
:link: ../notebooks/mmm/mmm_example.html
:::

:::{grid-item-card} MMM Multidimensional Example Notebook (e.g. Geo-MMM)
:img-top: ../gallery/images/mmm_multidimensional_example.png
:link: ../notebooks/mmm/mmm_multidimensional_example.html
:::

:::{grid-item-card} Understanding Media Saturation
:img-top: ../gallery/images/mmm_media_saturation.png
:link: ../notebooks/mmm/mmm_media_saturation.html
:::

:::{grid-item-card} Guide to Adstock Transformations
:img-top: ../gallery/images/adstock_functions_guide.png
:link: ../notebooks/mmm/adstock_functions_guide.html
:::

:::{grid-item-card} Build MMM from YAML Configuration
:img-top: ../gallery/images/mmm_build_from_yml_example.png
:link: ../notebooks/mmm/mmm_build_from_yml_example.html
:::

:::{grid-item-card} Sensitivity Analysis and Marginal Effects
:img-top: ../gallery/images/mmm_sensitivity_analysis.png
:link: ../notebooks/mmm/mmm_sensitivity_analysis.html
:::

:::{grid-item-card} Interactive MMM Visualizations
:img-top: ../gallery/images/plot_interactive.png
:link: ../notebooks/mmm/plot_interactive.html
:::

:::{grid-item-card} Cost-per-Unit: Model What Drives Revenue, Report What You Spend
:img-top: ../gallery/images/mmm_cost_per_unit.png
:link: ../notebooks/mmm/mmm_cost_per_unit.html
:::

:::{grid-item-card} Parameter Recovery
:img-top: ../gallery/images/mmm_data_generator.png
:link: ../notebooks/mmm/mmm_data_generator.html
:::

:::{grid-item-card} MMM API Migration Guide
:img-top: ../gallery/images/mmm_migration_guide.png
:link: ../notebooks/mmm/mmm_migration_guide.html
:::

:::{grid-item-card} MMM Dims Migration Guide
:img-top: ../gallery/images/mmm_dims_migration_guide.png
:link: ../notebooks/mmm/mmm_dims_migration_guide.html
:::
::::

### Custom Models
::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} Custom Models with MMM components
:img-top: ../gallery/images/mmm_components.png
:link: ../notebooks/mmm/mmm_components.html
:::

:::{grid-item-card} Custom Geo-Hierarchical MMM with Splines
:img-top: ../gallery/images/mmm_custom_splines.png
:link: ../notebooks/mmm/mmm_custom_splines.html
:::

:::{grid-item-card} Beyond MMMs: adding GAMs or anything else to your model.
:img-top: ../gallery/images/mmm_example.png
:link: ../notebooks/mmm/mmm_gam_options.html
:::

:::{grid-item-card} Custom MMM with ROAS Parameterization
:img-top: ../gallery/images/mmm_roas_parametrization.png
:link: ../notebooks/mmm/mmm_roas_parametrization.html
:::
::::

### Data Connectors

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} MMM Fivetran Connectors
:img-top: ../gallery/images/mmm_fivetran_connectors.png
:link: ../notebooks/mmm/mmm_fivetran_connectors.html
:::
::::

### Budget Allocation

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} Budget Allocation Example
:img-top: ../gallery/images/mmm_budget_allocation_example.png
:link: ../notebooks/mmm/mmm_budget_allocation_example.html
:::

:::{grid-item-card} Budget Allocation and Risk Assessment
:img-top: ../gallery/images/mmm_allocation_assessment.png
:link: ../notebooks/mmm/mmm_allocation_assessment.html
:::

:::{grid-item-card} Multi-Objective Optimization
:img-top: ../gallery/images/mmm_multi_objective_optimization.png
:link: ../notebooks/mmm/mmm_multi_objective_optimization.html
:::
::::

### Lift Test Calibration

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} Introduction to Lift Test Calibration
:img-top: ../gallery/images/mmm_lift_test.png
:link: ../notebooks/mmm/mmm_lift_test.html
:::

:::{grid-item-card} MMM Calibration with Geo-Level Lift Tests
:img-top: ../gallery/images/mmm_geolift_calibration.png
:link: ../notebooks/mmm/mmm_geolift_calibration.html
:::

:::{grid-item-card} Mitigating Unobserved Confounders in MMMs with Lift Test Likelihoods
:img-top: ../gallery/images/mmm_roas.png
:link: ../notebooks/mmm/mmm_roas.html
:::
::::

### Time-Varying Parameters

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} MMM with time-varying media baseline
:img-top: ../gallery/images/mmm_tvp_example.png
:link: ../notebooks/mmm/mmm_tvp_example.html
:::

:::{grid-item-card} MMM with time-varying parameters
:img-top: ../gallery/images/mmm_time_varying_media_example.png
:link: ../notebooks/mmm/mmm_time_varying_media_example.html
:::
::::

### Model Evaluation

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} Cross-Validation
:img-top: ../gallery/images/mmm_time_slice_cross_validation.png
:link: ../notebooks/mmm/mmm_time_slice_cross_validation.html
:::

:::{grid-item-card} Metrics and Model Evaluation
:img-top: ../gallery/images/mmm_evaluation.png
:link: ../notebooks/mmm/mmm_evaluation.html
:::
::::

### Causal Inference

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} Causal Identification
:img-top: ../gallery/images/mmm_causal_identification.png
:link: ../notebooks/mmm/mmm_causal_identification.html
:::

:::{grid-item-card} MMMs and Pearl's ladder of causal inference
:img-top: ../gallery/images/mmm_counterfactuals.png
:link: ../notebooks/mmm/mmm_counterfactuals.html
:::

:::{grid-item-card} Introduction: Upper-Funnel Impact with PyMC‑Marketing
:img-top: ../gallery/images/mmm_intro_upper_funnel.png
:link: ../notebooks/mmm/mmm_intro_upper_funnel.html
:::

:::{grid-item-card} Advanced: Upper-Funnel Impact with PyMC‑Marketing
:img-top: ../gallery/images/mmm_upper_funnel_causal_approach.png
:link: ../notebooks/mmm/mmm_upper_funnel_causal_approach.html
:::

:::{grid-item-card} Causal Reasoning and Discovery
:img-top: ../gallery/images/mmm_causal_reasoning_and_discovery.png
:link: ../notebooks/mmm/mmm_causal_reasoning_and_discovery.html
:::

:::::

### Case Studies

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} MMM End-to-End Case Study
:img-top: ../gallery/images/mmm_case_study.png
:link: ../notebooks/mmm/mmm_case_study.html
:::

:::{grid-item-card} Integrating Foundational Time Series Models with PyMC-Marketing MMM
:img-top: ../gallery/images/mmm_chronos.png
:link: ../notebooks/mmm/mmm_chronos.html
:::
::::

## Customer Lifetime Value (CLV) Models

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} CLV Quickstart
:img-top: ../gallery/images/clv_quickstart.png
:link: ../notebooks/clv/clv_quickstart.html
:::

:::{grid-item-card} BG/NBD Model
:img-top: ../gallery/images/bg_nbd.png
:link: ../notebooks/clv/bg_nbd.html
:::

:::{grid-item-card} MBG/NBD Model
:img-top: ../gallery/images/mbg_nbd.png
:link: ../notebooks/clv/mbg_nbd.html
:::

:::{grid-item-card} Pareto/NBD Model
:img-top: ../gallery/images/pareto_nbd.png
:link: ../notebooks/clv/pareto_nbd.html
:::

:::{grid-item-card} Gamma-Gamma Model
:img-top: ../gallery/images/gamma_gamma.png
:link: ../notebooks/clv/gamma_gamma.html
:::

:::{grid-item-card} Shifted BG Model for Cohorts
:img-top: ../gallery/images/sbg.png
:link: ../notebooks/clv/sbg.html
:::

:::{grid-item-card} sBG Model for Individuals
:img-top: ../gallery/images/sBG_individual.png
:link: ../notebooks/clv/sBG_individual.html
:::
::::

## Customer Choice Models

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} MV-ITS Saturated
:img-top: ../gallery/images/mv_its_saturated.png
:link: ../notebooks/customer_choice/mv_its_saturated.html
:::

:::{grid-item-card} MV-ITS Unsaturated
:img-top: ../gallery/images/mv_its_unsaturated.png
:link: ../notebooks/customer_choice/mv_its_unsaturated.html
:::

:::{grid-item-card} Multinomial Logit Discrete Choice
:img-top: ../gallery/images/mnl_logit.png
:link: ../notebooks/customer_choice/mnl_logit.html
:::

:::{grid-item-card} Nested Logit Discrete Choice
:img-top: ../gallery/images/nested_logit.png
:link: ../notebooks/customer_choice/nested_logit.html
:::

:::{grid-item-card} Mixed Logit Discrete Choice
:img-top: ../gallery/images/mixed_logit.png
:link: ../notebooks/customer_choice/mixed_logit.html
:::

:::{grid-item-card} Consideration Set Mixed Logit
:img-top: ../gallery/images/consideration_set_logit.png
:link: ../notebooks/customer_choice/consideration_set_logit.html
:::
::::

## Bass Diffusion Model

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} Bass Diffusion Model Example
:img-top: ../gallery/images/bass_example.png
:link: ../notebooks/bass/bass_example.html
:::
::::

## General Tutorials

::::{grid} 1 2 3 3
:gutter: 3

:::{grid-item-card} Model Configuration
:img-top: ../gallery/images/model_configuration.png
:link: ../notebooks/general/model_configuration.html
:::

:::{grid-item-card} Prior Predictive Checks
:img-top: ../gallery/images/prior_predictive.png
:link: ../notebooks/general/prior_predictive.html
:::

:::{grid-item-card} NUTS Samplers
:img-top: ../gallery/images/other_nuts_samplers.png
:link: ../notebooks/general/other_nuts_samplers.html
:::
::::
