1 / 22
Fitting a Line to Data | Lesson 1 of 2

Fitting a Line to Data

You will be able to:

  • Draw an informal line of best fit through a scatter plot
  • Use the three criteria for a good fit
  • Explain why the line is a model, not the data
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Learning Objectives for This Lesson

By the end of this lesson, you will be able to:

  1. Informally fit a straight line to a scatter plot
  2. Apply the three criteria for a good fit
  3. Explain that a fitted line is a model, not the data
  4. Recognize several reasonable lines can fit one data set
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Can One Line Capture This Cloud?

Scatter plot of study hours versus test score, 16 points trending upward

Sixteen students: study hours and test scores. Could one line stand in for all of it?

Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Everyone's Line Is a Little Different

Same scatter plot with three different upward student lines overlaid

Three students drew three lines. All upward, none identical — and all reasonable.

Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

A Model Is a Deliberate Summary

  • A linear model is a straight line we draw to capture a data trend
  • We choose it to simplify the cloud into one relationship
  • It answers: "given , what would I expect?"
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

The Line Is a Model, Not the Data

  • Real data are messy — points scatter around the trend
  • The line smooths out that noise
  • Some points sit above it, some below, a few far off
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Why Doesn't the Line Hit Every Point?

If the line is a good model, why does it miss most of the dots?

Think about what the line is for before the next slide.

Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Criterion 1: The Line Follows the Trend

  • The line slopes the same direction as the data
  • Upward for a positive association
  • Downward for a negative association
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Criterion 2: Balanced Above and Below

Scatter with fitted line, points above and below color-coded to show balance

  • Roughly equal points above and below
  • Of 16 points: about 8 above, 8 below
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Criterion 3: Close to the Points

  • The points should sit near the line
  • Small total distance from points to line
  • Closeness is judged as a whole, not point by point
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Many Lines Can Be Good

  • There is no single exact line when we fit by eye
  • Several lines can satisfy all three criteria
  • "Best fit" here means reasonable, not unique
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Fitting the Study-Hours Data Line

The worked study-hours fitted line through about (1,57) and (4.5,83)

Observe the trend, position the line through the middle, check closeness, draw.

Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Verify the Balance by Counting

  • Count the points above the line
  • Count the points below the line
  • Adjust the line until the counts are close
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

How Many Points Should Sit Above?

You drew a line through 16 points. Roughly how many should be above it?

Decide your number, then advance.

Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Must the Line Touch Data Points?

Two lines: one forced through two data points but imbalanced, one balanced touching none

  • Through-points line: hits two dots, ignores the rest
  • Balanced line: touches none, fits all
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Watch Out for Outliers Pulling the Line

Line anchored to extreme high and low points showing 14 below, 2 above imbalance

  • A line pulled to the extremes misses the bulk
  • Count: 14 below, 2 above — not balanced
  • Tilt toward the middle of the data
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Which Criterion Does This Line Break?

A nearly flat line is drawn through the upward study-hours data.

  • It does not follow the upward trend
  • Which of the three criteria fails first?
Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Which of These Two Lines Fits Better?

Two lines are drawn on the same scatter plot:

  • Line A follows the trend and balances the points
  • Line B is steep and leaves most points below it

Pick the better fit and justify it with a criterion.

Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Your Turn: Draw and Defend

A fresh scatter plot is given with a clear positive association.

  1. Draw your own line of best fit
  2. Write which criteria you used to place it

Commit to your line alone first, then compare with a partner.

Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Three Common Line-Fitting Traps to Avoid

⚠️ Through the points: the line models the trend, not individual dots
⚠️ One exact line: several reasonable lines can all be good
⚠️ Chasing outliers: balance to the middle, not the extremes

Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

What a Fitted Line Really Is

✓ A model: a deliberate straight-line summary of a trend
✓ Good fit: follows the trend, balances points, stays close
✓ Several reasonable lines can fit the same data

Grade 8 Math | 8.SP.A.2
Fitting a Line to Data | Lesson 1 of 2

Coming Up Next: Assessing and Using Lines

Next lesson, you will judge how good your line is, learn when a line should not be drawn at all, and turn the line into an equation you can compute with.

Grade 8 Math | 8.SP.A.2