![]() |

This plotting of data with two variables is called a scatter plot. It is called a scatter plot because in experiments, you have no idea how the data may be scattered. Above, even though the data has a definite pattern, there is some scattering.
For a reminder on how to use Excel to make a scatter plot, you could review this video lesson:
![]() |
Scatter Plot with Excel | Flash version |
Anything that is calculated according to a linear formula will give an exact line. (With the exception of rounding off. Below you will find a set of ordered pairs which represent the grade chart for an assignment with 17 points. The ordered pairs are {(0,100),(1,94),(2,88), etc.}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Correct |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Plot the data.

As is usually the case, this data does not form a perfect linear pattern. Where might we possibly draw the best-fit line?

To find prediciton equation #1, I chose the two points (7.4,31) and
(22,24.4)
|
|
Calculate the slope of the line containing the two points. |
|
|
Write the equation with the slope in place and the y-intercept missing. |
|
|
Pick one of the two points to substitute into the equation, and solve for b. |
|
|
Write the equation with the slope and y-intercept in place. |
|
|
Use the value of 50 ($50,000 car), to substitute into the equation and solve for y the mileage. |
Pick two different points which also approximate the best-fit line.
This time I picked (8.15,35.4) and (44.9,13.3).
|
|
Calculate the slope of the line containing the two points. |
|
|
Write the equation with the slope in place and the y-intercept missing. |
|
|
Pick one of the two points to substitute into the equation, and solve for b. |
|
|
Write the equation with the slope and y-intercept in place. |
|
|
Use the value of 50 ($50,000 car), to substitute into the equation and solve for y the mileage. |
Another approach to this problem is shown in this video lesson:
![]() |
Linear Regression with Excel | Flash version |
|
|