Degrees of freedom

Also known as: df, Residual degrees of freedom

Degrees of freedom (df) count independent pieces of information after constraints. In $S^2$, divisor $n-1$ reflects one constraint $\sum(X_i-\bar X)=0$ from using $\bar X$.

In simple OLS with intercept and slope, residual df is $n-2$, so $s^2=\mathrm{RSS}/(n-2)$ and $t$-critical values use $t_{n-2}$. More parameters fitted ⇒ fewer residual df.

← Back to CS Glossary