Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Billing
  3. PyMC-Marketing

PyMC-Marketing

Apache-2.0Python0.19.3

A Bayesian marketing analytics toolbox for Media Mix Modeling (MMM), Customer Lifetime Value (CLV), and customer choice analysis.

Visit WebsiteGitHubGitHub
1.1k stars378 forks0 contributors

What is PyMC-Marketing?

PyMC-Marketing is a Python library for Bayesian marketing analytics, providing tools to measure marketing effectiveness, predict customer lifetime value, and analyze market choices. It solves the problem of making data-driven marketing decisions under uncertainty by offering probabilistic models that quantify ROI, channel contributions, and customer behavior.

Target Audience

Marketing data scientists, analysts, and researchers who need to build robust, interpretable models for marketing optimization, customer analytics, and product launch impact assessment.

Value Proposition

Developers choose PyMC-Marketing because it integrates cutting-edge Bayesian methods with marketing-specific models in an open-source package, offering flexibility, transparency, and uncertainty quantification not always available in proprietary solutions.

Overview

Bayesian marketing toolbox in PyMC. Media Mix (MMM), customer lifetime value (CLV), buy-till-you-die (BTYD) models and more.

Use Cases

Best For

  • Measuring the ROI of marketing channels with carryover and saturation effects
  • Predicting future purchases and customer lifetime value for retention strategies
  • Analyzing the market share impact of new product launches
  • Optimizing marketing budget allocation across channels
  • Forecasting adoption curves for new products using diffusion models
  • Understanding customer preferences through discrete choice modeling

Not Ideal For

  • Teams needing drag-and-drop, no-code marketing analytics platforms without statistical programming
  • Real-time marketing optimization systems where MCMC sampling latency is prohibitive
  • Organizations standardized on frequentist methods or proprietary tools like Google Analytics 360
  • Small-scale campaigns where rule-based heuristics or simple regression suffice

Pros & Cons

Pros

Comprehensive Model Library

Integrates Marketing Mix Modeling, Customer Lifetime Value, choice analysis, Bass diffusion, and discrete choice models in one package, all backed by example notebooks and documentation.

Bayesian Flexibility

Allows custom priors and likelihoods for domain knowledge integration, as shown in the MMM features for adstock and saturation customization.

Performance Optimizations

Supports GPU acceleration and multiple NUTS samplers like BlackJax and NumPyro, enabling faster inference on large datasets.

Robust Visualization Tools

Includes plotting for model diagnostics, component contributions, and budget optimization, demonstrated with ROAS efficiency and counterfactual plots in the README.

Cons

Statistical Complexity

Requires proficiency in Bayesian statistics and PyMC, making it inaccessible for teams without dedicated data science expertise.

Computational Demands

MCMC sampling can be slow and resource-intensive, even with GPU support, limiting frequent model updates or use on low-end hardware.

Ecosystem Immaturity

Has a smaller community and fewer integrations compared to established marketing tools, increasing the support burden for niche use cases.

Frequently Asked Questions

Quick Stats

Stars1,140
Forks378
Contributors0
Open Issues405
Last commit1 day ago
CreatedSince 2022

Tags

#probabilistic-modeling#bayesian-statistics#marketing#data-science#pymc#python#marketing-analytics

Built With

P
Python
D
Docker
S
Streamlit

Links & Resources

Website

Included in

Billing1.3k
Auto-fetched 1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub