Statistics

Degrees of Freedom

Students move beads around a balance to illustrate a constraint.

Degrees of Freedom definition

Degrees of freedom describe how much independent information can vary after constraints are taken into account.

In Spanish
grados de libertad
Topic
Statistical inference

Degrees of Freedom in a picture

Degrees of Freedom diagramOnce three deviations are known, their zero-sum constraint fixes the fourth.Known deviations: −2, 0, 1Sum so far is −1All four sum to 0One constraintLast deviation: 1Only three could vary independently
Once three deviations are known, their zero-sum constraint fixes the fourth.

How it works

In a sample of n observations, the n deviations from the sample mean sum to zero. Once n − 1 are known, the last is fixed. That explains the n − 1 degrees of freedom for the sample variance and the one-sample t procedure. Other procedures use different counts or approximations.

Worked examples

Find degrees of freedom for a one-sample t test with n = 12.

12 − 1 = 11.

For n = 8 sample deviations, how many can vary before the last is fixed?

7.

How many degrees of freedom are there for paired differences from 10 complete pairs in a paired t test?

10 − 1 = 9.

Common mistake

Use the rule for the actual procedure. The n − 1 formula applies to a one-sample t statistic and to a t statistic based on paired differences.

Quick check

What abbreviation is common?

Show answer

df.

Why do deviations from the sample mean have a constraint?

Show answer

Their sum is zero.

Does every test have n − 1 degrees of freedom?

Show answer

No.

Sources

Flashcard

Degrees of Freedom

Reveal the definition

Degrees of freedom describe how much independent information can vary after constraints are taken into account.

Effortless Math. “Degrees of Freedom.” Math Dictionary.