PyMC-Marketing
pymc-marketing.io
- Free plan
- Linux
- Self-hosted
What PyMC-Marketing is
PyMC-Marketing is a free, open-source Python library for Bayesian marketing analytics, including marketing mix modeling (MMM) and customer lifetime value models. Its MMM tools cover custom priors and likelihoods, adstock and saturation transformations, time-varying effects, diagnostics, and out-of-sample predictions. Models can be calibrated with empirical experiments such as lift tests, and built-in budget optimization allocates spend across channels to maximize ROI. Bayesian uncertainty estimates include posterior distributions and credible intervals. The library also includes models for customer choice, Bass diffusion, and alpha-stage predicted incrementality by experimentation, alongside support for predictive CLV, cohort analysis, and customer segmentation. It runs on Linux and can be self-hosted. Current documentation requires Python 3.12 or later, PyMC 6.0 or later, and ArviZ 1.2 or later. Installation uses `pip install pymc-marketing`, with no conda environment required. The MMM API supports BlackJax, NumPyro, and Nutpie NUTS samplers, and PyMC backends allow GPU acceleration. PyMC Labs and PyMC core developers maintain the project. Learning materials include a guided path, example notebooks, and an API reference. The plan costs nothing under the Apache 2.0 license.
Who it suits
PyMC-Marketing suits Python users building Bayesian marketing mix or customer lifetime value models. It may fit teams that need experiment calibration, channel budget optimization, or uncertainty estimates and can meet its documented software requirements.
Good to know, and what to watch
- MMM supports custom priors and likelihoods
- Calibrates models with empirical experiments
- Built-in channel budget optimization
- Provides Bayesian uncertainty estimates
- Free and open source under Apache 2.0
- Requires Python 3.12 or later
- Requires PyMC 6.0 or later
- Requires ArviZ 1.2 or later
- Predicted incrementality by experimentation is alpha-stage
Plans
Every plan and pricePyMC-Marketing
Free plan
Getting started
- Install Python 3.12 or later
- Install PyMC 6.0 or later and ArviZ 1.2 or later
- Install the library with `pip install pymc-marketing`
- Run it in a Linux or self-hosted environment
- Use the guided learning path, notebooks, or API reference
The verdict
PyMC-Marketing combines Bayesian MMM, budget optimization, and several customer models in a free Python library. Its documented version requirements make the required Python and PyMC environment an important fit consideration.
Questions people ask
How much does PyMC-Marketing cost?
It is free: the listed plan is free.
Is PyMC-Marketing open source?
Yes. It is released under the Apache 2.0 license.
What platforms are supported?
The listing names Linux and self-hosted use.
Which versions are required?
Current documentation requires Python 3.12 or later, PyMC 6.0 or later, and ArviZ 1.2 or later.
How is it installed?
Use pip with `pip install pymc-marketing`; a conda environment is not required.
Who maintains the project?
PyMC Labs and the core developers of PyMC build and maintain it.
What the maker publishes
- Budget optimization
- Built-in budget optimization allocates marketing spend across channels to maximize ROI. source
- Experiment calibration
- MMM models can be calibrated using empirical experiments, including lift tests. source
- Inference options
- The MMM API supports multiple NUTS samplers, including BlackJax, NumPyro, and Nutpie, and PyMC backends allow GPU acceleration. source
- Installation
- The library can be installed with pip using `pip install pymc-marketing`; the documentation says no conda environment is required. source
- Learning resources
- The maker provides a guided learning path, example notebooks, and an API reference. source
- License
- PyMC-Marketing is free and open source under the Apache 2.0 license. source
- Maintainer
- PyMC-Marketing is built and maintained by PyMC Labs and the core developers of PyMC. source
- Maker background
- PyMC Labs describes itself as a Bayesian AI consultancy founded by core members of the PyMC community. source
- MMM features
- Its MMM API supports custom priors and likelihoods, adstock and saturation transformations, time-varying effects, diagnostics, and out-of-sample predictions. source
- Organization details
- The opened PyMC Labs about page does not state a headquarters or the consultancy's founding year. source
- Other model types
- The library also includes customer lifetime value, customer choice, Bass diffusion, and alpha-stage predicted incrementality by experimentation models. source
- Purpose
- PyMC-Marketing is an open-source Python library for Bayesian marketing analytics, including marketing mix modeling and customer lifetime value models. source
- Requirements
- The current documentation requires Python 3.12 or later, PyMC 6.0 or later, and ArviZ 1.2 or later. source
- Support
- The maker offers a free 30-minute strategy session with its experts and a contact option. source
- Uncertainty
- The library provides Bayesian uncertainty quantification, including posterior distributions and credible intervals for predictions. source
Checked against the maker's pages on 8 Oct 2026.