The fitted values in a simple linear regression model are given by the equation:
\[
\hat{y} = \hat{\beta}_0 + \hat{\beta}_1 x
\]
where $\hat{\beta}_0$ and $\hat{\beta}_1$ are the estimated intercept and slope of the regression line, respectively.
Show more…