Chapter 2 Linear models I: multiple linear model

The multiple linear model is a simple but useful statistical model. In short, it allows us to analyze the (assumed) linear relation between a response Y and multiple predictors, X1,,Xp in a proper way:

Y=β0+β1X1+β2X2++βpXp+ε

The simplest case corresponds to p=1, known as the simple linear model:

Y=β0+β1X+ε

This model would be useful, for example, to predict Y given X from a sample (X1,Y1),,(Xn,Yn) such that its scatterplot is the one in Figure 2.1.

Scatterplot of a sample \((X_1,Y_1),\ldots,(X_n,Y_n)\) showing a linear pattern.

Figure 2.1: Scatterplot of a sample (X1,Y1),,(Xn,Yn) showing a linear pattern.