Introduction to residuals and least-squares regression

In linear regression, a residual is the difference between the actual value and the value predicted by the model (y-ŷ) for any given point. A least-squares regression model minimizes the sum of the squared residuals.

License: CC BY-NC-SA by Khan Academy