4.5 – Analyzing Lines of Best Fit

Slides:



Advertisements
Similar presentations
Chapter 9: Correlation and Regression
Advertisements

Functions.
Correlation and Regression. Relationships between variables Example: Suppose that you notice that the more you study for an exam, the better your score.
Introduction to Linear Regression.  You have seen how to find the equation of a line that connects two points.
Correlation vs. Causation What is the difference?.
1.8 Represent Functions as graphs
Correlation and Regression
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
Correlation and Regression
Math 2: Unit 6 Day 1 How do we use scatter plots, correlation, and linear regression?
Linear Models and Scatter Plots Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 x 24 –2–2 – 4 y A scatter plot.
Linear Models and Scatter Plots Objectives Interpret correlation Use a graphing calculator to find linear models and make predictions about data.
Introduction When linear functions are used to model real-world relationships, the slope and y-intercept of the linear function can be interpreted in context.
 Graph of a set of data points  Used to evaluate the correlation between two variables.
Statistical Reasoning for everyday life Intro to Probability and Statistics Mr. Spering – Room 113.
Correlation and Regression. Section 9.1  Correlation is a relationship between 2 variables.  Data is often represented by ordered pairs (x, y) and.
Creating a Residual Plot and Investigating the Correlation Coefficient.
Section 1.6 Fitting Linear Functions to Data. Consider the set of points {(3,1), (4,3), (6,6), (8,12)} Plot these points on a graph –This is called a.
4.5 – Analyzing Lines of Best Fit Today’s learning goal is that students will be able to Use residuals to determine how well lines of fit model data. Distinguish.
4.4 – SCATTER PLOTS AND LINES OF FIT Today’s learning goal is that students will be able to: interpret scatter plots, identify correlations between data.
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
Correlation and Regression
Warm-up Get a sheet of computer paper/construction paper from the front of the room, and create your very own paper airplane. Try to create planes with.
Scatter Plots and Lines of Fit
Statistics 200 Lecture #6 Thursday, September 8, 2016
Warm Up Scatter Plot Activity.
CHAPTER 3 Describing Relationships
Lesson 4.5 Topic/ Objective: To use residuals to determine how well lines of fit model data. To use linear regression to find lines of best fit. To distinguish.
Correlation & Regression
Georgetown Middle School Math
Strong Positive Strong Positive Weak Positive Strong Negative
Chapter 5 STATISTICS (PART 4).
Objectives Fit scatter plot data using linear models with and without technology. Use linear models to make predictions.
Scatterplots A way of displaying numeric data
Lesson 4.8 – Interpreting the Correlation Coefficient and Distinguishing between Correlation & Causation EQ: How do you calculate the correlation coefficient?
Module 15-2 Objectives Determine a line of best fit for a set of linear data. Determine and interpret the correlation coefficient.
Simple Linear Regression and Correlation
Introduction The fit of a linear function to a set of data can be assessed by analyzing residuals. A residual is the vertical distance between an observed.
Lesson 1.7 Linear Models and Scatter Plots
2. Find the equation of line of regression
2.6 Draw Scatter Plots and Best-Fitting Lines
Scatter Plots and Best Fitting Lines
Correlation and Regression
Regression.
Correlation vs. Causation
4.5 Analyzing Lines of Fit.
Section 3.3 Linear Regression
Section 10.2: Fitting a Linear Model to Data
Objectives Identify linear functions and linear equations.
Lesson 9-1 Scatter Plots Obj: The student will be able to create and interpret scatter plots HWK: p all Vocab: 1) scatter plot 2) correlation.
Scatter Plots and Best-Fit Lines
Residuals and Residual Plots
Functions and Their Graphs
Section 1.4 Curve Fitting with Linear Models
Regression.
Correlation and Regression
y = mx + b Linear Regression line of best fit REMEMBER:
CHAPTER 3 Describing Relationships
Objectives Identify linear functions and linear equations.
Section 10-1 Correlation © 2012 Pearson Education, Inc. All rights reserved.
Introduction The fit of a linear function to a set of data can be assessed by analyzing residuals. A residual is the vertical distance between an observed.
Objectives Vocabulary
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Ch 9.
Residuals (resids).
Predict with Linear Models
Honors Statistics Review Chapters 7 & 8
Residuals and Residual Plots
Correlation and Regression
Presentation transcript:

4.5 – Analyzing Lines of Best Fit Today’s learning goal is that students will be able to Use residuals to determine how well lines of fit model data. Distinguish between correlation and causation.

Core Concept Residual – the difference of the y-value of a data point and the corresponding y-value found using the line of fit. If the model (line of fit) is good, then the absolute values of the residuals are relatively small.

Example 1 – Using Residuals In Example 3 in Section 4.4, the equation y = -2x +20 models the data in the table shown. Is the model a good fit? Week, x Sales (millions), y 1 19 2 15 3 13 4 11 5 10 6 8 7 Y-value from model y = -2x +20 Residual -2(1) +20 = 18 19-18 = 1 -2(2) + 20 = 16 15-16 = -1 -2(3) + 20 = 14 13-14 = -1 -2(4) + 20 = 12 11-12 = -1 -2(5) + 20 = 10 10-10 = 0 -2(6) + 20 = 8 8 – 8 = 0 -2(7) + 20 = 6 7 – 6 = 1 -2(8) + 20 = 4 5 – 4 = 1 Example 1 – Using Residuals Notice that all of the residual points are close to zero. Let’s graph them.

Example 1 – Using Residuals In Example 3 in Section 4.4, the equation y = -2x +20 models the data in the table shown. Is the model a good fit? Week, x 1 2 3 4 5 6 7 8 Residual 19-18 = 1 15-16 = -1 13-14 = -1 11-12 = -1 10-10 = 0 8 – 8 = 0 7 – 6 = 1 5 – 4 = 1 Example 1 – Using Residuals The points are evenly dispersed about the x-axis. The equation is a good fit.

Example 2 – Using Residuals The table shows the ages x and salaries y (in thousands of dollars) of eight employees at a company. The equation y = 0.2x + 38 models the data. Is the model (is the line of fit) a good fit. Example 2 – Using Residuals Ages, x Salaries (in thousands) y 35 42 37 44 41 47 43 50 45 52 51 53 49 55 Y-value from model y = 0.2x + 38 Residual 0.2(35) + 38 = 45 42-45 = -3 0.2(37) + 38 = 45.4 44-45.4 = -1.4 0.2(41) + 38 = 46.2 47-46.2 = 0.8 0.2(43) + 38 = 46.6 50-46.6 = 3.4 0.2(45) + 38 = 47.0 52-47 = 5 0.2(47) + 38 = 47.4 51-47.4 = 3.6 0.2(53) + 38 = 48.6 49 – 48.6 = 0.4 0.2(55) + 38 = 49 45 – 49 = -4.0

Example 2 – Using Residuals Let’s graph the residuals. Ages, x Residual 35 -3 37 -1.4 41 0.8 43 3.4 45 5 47 3.6 53 0.4 55 -4.0 Example 2 – Using Residuals The residual points form a ∩ shaped pattern, which suggest the data are not linear. The equation y = 0.2x + 38 does not model the data well.

1. The table shows the attendances y (in thousands) at an amusement part from 2005 to 2014, where x = 0 represents the year 2005. The equation y = -9.8x + 850 models the data. Is it a good fit? You Try! Step 1: Set up the table Step 2: Calculate the residuals Step 3: Plot the residuals Is the equation a good fit? NO

Finding Lines of Best Fit Graphing calculators use a method called linear regression to find a precise line of fit called a line of best fit. A graphing calculator often gives a value r, called the correlation coefficient. Values of r range from -1 to 1. When r is close to -1, there is a strong negative correlation. When r is close to 1, there is a strong positive correlation. When r = 0, there is no correlation. When r is close to 0, the correlation is weak. Finding Lines of Best Fit

Correlation and Causation Causation – when the change in one variable causes the change in another variable. When there is causation, there is a strong correlation. A strong correlation does not necessarily imply causation. Correlation and Causation

Example 5 – Identifying Correlation and Causation Tell whether a correlation is likely in the situation. If so, tell whether there is a casual relationship (causation). Explain. a) time spent exercising and the number of calories burned b) the number of banks and the population of a city Example 5 – Identifying Correlation and Causation There is a positive correlation and a casual relationship because the more time you spend exercising, the more calories you burn. There may be a positive correlation but no casual relationship. Building more banks will not cause the population to increase.

Is there a correlation between time spent playing video games and grade point average? If so, is there a casual relationship (causation)? Explain your reasoning You Try! There may be a negative correlation. A casual relationship is possible because the more time you spend playing video games, the less time you spend studying.