Given a set of data and a linear regression model:
- Linear regression estimates the linear relationship between a dependent variable (aka. predictor) and independent (aka. explanatory, response) variable(s)
- When we have only one explanatory variable, we use simple linear regression.
Given a list of pairs of x and y values \[(x_0y_0, x_1y_1, x_2y_2, ..., x_iy_i)\] as data points
\(y = ax+b\) is a line which estimates the data based on the data points.