Common statistical tests are linear models
For this post I wrote a short ebook exploring how most common statistical tests are examples of linear models.
This was adapted from, and owes credit to, a book by Jonas Lindeløv called Common statistical tests are linear models (or: how to teach stats) (here). This book demonstrates how many common statistical tests (such as the t-test, ANOVA and chi-squared) are special cases of a linear model.
To solidify my understanding, I worked through the examples provided in Jonas’ book to expand on areas where there were gaps in my knowledge, and to explain some of the ideas using terms and concepts with which I was more familiar.
The main idea of the book is that most statistical tests can be explained as an application of the simple linear model, \(y = a + b⋅x\), which is familiar to most students of introductory statistics.
This allows us to view the linear model as the ‘Swiss army knife’ of statistical tests. The approach brings coherence to a wide range of statistical tests, which are usually taught to students as independent tools. It helps to explain the intuition underlying statistical tests by drawing on the familiar concept of linear regression.
I hope you find this version of the book useful.