In the context of regression analysis, a residual is the difference between the observed value of the dependent variable (y) and the predicted value (ŷ) provided by the regression model. Mathematically, it can be represented as:
\[ e_i = y_i - \hat{y}_i \]
where
Show more…