Simple linear regression is a statistical approach used to model the relationship between one dependent variable and one independent variable. To do this, we use a straight line to estimate the relationship while minimizing discrepancies between predicted values and the actual data points.
There is a different version of this approach called multiple linear regression, which works with multiple independent variables instead of just one, but for now, we’ll just focus on simple linear regression.