General form
- : Response or dependent variable
- : Predictor, explanatory, or independent variable
- : Intercept
- : Slope
- : Error component
We denote our sample estimations for the -th observation using .
Note
The predictor in linear model can be a quadratic, log, fractions, etc. As long as it can be substituted to obtain the form above, it’s still considered as a linear model
e.g., . Substitute with , then you can see that it’s a linear model.
Matrix form
Note
This matrix form can be extended for linear model with multiple predictor