66 − 62 = 4 with 3 degrees of freedom. Two-way analysis of variance See also Absolute deviation Algorithms for calculating variance Errors and residuals Least squares Mean squared error Residual sum of squares Variance decomposition References Statistical deviation and dispersion Analysis of variance