Skip to content
Log in
← Glossary

degrees of freedom (df)

The number of values free to vary once the estimated quantities are fixed, e.g. n - 1 for one sample, n1 + n2 - 2 for a two-sample t-test.

Example

Common mistakes

Learn it in the course

  • Two-sample t-test · The two-sample t-test (Student's t-test): comparing the means of two groups and deciding whether the gap is bigger than chance.
  • Repeated measures ANOVA · Tracking the same users across several points in time with a repeated measures ANOVA or the Friedman test.
  • One-way ANOVA: comparing many groups · Testing three or more variants at once with a one-way ANOVA, without inflating false positives.
  • Paired t-test: before and after · Comparing the same users before and after a change with a paired t-test or the Wilcoxon signed-rank test.