Hyperparameter

    A hyperparameter is a setting that shapes how a model is built or fitted and is chosen outside the main estimation, such as an adstock decay rate, a saturation shape, or the strength of a penalty.

    Last reviewed

    In a mix model these settings are anything but minor. Adstock and saturation hyperparameters decide how spend is transformed before the regression sees it, and so they decide much of the answer. Tools either search over them automatically, as Robyn does, or estimate them alongside everything else, as Bayesian models do.

    Topic
    Model quality and Bayesian methods

    Related terms

    Adstock
    Adstock is the way a mix model represents advertising's lingering effect: part of each week's ad pressure carries over into the weeks that follow, fading as it goes.
    Hill function
    The Hill function is a formula widely used in mix models to draw a channel's saturation curve. Two settings control it: the spend at which half the maximum effect is reached, and how sharply the curve bends.
    Regularization
    Regularization is a penalty added to a model's fitting process that discourages extreme coefficient values, trading a little fit for estimates that are more stable.
    Robyn
    Robyn is an open-source marketing mix modeling package from Meta, written in R, that fits many candidate models using ridge regression and an automated search over settings.
    Sensitivity analysis
    Sensitivity analysis reruns a model with reasonable changes to its assumptions or data to see how much the conclusions move.

    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.