Linear Model vs Least-Squares Regression Line
Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.
Linear model
Regression and correlation
A linear model is a straight-line equation that uses an explanatory variable x to predict a response variable y, written y-hat = a + bx.
A linear model summarizes a scatterplot with one straight line, so any you choose turns into a prediction. It is written , where (read y-hat) is the predicted response, is the y-intercept, and is the slope. For example, if predicts a plant's height in centimeters from weeks of growth, then at weeks the model gives centimeters. Fit a linear model only when the scatterplot and the residual plot show a linear form, since the equation will happily produce numbers for curved data too.
Least-squares regression line
Regression and correlation
The least-squares regression line is the straight line through a scatterplot that makes the sum of the squared residuals as small as possible.
The least-squares regression line is the best-fit line for predicting the response from the explanatory variable, chosen to minimize the total squared vertical distance from the points. Its equation is , where (read y-hat) is the predicted response, is the y-intercept, and is the slope. For example, predicts a score of 75 when hours of study. The line always passes through the point of averages .