Linear Regression
Linear Regression
Line of Best Fit
Example Continued
Step 2. Draw a line that seems to best fit the data.
Step 3. Use two points and find the slope of the line. Use the slope formula m =
.
![BestFitEx1-4 BestFitEx1-4](https://claregladwinresd.glk12.org/pluginfile.php/2222/mod_book/chapter/5093/Bivariate/BestFitEx1-4.png)
Suppose the points are (9, 260) and (30, 530). You may choose different points. Now calculate the slope through the two points.
Step 4. Estimate the y-intercept or use a point and the slope found in Step 3 to write the equation. Substitute the slope (m) and the point (x1, y1) into the point-slope form of an equation y - y1 = m (x - x1).