7.8 Prediction: Linear model (Equation) (2)

yi=β0+β1×x1i+β2×x2iModell=ˆyi=Predicted values+εiError=ˆyi+εi


  • Q: Why is the linear model called “linear” model?

  • Important: Variable values (e.g., yi or x1,i) vary, parameter values (e.g., \boldsymbol{\color{blue}{\beta_{0}}}) constant across rows

  • Important: \color{green}{\widehat{y}_{i}} varies across units

Name trust2006
y_{i}
\boldsymbol{\color{blue}{\beta_{0}}} \boldsymbol{\color{orange}{\beta_{1}}} victim2006
x_{1,i}
\boldsymbol{\color{orange}{\beta_{2}}} education2006
x_{2,i}
\boldsymbol{\color{red}{\varepsilon_{i}}} \color{green}{\widehat{y}_{i}}
Daniel 5 ? ? 1 ? 1 ? ?
Leia 5 ? ? 0 ? 1 ? ?
Harrison 7 ? ? 0 ? 5 ? ?
.. .. .. .. .. .. .. .. ..