Skip to content
The Madison Avenue Field GuideA field guide to marketing & advertising, by Brandon Mina

GlossaryMeasurement & AttributionPyMC-Marketing

Measurement & Attribution

PyMC-Marketing

An open-source Python library from PyMC Labs offering Bayesian marketing mix models and customer lifetime value models.

By Brandon MinaCEO, BrandPilot AIUpdated November 2026

Short answer

PyMC-Marketing is an open-source Python library from PyMC Labs that offers Bayesian marketing mix models and customer lifetime value models. Built on the PyMC probabilistic programming framework, it lets analysts encode prior knowledge, quantify uncertainty in channel estimates and customize model structure, making it a flexible option for in-house measurement teams.