TITLE: Figuring out Sums of Squares in ANOVA DATE: 2018-09-20 AUTHOR: John L. Godlee ==================================================================== I was teaching on a field course and when the students started analysing their data in R, one of them noticed that if they switched around the independent variables in an lm() they got different results with different methods of computing analysis of variance tables. I wanted to investigate it more, and this is the resulting R Markdown report that I wrote: The report can be found here. [here](https://johngodlee.xyz/files/anova_ssq/anova_ssq.zip)