5.6 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: Prediction is used in two differnet ways
- A model’s prediction of observations in the dataset on which the model is based
- A model’s predictions for observations in another dataset