The calculation of sums of squares for interactions in the analysis of variance