Knaph

Scatter plots86 of 971 min read

Lines of Best Fit

The dots rise, but they do not lie on one line. You can still draw a line that follows them, and use it to say what the pattern is.

Drawing the line

A line of best fit is a straight line drawn through the middle of the dots. Make it follow the direction of the dots, with about as many dots above it as below.

It need not touch any dot. Put a ruler on the graph, turn it until it matches the dots, and draw along it.

A scatter plot of study hours and score with a line of best fit drawn through the middle of the dots, and two points on the line marked, (2, 58) and (6, 78).

Finding its equation

Pick two points on the line, not two dots. Here the line passes through (2,58)(2, 58) and (6,78)(6, 78).

The slope is rise over run: 78−586−2=204=5\dfrac{78 - 58}{6 - 2} = \dfrac{20}{4} = 5. The line meets the up axis at 48, so y=5x+48y = 5x + 48.

Does it fit?

A good line has dots on both sides, close to it. If most dots are above the line, move it up.

A line of best fit is only a model. It describes the pattern, not each dot.

Careful

Choose points on the line, not dots that happen to be nearby.

Try it at home

  1. Plot 6 pairs of numbers that rise together.
  2. Lay a ruler on the graph and draw a line of best fit.
  3. Count how many dots are above and below it.

Words in this lesson

  • line of best fit - a straight line drawn close to the dots to show their trend.

Big idea

A line of best fit follows the dots, and picking two points on it gives its slope and equation, like y=5x+48y = 5x + 48.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.