- Linear regression is used to predict the value of a variable based on another variable.
- The variable being predicted: Dependent Variable.
- The predictor variable: Independent Variable.
- Uses the least squares method to fit a best-fit line.
- The idea behind the least squares method to minimize the sum of the vertical distance between all of the data points and the line of best fit.
- There will be the least error in the best-fit line.