Chapter 3 Linear models and linear mixed models

The t-tests discussed in chapter 2 can be re-cast as linear models. The two-sample t-test corresponds to the simple linear model, and the paired t-test to the linear mixed model. This connection between these two seemingly different types of statistical models allows us to go beyond the narrow confines of the t-test and to investigate more sophisticated and more complicated research questions.