Skip to content
Prev 365807 / 398502 Next

Interpreting summary.lm for a 2 factor anova

As Petr Pikal mentioned, the difficulty in interpretation is entirely due
to the set of contrasts you chose.The default treatment contrasts are
not orthogonal and are therefore the most difficult to interpret.
The note in ?aov warns of this difficulty.

sum contrasts will give you numbers that are easiest to interpret.


options(contrasts = c("contr.sum", "contr.poly"))
warpbreakssum.aov <- aov(breaks ~ wool * tension, data = warpbreaks)
coef(warpbreakssum.aov)
model.tables(warpbreakstreatment.aov, type="effects")
model.tables(warpbreakstreatment.aov, type="means")


John Fox showed the algebra using the default treatment contrasts

For full understanding you will need to read  in a text more about
sets of linear contrasts and their algebra.
I recommend Section 10.3 in mine, of course.

Statistical Analysis and Data Display:
An Intermediate Course with Examples in R
Heiberger, Richard M., Holland, Burt

http://www.springer.com/us/book/9781493921218
On Sat, Dec 3, 2016 at 11:46 PM, Ashim Kapoor <ashimkapoor at gmail.com> wrote: