Scatterplots and a line of best fit

Slides:



Advertisements
Similar presentations
WARM UP 1. Explain how to graph a linear equation written in slope-intercept form. 2. Explain how to graph a linear equation written in point-slope form.
Advertisements

Writing Linear Equations Using Slope Intercept Form
2.4 Writing the Equation of a Line
Scatter Diagrams and Linear Correlation
Scatter Plots Find the line of best fit In addition to level 3.0 and beyond what was taught in class, the student may:  Make connection with.
5-7: Scatter Plots & Lines of Best Fit. What is a scatter plot?  A graph in which two sets of data are plotted as ordered pairs  When looking at the.
Investigating Scatter Plots Mr. J. D. Miles
S TATISTICS : U SING S CATTER P LOTS. V OCABULARY Bivariate Scatter Plot Positive Correlation Negative Correlation No Correlation.
S TATISTICS : U SING S CATTER P LOTS LINE OF BEST FIT.
Write an equation given two points
Correlation Coefficient Before doing this on the calculator, the class should do a scatter graph using the data in the table. Discuss the relationship.
The Line of Best Fit Linear Regression. Definition - A Line of Best or a trend line is a straight line on a Scatter plot that comes closest to all of.
Unit 5, Lesson 11 Mrs. King. Press the STAT button Choose 1: Edit…
Scatter-plot, Best-Fit Line, and Correlation Coefficient.
Warm Up Graph each point. 1. A(3, 2) 3. C(–2, –1) 5. E(1, 0) 2. B( – 3, 3) 4. D(0, – 3) 6. F(3, – 2)
Biostatistics Unit 9 – Regression and Correlation.
Trend lines and Lines of best fit.  Statisticians gather data to determine correlations (relationships) between events.  Scatter plots will often show.
Write Linear Equations in Slope- Intercept Form (Part 2) Big Idea: Verify that a point lies on a line. Derive linear equations.
Correlation and Linear Regression. YearPercent Used Marijuana
Math Notebook.  A line of best fit (or "trend" line) is a straight line that best represents the data on a scatter plot.  This line may pass through.
Unit 3 Part 2 Writing Equations Ax + By = C (standard form) y = mx + b (slope – intercept form)
Chapter 8 Linear Regression. Slide 8- 2 Fat Versus Protein: An Example The following is a scatterplot of total fat versus protein for 30 items on the.
Unit Three Review. PLEASE PARDON THE MISSPELLINGS!
Investigating Scatter Plots Scatter plots – show correlations (relationships) between two different pieces of data.  dependent variable (y’s or range)
Types of Relationships. Line of Best Fit A line of best fit is a straight line that best represents the data on a scatter plot. This line may pass through.
Line of Best Fit 4.2 A. Goal Understand a scatter plot, and what makes a line a good fit to data.
EXAMPLE 1 Find a positive slope Let (x 1, y 1 ) = (–4, 2) = (x 2, y 2 ) = (2, 6). m = y 2 – y 1 x 2 – x 1 6 – 2 2 – (–4) = = = Simplify. Substitute.
Chapter 8 Linear Regression HOW CAN A MODEL BE CREATED WHICH REPRESENTS THE LINEAR RELATIONSHIP BETWEEN TWO QUANTITATIVE VARIABLES?
Review: Writing an equation of a line Prepare to write equations for lines of best fit on scatter plots.
LINEAR GRAPHS AND FUNCTIONS UNIT ONE GENERAL MATHS.
Line of Best Fit.
Example 1: SANDWICH Total Fat (g) Total Calories Grilled Chicken 5 300
Intro Stats Lesson 2.2 D – Day 2
Writing Linear Equations in Slope-Intercept Form
Scatter plots Recall: Coordinate plane- A two-dimensional surface on which points are plotted and located by their x and y coordinates (x,y). This point.
Learning Targets Graph a line and write a linear equation using point-slope form. Write a linear equation given two points. Warm Up Find the slope of the.
Finding the Best Fit Line
Line of Best Fit.
Scatter Plots Line of Best Fit
Finding the Best Fit Line
Scatter Plots and Regression Lines Without a Calculator
Use a linear model to make a prediction.
Equations of straight lines
Scatter Plots and Lines of best fit
2.4 Writing the Equation of a Line
Objectives Graph a line and write a linear equation using point-slope form. Write a linear equation given two points.
Line of Best Fit.
Scatter Plots and Line of Best Fit
Scatter Plots Line of Best Fit
2.4 Writing the Equation of a Line
8/29/12 Writing the Equation of a Line
Comparing Linear, Exponential, and Quadratic Functions.
Writing Linear Equations Given Two Points
Writing Linear Equations from Graphs & Tables
5.6 – point slope formula Textbook pg. 315 Objective:
Write Equations of Lines
2-4: Writing Linear Equations Using Slope Intercept Form
First let’s review 5.1 y = mx + b
Point-Slope Form.
Project Maths Development Team © 2008
Slope-intercept Form of Equations of Straight Lines
SECTION 6.2 Linear Regression
9/27/ A Least-Squares Regression.
Module 11-3 Objectives Graph a line and write a linear equation using point-slope form. Write a linear equation given two points.
3 Chapter Chapter 2 Graphing.
2.4 Writing the Equation of a Line
ALGEBRA I - REVIEW FOR TEST 2-1
Unit 6 describing data/scatter plots
Graphing Linear Equations
Measurement.
Presentation transcript:

Scatterplots and a line of best fit

Such a line is called “line of best fit”. When data is displayed with a scatterplot, it is often useful to attempt tp represent the data with a straight line so we could predict values not displayed on a scatterplot. Such a line is called “line of best fit”. A line of best fit is a straight line that best represents the data on a scatterplot. This line may pass through some of the points, none of the points or all of the points. Its best to try to get your line to pass through at least two of the points, but in the middle of all of them.

Is there a relationship between the fat grams and the total calories in fast food?               Sandwich Total Fat (g) Total Calories Hamburger 9 260 Cheeseburger 13 320 Quarter Pounder 21 420 Quarter Pounder with Cheese 30 530 Big Mac 31 560 Arch Sandwich Special 550 Arch Special with Bacon 34 590 Crispy Chicken 25 500 Fish Fillet 28 Grilled Chicken 20 440 Grilled Chicken Light 5 300

First, create a scatterplot of the data on a piece of graph paper. Can we predict the number of total calories based upon the total fat grams? Lets see! First, create a scatterplot of the data on a piece of graph paper.

1.  Prepare a scatter plot of the data. 2.  Using a strand of spaghetti, position the spaghetti so that the plotted points are as close to the strand as possible. 3.  Find two points that you think will be on the "best-fit" line.  4. We’re going to choose the two point (9,260) & (30,530)

5.  Calculate the slope of the line through your two points.                                                             rounded to three decimal places. We calculate slope using the slope formula y2 – y1 x2 – x1 (9 , 260) & (30 , 530) x1 y1 x2 y2 Remember a linear equation is written y = mx + b or y = a + bx slope y - intercept

6.  Write the equation of the line.                                                  Remember we write equations as y =mx + b or y = a + bx Use the point-slope formula y – y1 = slope (x – x1) Our 2 points ( 9 , 260) & ( 30 , 530) x1 y1 x2 y2

Now we have the equation: y = 12.87(x – 9) + 260 Multiply 12.87 by both x and –9 to get this equation y = 12.87x – 115.83 + 260 y = 12.87x + 144.17 Now add 260 with –115.83 to get this equation This is the equation of the line we just made to fit the data! 7.  This equation can now be used to predict information that was not plotted in the scatter plot.

Using your best fit line, predict the total calories based upon 22 grams of fat. y = 12.87x + 144.17 y = 12.87 (22) + 144.17 Substitute 22 for x y = 427.141 This means that if you have a sandwich that has 22 grams of fat, it will have 427.141 calories. Predicting:  - If you are looking for values that fall within the plotted values, you are interpolating.  - If you are looking for values that fall outside the plotted values, you are extrapolating.  Be careful when extrapolating.  The further away from the plotted values you go, the less reliable is your prediction.

So who has the Correct line of best fit In step 4 above, we chose two points to form our line-of-best-fit.  It is possible, however, that someone else will choose a different set of points, and their equation will be slightly different.  Your answer will be considered CORRECT, as long as your calculations are correct for the two points that you chose.