pAIrmatic Lessons
UNIT 1Scatter plots and lines of fitLesson 2 of 31 Scatter Plots2 Line of Best Fit3 Using a Line of Best Fit

Line of Best Fit

8.SP.2Grade 8Statistics & Probability22 practice questions

A line of best fit follows the trend of a scatter plot. It shows the pattern, even when no line hits every dot.

0123456468101214y = 2x + 3

What you'll be able to do

The big idea

What a fit line does. It runs through the middle of the dots and follows their trend.

Both sides. A good fit has about as many dots above it as below it.

Close. The dots should be close to the line. Balance alone is not enough.

The gap. For one dot, the gap is the data's y minus the line's y. Plus means above. Minus means below.

Compare lines. Add up the sizes of the gaps for each line. The smaller total fits better.

Draw it. Pick two points on a line that follows the trend. They don't have to be data points.

Write it. Find the slope from your two points. Then find b, where the line crosses the y-axis.

Not every plot. If the dots curve, a straight line is the wrong model.

Words you need

Line of best fit
A straight line that follows the trend of a scatter plot.
Gap
How far a dot is above or below a line: the data's y minus the line's y.
Slope
How steep a line is: the rise divided by the run.
Trend
The overall way the dots go.
Outlier
A dot far from the pattern of the other dots.
Mean
The total divided by how many there are.

Is it a good fit?

CheckGood fit
Dots above and belowAbout the same number
GapsSmall
Shape of the dotsStraight, not curved
OutliersNot pulling the line

Worked examples

Example 1

Data: (1, 5), (2, 6), (3, 9), (4, 10), (5, 13). Is y = 2x + 3 a good fit?

  1. The line gives 5, 7, 9, 11, 13.
  2. The gaps are 0, −1, 0, −1, 0.
  3. Two dots are below and none are above. A slightly lower line, like y = 2x + 2.6, balances better.

Answer: No, it is not a good fit: 0 above, 2 below, 3 on it

0123456468101214y = 2x + 3

Example 2

x is weeks. y is a sunflower's height in cm. Data: (1, 8), (2, 15), (3, 19), (4, 27), (5, 31), (6, 38). Draw a fit line, then write its equation.

  1. Pick two points on a line that follows the trend: (0, 2) and (5, 32).
  2. Slope = 30 ÷ 5 = 6. The line crosses the y-axis at 2.
  3. Plot (0, 2). Go up 6 and right 1 to (1, 8), then (2, 14).
  4. The line is y = 6x + 2.

Answer: (0, 2), (1, 8), (2, 14)

−2−222446688101012121414right 1up 6(0, 2)

Example 3

Data: (1, 4), (2, 5), (3, 8), (4, 9). Line A is y = 2x + 1. Line B is y = x + 3. Which fits better?

  1. Line A's gaps: 1, 0, 1, 0. They add to 2.
  2. Line B's gaps: 0, 0, 2, 2. They add to 4.
  3. Line A has the smaller total, so it fits better.

Answer: Line A

0123452345678910Line ALine B

Common mistakes

Drawing the line through the first and last dots. Those dots may be off the trend. Follow the middle of the cloud.

Bending the line toward an outlier. Fit the other dots. An outlier should not pull the line.

Changing the slope when only the height is off. If every dot is about 6 below, keep the slope and lower b by 6.

Fitting a line to a curve. If the dots bend, no straight line fits well.

Practice: 22 questions

14 of 22 are word problems. For a word problem, sketch it first and mark what you know.

Tier 1 Foundations Use the rule directly

  1. x is minutes of practice a day. y is free throws made out of 20. The plot shows Line A, y = 0.4x + 2. Is it a good fit? Word problem
    05101520253035404502468101214161820MinutesFree throwsLine A
  2. x is a puppy's age in weeks. y is its mass in kg. Line A is y = 0.5x. Line B is y = 0.3x + 3. Which fits better? Word problem
    681012141618202234567891011Age (weeks)Mass (kg)Line ALine B
  3. The plot shows trees. x is age in years. y is trunk width in cm. The fit line passes through (10, 14) and (30, 38). Write its equation. Word problem
    051015202530354001020304050Age (years)Width (cm)Fit line
  4. A fit line is y = 2x + 5. One data point is (6, 21). How far is it above or below the line?
  5. x is hours of daylight. y is park visitors in hundreds. The plot shows 8 days. Sam draws his line through the first and last points. Find his mistake. Word problem
    891011121314151617101520253035Hours of daylightVisitors (hundreds)Sam's line
  6. x is km run. y is minutes. The fit line is y = 3x + 4. Which points do you plot for 0, 1 and 2 km? Word problem

Tier 2 Intermediate One more step to think through

  1. x is laps swum. y is minutes. Data: (1, 8), (2, 9), (3, 14), (4, 15), (5, 20), (6, 21). Is y = 3x + 4 a good fit? Count the points above and below. Word problem
  2. Data: (2, 7), (4, 8), (6, 12), (8, 13), (10, 17). Line A is y = x + 4. Line B is y = 1.25x + 4.5. Add up the gaps for each line. Which fits better?
    0246810124681012141618Line ALine B
  3. x is weeks of guitar lessons. y is songs played. The plot shows 7 weeks. Ana draws her fit line through (1, 2) and (7, 19). Find her mistake. Word problem
    01234567805101520WeeksSongsAna's line
  4. x is weeks of a fundraiser. y is dollars raised. The fit line is y = 50x + 150. Each square up is $50. Which points do you plot for 0, 1 and 2 weeks? Word problem
  5. x is minutes a tub drains. y is liters left. The fit line is y = −2x + 30. Plot where it crosses each axis: the start, and when the tub is empty. Word problem
  6. x is cups of flour. y is cookies made. Data: (2, 9), (4, 12), (6, 17), (8, 21), (10, 25). Which pair makes the better fit line: (2, 9) and (10, 25), or (2, 6) and (10, 30)? Write its equation. Word problem

Tier 3 Advanced Several steps - find the hidden structure

  1. x is a hike's length in km. y is hours. The plot shows 8 hikes. Write a fit line. Check it. Word problem
    024681012140123456kmHours
  2. x is boxes packed. y is minutes. Data: (1, 19), (2, 24), (3, 28), (4, 34), (5, 39), (6, 44). Every point is below y = 5x + 20. Leo fixes it by writing y = 4x + 20. Find his mistake. Word problem
  3. A good fit line passes near the mean point. Its x is the mean of x. Its y is the mean of y. Data: (2, 11), (4, 14), (6, 20), (8, 23), (10, 27). A fit line has slope 2. Write its equation.
    0246810121015202530
  4. Data: (1, 5), (2, 8), (3, 9), (4, 12), (5, 13). Write a line that fits better than y = x + 5. Show that its total gap is smaller.
    0123456468101214y = x + 5
  5. Each square across is 5 minutes. Each square up is 20 points. A fit line crosses grid points 2 squares across and 3 up, then 6 across and 7 up. Write the line in data units.

Tier 4 Challenge Stretch problems, some above grade level

  1. The plot shows 8 points and the flat line y = 10. Mia says it fits well: 4 points are above and 4 below. Find her mistake.
    0123456789024681012141618y = 10
  2. x is a fish's length in cm. y is its mass in g. The plot shows 6 fish. Tim draws a line with 3 points above and 3 below. Is a line a good model? Word problem
    5101520253035400100200300400500600700Length (cm)Mass (g)
  3. x is hours a lemonade stand is open. y is cups sold, in tens. Data: (5, 4), (6, 5), (7, 7), (8, 8), (9, 9), (10, 3). Remove (10, 3). Does the fit line get steeper or flatter? Word problem
  4. Data sets A and B both have the fit line y = 2x + 1. In A, every point is within 1 of the line. In B, the gaps reach 6. Which line is the better model of its data?
  5. A residual is the data's y minus the line's y. The line is y = 2x + 1. Find the residuals for (1, 4), (2, 4), (3, 6), (4, 9), (5, 13). Do they show a pattern? Above grade level
    012345602468101214y = 2x + 1

Answers

Stuck on this topic?

Trouble here often traces back to an earlier skill. Our free check-in finds the exact gap. A tutor then works on it with your child.

Find gaps free More practice