Download presentation
Presentation is loading. Please wait.
1
Line of best fit
2
Line of Best Fit Remember:
Line of Best Fit = is the line that best approximates the linear relationship between two data sets (comes closest to all of the dots on the graph) Linear Regression Function = is the equation for the line of best fit Usually there is no single line that passes through all the data points, so you try to find the line that best fits / represents most data.
3
Finding the Line of BEST Fit
Step 1: using a ruler, place it on the graph to find where the edge of the ruler touches the most points. Make sure it touches at least 2 points (best if they are far apart) Try to have approximately half of the data points above the line and half below Goal is to “center” the line in the data points, match slope of general data trend Step 2: Draw in the line.
4
Finding the Line of BEST Fit
Step 3: Calculate the slope between two points on your line (best if they are far apart) Step 4: Calculate the y intercept algebraically by substituting the slope and one point on the line into slope-intercept form of an equation and solve for “b.” Step 5: Write the equation of the line in slope-intercept form.
5
Practice Problem… The Olympic Games Discus Throw
Year Winning throw The Olympic games discus throws from 1908 to 1996 are shown on the table. Approximate the best - fitting line for these throws let x represent the year with x = 8 corresponding to Let y represent the winning throw. View scatter plot on handout.
6
Step 1 & 2: Place your ruler on the page and draw a line where it touches the most points on the graph.
7
Step 3: Find the slope between 2 points on the line.
The line went right through the point at 1960 and 1988. The ordered pairs for these points are (60, 194.2) and (88, 225.8). m = y2 – y1 = – = = 32 = x2 – x – m =
8
Step 4: Find the y-intercept.
Substitute the slope and one point into the slope-intercept form of an equation. Slope: 8/7 and a point: (88, 225.8) y = mx + b = 8/7(88) + b 225.8 = 704/7 + b 225.8 = ≈ b 125.2 = b
9
Step 5: Write in slope-intercept form.
Substitute each value into y = mx + b. The linear regression equation is: y = 8/7 x When you solve these problems, you can get different answers for the line of best fit if you choose different points. But the equations should be close.
10
Try it again… The circus performs 10 times. Each time they keep data on the number of water bottles and lunch boxes sold. Use the data provided to make a scatter plot. Draw the line of best fit. Write the equation of the line of best fit.
11
-33 38 Draw the line of best fit. Find the slope. (20, 67) & (58, 34)
34 – 67 = 58 – 20 Plug into y = mx + b 67 = -33/38(20) + b Solve for b 67 = b b = 84.7 Write in slope-intercept form y = -33/38x -33 38 Is this a strong or weak correlation? Does that make it easier or harder to place the line of best fit?
12
History Vs. Math Here is a scatter plot showing the relationship between students who took a History Test and a Math Test. Is there a relationship between the scores? Describe the relationship.
13
History Vs. Math Since there is a positive, linear correlation with the data, predict what a student who earned a 75% on their history test earned on their math test. What can I draw that will help me make that prediction?
14
History Vs. Math 75% on History Test The line of best fit will help you make a prediction as to what score the student would get on their math test if they earned a 75% on their history test. What score would he get on the math test? About 77%
15
Population of Goldfish & Star fish
The following table shows the population between goldfish and star fish at different aquariums. Goldfish 13 18 19 20 27 16 22 24 32 12 Star Fish 30 25 15 28 10 29 Is there a relationship in this data? What can we draw to see if there is a relationship? Draw a scatter plot
16
Goldfish & Star Fish Is there a relationship with this data?
What kind of relationship is it? If I have a goldfish population of 15, how many star fish will there be? What can I draw to help me make that prediction?
17
Goldfish & Star Fish Draw a line of best fit.
If I have a goldfish population of 15, how many star fish will there be? There would be about 26 star fish.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.