6.10 Prediction: Linear model (Prediction)
\(y_{Leia} = \color{blue}{5.56} + \color{orange}{-0.66} \times x_{1Leia} + \color{orange}{0.12} \times x_{2Leia} + \color{red}{\varepsilon}_{Leia}\)
\(5 = \color{blue}{5.56} + \color{orange}{-0.66} \times 0 + \color{orange}{0.12} \times 1 + \color{red}{-0.69} = \color{green}{5.69} + \color{red}{-0.69}\)
- Important note on “prediction”
- We can predict outcome values of units that are part of the sample on which the model is based
- Objective of machine learning (ML) is to predict outcome values of units that were NOT part of the sample on which the model is based (trained)