Degrees of Freedom Calculator

This calculator returns the degrees of freedom for a statistical test from the counts that fix it, without needing the data itself. Pick the design, enter the sample sizes, the table dimensions or the number of predictors, and it returns df along with the formula, the reason for each subtraction and the F ratio to look up where there is one. It covers one-sample and paired t, pooled and Welch two-sample t, chi-square goodness of fit and contingency tables, one-way and two-way ANOVA, and linear regression. Welch is the only one that needs the two standard deviations as well, because its df depends on them.

Calculator Type
For a paired test this is the number of pairs, not the number of measurements.
Widget
Widget
Widget
Zero when the expected proportions were stated in advance. One for a Poisson mean fitted from the data, two for a normal mean and standard deviation.
Widget
Widget
Every observation added together, not the size of one group.
Widget
One per cell is a design with no replication, and it cannot separate the interaction from the error.
Widget
Count the slopes, not the intercept. Simple linear regression has one.
Widget