lindeloev / tests-as-linear

Common statistical tests are linear models (or: how to teach stats)
https://lindeloev.github.io/tests-as-linear/
488 stars 92 forks source link

One-way ANOVA null hypothesis: B1 or B0? #11

Closed thorbjornwolf closed 5 years ago

thorbjornwolf commented 5 years ago

Maybe I'm misunderstanding it, but shouldn't the one-way ANOVA null hypothesis be $y = \beta_0$, not $y = \beta_1$?

$\beta_0$ is the mean of the first group, no? Is this a case of 0-indexing vs 1-indexing? :smile:

lindeloev commented 5 years ago

Thanks for the catch, Thorbjørn! The fixed doc will go live in a minute.