Skip to content

Instantly share code, notes, and snippets.

View njudd's full-sized avatar
🦄
magic unicorn

Nicholas Judd njudd

🦄
magic unicorn
View GitHub Profile
@njudd
njudd / anova.R
Last active October 28, 2019 05:48
## Trying to figure out what R is doing with anova's
# The difference of aov() and lm() simply changes how summary() acts
# summary(aov()) is the same as anova(lm(), which are both TYPE 1!
# for type = III SS you need to use Anova in the library(car) package
# https://rcompanion.org/rcompanion/d_04.html
# Different SS primer
# https://stats.stackexchange.com/questions/20452/how-to-interpret-type-i-type-ii-and-type-iii-anova-and-manova/20455#20455