# How We Compare Given the popularity of the Media Mix Modelling (MMM) approach, numerous packages are available. Below is a concise comparison highlighting how PyMC-Marketing stands against other popular options: | Feature | PyMC-Marketing | Robyn | Orbit KTR | Meridian* | |-------------------------------|:--------------:|:--------------:|:---------:|:----------------------:| | **Language** | Python | R | Python | Python | | **Approach** | Bayesian | Traditional ML | Bayesian | Bayesian | | **Foundation** | PyMC | - | STAN/Pyro | TensorFlow Probability | | **Company** | PyMC Labs | Meta | Uber | Google | | **Open source** | βœ… | βœ… | βœ… | βœ… | | **Model Building** | πŸ—οΈ Build | πŸ—οΈ Build | πŸ—οΈ Build | πŸ—οΈ Build | | **Out-of-Sample Forecasting** | βœ… | ❌ | βœ… | ❌ | | **Budget Optimizer** | βœ… | βœ… | ❌ | βœ… | | **Time-Varying Intercept** | βœ… | ❌ | βœ… | βœ… | | **Time-Varying Coefficients** | βœ… | ❌ | βœ… | ❌ | | **Custom Priors** | βœ… | ❌ | ❌ | βœ… | | **Lift-Test Calibration** | βœ… | βœ… | ❌ | βœ… | | **Geographic Modeling** | βœ… | ❌ | ❌ | βœ… | | **Unit-Tested** | βœ… | ❌ | βœ… | βœ… | | **MLFlow Integration** | βœ… | ❌ | ❌ | ❌ | | **GPU Sampling Accelleration**| βœ… | - | ❌ | βœ… | | **Consulting Support** | Provided by Authors | Third-party agency | Third-party agency | Third-party agency | *Meridian has been released as successor of Lightweight-MMM, which has been deprecated by Google* --- ### Key Takeaway Four of the five major libraries for MMM models implement different flavors of Bayesian models. While they share a broadly similar statistical foundation, they differ in API flexibility, underlying technology stack, and implementation approach. PyMC-Marketing stands out as the most widely used library by PyPI downloads (see plot below), offering unmatched flexibility and a comprehensive set of advanced features. This makes it ideal for teams looking for a highly customizable, state-of-the-art solution. However, its breadth and depth also make it the most sophisticated option, which may require a steeper learning curve. Other libraries have their own strengthsβ€”for example, Google Meridian features a more opinionated API and seamless integration with the Google ecosystem, which can be advantageous for organizations already embedded in Google's stack. Your optimal choice should depend primarily on: 1. Your team's technical expertise 2. Your primary advertising channels 3. Preference for an independent open-source solution vs. one sponsored by Ad Networks ![MMM Downloads Analysis](./mmm_downloads_analysis.png) ## Our Recommendation ### Choose Meta Robyn if: - Your team primarily uses R instead of Python - You prefer a simpler but less rigorous approach than Bayesian Models (Ridge regression) - You want direct integration with Meta/Facebook advertising data ### Choose Google Meridian if: - You want a simplified (albeit less flexible) API to build models across geographies - Direct integration with the Google advertising ecosystem is important - You want strong integration with other Google products such as Collab ### Choose PyMC-Marketing if: - Maximum flexibility for complex, unique business requirements is necessary - You need advanced statistical modeling capabilities (e.g., Gaussian Processes) - Production ready setup and integration into broader data science workflows is important (MLflow) - You prefer independence from major ad publishers and networks - Professional consulting support is desirable