Dummy variable

    A dummy variable is a column of ones and zeros that marks when something was true: a holiday week, a product launch, a site outage.

    Last reviewed

    Dummies let the model set aside one-off events so they don't distort the channel estimates. They're easy to overuse. A dummy for every awkward week makes the fit look better and teaches the model nothing, so each one should mark an event you can name.

    Also called
    Indicator variable, Flag
    Topic
    Mix modeling

    Related terms

    Control variable
    A control variable is a non-marketing factor included in a mix model so its effect on sales isn't wrongly credited to marketing.
    Seasonality
    Seasonality is the regular, repeating pattern in sales across the year, the week, or another cycle, independent of marketing.
    Structural break
    A structural break is a point in time after which the relationships in your data changed, so history before it no longer describes the present well.
    Overfitting
    Overfitting is when a model learns the random noise in its training data as if it were real pattern, so it fits history closely and predicts new data badly.

    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.