You are on page 1of 2

NAME: ______________________________________________ BLOCK: ________

LINEAR REGRESSION
You are going to find the equation of a line by entering a table of values in the calculator.

x = HP y = MPG We will use this table of data for practice.


172 36 This table compares the horsepower to miles per gallon
260 31 of five different popular car models.
263 28
286 25
293 25

Write the equation as it is given (round to the nearest hundredth):

y= x+
Write the equation with the slope as a fraction and the intercept as a whole number:

y= x+
Graph the data from the table, and then graph the equation of the best fit line (the linear regression):
60
55
50
45
40
35
30
25
20
Miles
15
per
Gallon 10
5

0 50 100 150 200 250 300 350 400

Horsepower

What would be the estimated miles per gallon for a car with 200 horsepower? _______________

What would be the estimated miles per gallon for a car with 280 horsepower? _______________
1. Use the data from the graph to create a table of values. Find the equation for the line of
best fit. Draw the line of best fit on the graph. y = _____________________________
y
5

x y 4

0
x
-1

-2

-3

-4

-5
-5 -4 -3 -2 -1 0 1 2 3 4 5

2. The table shows the duration of several eruptions of the geyser Old Faithful and the interval
between eruptions.

Duration (minutes) 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Interval (minutes) 50 57 65 71 76 82 89 95

What is the slope of the line? ______ What does the slope represent? ________________________

What is the y-intercept? _____ What does it represent? _____________________________________

What would you estimate to be the interval between 6 minute duration geysers? ________________

3. The table shows the weight of an alligator at various times during a feeding trial.
Find the equation for the line of best fit. y = _______________________________________
Weeks 0 9 18 27 34 43 49
Weight in pounds 6 8.6 10 13.6 15 17.2 19.8

What is the slope of the line? ______ What does the slope represent?________________________

What is the y-intercept? _____ What does it represent? _____________________________________

What would you estimate to be the number of weeks when the weight reaches 25 lbs? ____________