A simple linear regression estimates a line of best fit between a dependent and independent variable
The line of best fit formula might look very familiar:
\(\hat{y}=\alpha+\beta\text{x}\)
It’s just a line! with:
\(\alpha\) as the y intercept
\(\beta\) as the slope of the function
\(\hat{y}\) as the predicted value of y given an x
The goal of SLR is to find the minimum average distance between the points and the linear regression line, which we will calculate later.