Posterior predictive check

    A posterior predictive check simulates data from a fitted Bayesian model and compares it with the real data, to see whether the model can reproduce what was observed.

    Last reviewed

    If the simulated sales look nothing like actual sales (too smooth, missing the peaks, never as low as the real troughs), the model has the structure wrong somewhere. Passing the check is necessary and not sufficient. A model can reproduce total sales and still split them wrongly among channels.

    Topic
    Model quality and Bayesian methods

    Related terms

    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.
    Model validation
    Model validation is the set of checks that tell you how far to trust a model: how well it predicts data it hasn't seen, whether its results are stable, and whether they agree with experiments.
    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.
    Residuals
    Residuals are the gaps between what a model predicted and what actually happened, one for each time period.

    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.