Learn on PengiYoshiwara Intermediate AlgebraChapter 2: Applications of Linear Models

Lesson 1: Linear Regression

In this Grade 7 lesson from Yoshiwara Intermediate Algebra, Chapter 2, students learn how to find a linear regression line that approximates real-world data sets that are not perfectly linear. Using scatterplots and the point-slope formula, students practice drawing a line of best fit and identifying the least-squares regression line to model trends such as Amazon deforestation rates and changes in minimum wage over time.

Section 1

πŸ“˜ Linear Regression

New Concept

Linear regression helps us model real-world data that shows a linear trend but isn't perfectly aligned. We'll find the equation for a regression line, or "line of best fit," to make predictions about the data.

What’s next

You're ready to put this into practice! Next, you'll work through interactive examples to draw regression lines and use them to solve real-world problems.

Section 2

Line of Best Fit

Property

A line that fits the data in a scatterplot is called a regression line. To find an equation for a line of best fit, we choose two points on the line whose coordinates we can estimate fairly accurately and use the point-slope formula. These two points need not be any of the original data points.

Examples

A regression line for minimum wage data passes through (5,1.25)(5, 1.25) and (25,3.35)(25, 3.35). The slope is m=3.35βˆ’1.2525βˆ’5=0.105m = \frac{3.35 - 1.25}{25 - 5} = 0.105. The equation is y=1.25+0.105(xβˆ’5)y = 1.25 + 0.105(x-5), which simplifies to y=0.105x+0.725y = 0.105x + 0.725.

For data on study time versus test scores, a line of best fit passes through (1,75)(1, 75) and (4,90)(4, 90). The slope is m=90βˆ’754βˆ’1=5m = \frac{90-75}{4-1} = 5. The equation is y=75+5(xβˆ’1)y = 75 + 5(x-1), or y=5x+70y = 5x + 70.

Section 3

Interpolation

Property

Using a regression line to estimate values between known data points is called interpolation.

Examples

Cocoa sales data is collected for temperatures between 2∘2^\circC and 18∘18^\circC. Using the regression line C=βˆ’2.5T+52C = -2.5T + 52 to predict sales at 9∘9^\circC is interpolation. We get C=βˆ’2.5(9)+52=29.5C = -2.5(9) + 52 = 29.5 cups.

A baby whale's length is recorded at birth (0 months) and 7 months. Using a linear model to estimate its length at 4 months is interpolation, because 4 is between 0 and 7.

Section 4

Extrapolation

Property

Making predictions beyond the range of known data is called extrapolation.

Examples

Using the cocoa sales model, C=βˆ’2.5T+52C = -2.5T + 52, to predict sales at 24∘24^\circC is extrapolation. The model gives C=βˆ’8C = -8, an unreasonable result, showing the limits of extrapolation.

An engine's temperature is tracked for 7 minutes. Using a linear model to predict its temperature after 2 hours (120 minutes) is extrapolation and may be inaccurate, as the engine's temperature will not rise indefinitely.

Section 5

Scatterplots and Outliers

Property

A scatterplot is a graph of data points that can show a linear trend. Data points that lie far from the regression line are called outliers.

Examples

  • Study Time vs. Test Scores: If the trend is that more study time leads to higher scores, a student who studies for 10 hours but gets a very low score would be an outlier.
  • Height vs. Shoe Size: In a group where taller people generally have larger shoe sizes, a person who is 5 feet tall and wears a size 13 shoe would be an outlier.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 2: Applications of Linear Models

  1. Lesson 1Current

    Lesson 1: Linear Regression

  2. Lesson 2

    Lesson 2: Linear Systems

  3. Lesson 3

    Lesson 3: Algebraic Solution of Systems

  4. Lesson 4

    Lesson 4: Gaussian Reduction

  5. Lesson 5

    Lesson 5: Linear Inequalities in Two Variables

  6. Lesson 6

    Lesson 6: Chapter Summary and Review

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

πŸ“˜ Linear Regression

New Concept

Linear regression helps us model real-world data that shows a linear trend but isn't perfectly aligned. We'll find the equation for a regression line, or "line of best fit," to make predictions about the data.

What’s next

You're ready to put this into practice! Next, you'll work through interactive examples to draw regression lines and use them to solve real-world problems.

Section 2

Line of Best Fit

Property

A line that fits the data in a scatterplot is called a regression line. To find an equation for a line of best fit, we choose two points on the line whose coordinates we can estimate fairly accurately and use the point-slope formula. These two points need not be any of the original data points.

Examples

A regression line for minimum wage data passes through (5,1.25)(5, 1.25) and (25,3.35)(25, 3.35). The slope is m=3.35βˆ’1.2525βˆ’5=0.105m = \frac{3.35 - 1.25}{25 - 5} = 0.105. The equation is y=1.25+0.105(xβˆ’5)y = 1.25 + 0.105(x-5), which simplifies to y=0.105x+0.725y = 0.105x + 0.725.

For data on study time versus test scores, a line of best fit passes through (1,75)(1, 75) and (4,90)(4, 90). The slope is m=90βˆ’754βˆ’1=5m = \frac{90-75}{4-1} = 5. The equation is y=75+5(xβˆ’1)y = 75 + 5(x-1), or y=5x+70y = 5x + 70.

Section 3

Interpolation

Property

Using a regression line to estimate values between known data points is called interpolation.

Examples

Cocoa sales data is collected for temperatures between 2∘2^\circC and 18∘18^\circC. Using the regression line C=βˆ’2.5T+52C = -2.5T + 52 to predict sales at 9∘9^\circC is interpolation. We get C=βˆ’2.5(9)+52=29.5C = -2.5(9) + 52 = 29.5 cups.

A baby whale's length is recorded at birth (0 months) and 7 months. Using a linear model to estimate its length at 4 months is interpolation, because 4 is between 0 and 7.

Section 4

Extrapolation

Property

Making predictions beyond the range of known data is called extrapolation.

Examples

Using the cocoa sales model, C=βˆ’2.5T+52C = -2.5T + 52, to predict sales at 24∘24^\circC is extrapolation. The model gives C=βˆ’8C = -8, an unreasonable result, showing the limits of extrapolation.

An engine's temperature is tracked for 7 minutes. Using a linear model to predict its temperature after 2 hours (120 minutes) is extrapolation and may be inaccurate, as the engine's temperature will not rise indefinitely.

Section 5

Scatterplots and Outliers

Property

A scatterplot is a graph of data points that can show a linear trend. Data points that lie far from the regression line are called outliers.

Examples

  • Study Time vs. Test Scores: If the trend is that more study time leads to higher scores, a student who studies for 10 hours but gets a very low score would be an outlier.
  • Height vs. Shoe Size: In a group where taller people generally have larger shoe sizes, a person who is 5 feet tall and wears a size 13 shoe would be an outlier.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 2: Applications of Linear Models

  1. Lesson 1Current

    Lesson 1: Linear Regression

  2. Lesson 2

    Lesson 2: Linear Systems

  3. Lesson 3

    Lesson 3: Algebraic Solution of Systems

  4. Lesson 4

    Lesson 4: Gaussian Reduction

  5. Lesson 5

    Lesson 5: Linear Inequalities in Two Variables

  6. Lesson 6

    Lesson 6: Chapter Summary and Review