Bayesian MMM

    A Bayesian mix model combines what you believed about each channel before seeing the data (priors) with what the data show, and reports each result as a range of plausible values.

    Last reviewed

    Mix modeling has too many unknowns for the data to settle alone. The Bayesian approach deals with that openly. You state prior beliefs, for instance that an ad channel's effect can't be negative, or that an experiment put its return near 2. The model updates those beliefs with the data and returns a distribution for every estimate.

    Two things follow. Uncertainty is built into the output, which is a real advantage. And the priors influence the answer, sometimes heavily, so they have to be shown and defended. Meridian and PyMC-Marketing are both Bayesian.

    Also called
    Bayesian marketing mix modeling, Bayesian media mix modeling
    Topic
    Model quality and Bayesian methods

    Related terms

    Prior
    A prior is the belief about a quantity that goes into a Bayesian model before the data are considered, written as a probability distribution.
    Posterior
    The posterior is a Bayesian model's updated belief about a quantity after combining the prior with the data. It's a distribution, not a single number.
    Markov chain Monte Carlo (MCMC)
    Markov chain Monte Carlo is the family of algorithms that Bayesian models use to draw thousands of samples from the posterior when it can't be worked out with a formula.
    Credible interval
    A credible interval is the Bayesian range for an estimate: given the model and the data, there's a stated probability (often 90% or 95%) that the true value lies inside it.
    Model calibration
    Model calibration adjusts or constrains a mix model so its estimates agree with the results of experiments.
    Meridian
    Meridian is Google's open-source marketing mix modeling framework, written in Python. It's a Bayesian model designed for regional data, with support for reach and frequency and for priors based on experiments.
    PyMC-Marketing
    PyMC-Marketing is an open-source Python library from PyMC Labs for Bayesian marketing analytics, including mix models and customer lifetime value models.

    Go deeper

    Want a second opinion?

    Tell us what you're trying to decide and what data you have, and we'll tell you what we'd do. Or take the short readiness quiz first. It's a rough screen, not a verdict. Both open on the home page.