Degrees of freedom

    Degrees of freedom are the amount of independent information left in the data after a model has used some of it up to estimate its settings.

    Last reviewed

    Roughly, rows of data minus things being estimated. A hundred weeks and forty settings leaves little to check the model against. Every extra channel, control, or dummy spends some. It's the reason a model can't split ten channels into fifty campaigns just because you'd like it to.

    Topic
    Model quality and Bayesian methods

    Related terms

    Sample size
    Sample size is the number of units in an experiment or dataset: users, regions, or weeks of history.
    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.
    Granularity
    Granularity is the level of detail in the data or the results: daily or weekly, national or regional, channel or campaign.
    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.

    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.