The following data represents the amount of Profit (in thousands of $) made by a trucking company dependent on gas prices. Gas $1.901.952.102.501.802.402.05.

Slides:



Advertisements
Similar presentations
Regression and Correlation
Advertisements

CHAPTER 3 Describing Relationships
Regression, Residuals, and Coefficient of Determination Section 3.2.
Chapters 8, 9, 10 Least Squares Regression Line Fitting a Line to Bivariate Data.
Relationship of two variables
Biostatistics Unit 9 – Regression and Correlation.
Least-Squares Regression Section 3.3. Why Create a Model? There are two reasons to create a mathematical model for a set of bivariate data. To predict.
Chapter 3 Section 3.1 Examining Relationships. Continue to ask the preliminary questions familiar from Chapter 1 and 2 What individuals do the data describe?
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
WARM-UP Do the work on the slip of paper (handout)
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
Correlation The apparent relation between two variables.
Chapter 9: Correlation and Regression Analysis. Correlation Correlation is a numerical way to measure the strength and direction of a linear association.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
SWBAT: Calculate and interpret the residual plot for a line of regression Do Now: Do heavier cars really use more gasoline? In the following data set,
Linear Regression Day 1 – (pg )
^ y = a + bx Stats Chapter 5 - Least Squares Regression
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
CHAPTER 3 Describing Relationships
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Does adding a fuel additive help gasoline mileage in automobiles? Use Linear Regression to analyze the following data: Amount of STP fuel additive added.
Bellwork (Why do we want scattered residual plots?): 10/2/15 I feel like I didn’t explain this well, so this is residual plots redux! Copy down these two.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Describing Relationships. Least-Squares Regression  A method for finding a line that summarizes the relationship between two variables Only in a specific.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
1. Analyzing patterns in scatterplots 2. Correlation and linearity 3. Least-squares regression line 4. Residual plots, outliers, and influential points.
CHAPTER 3 Describing Relationships
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
Sections Review.
Statistics 101 Chapter 3 Section 3.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Does adding a fuel additive help gasoline mileage in automobiles?
Correlation and Simple Linear Regression
Regression and Correlation
Chapter 5 LSRL.
LSRL Least Squares Regression Line
The following data represents the amount of Profit (in thousands of $) made by a trucking company dependent on gas prices. Gas $
Chapter 3.2 LSRL.
Describe the association’s Form, Direction, and Strength
Ice Cream Sales vs Temperature
Least Squares Regression Line LSRL Chapter 7-continued
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
GET OUT p.161 HW!.
Least-Squares Regression
Chapter 3 Describing Relationships Section 3.2
Chapter 5 LSRL.
Least-Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Warmup A study was done comparing the number of registered automatic weapons (in thousands) along with the murder rate (in murders per 100,000) for 8.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
3.2 – Least Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
9/27/ A Least-Squares Regression.
CHAPTER 3 Describing Relationships
Presentation transcript:

The following data represents the amount of Profit (in thousands of $) made by a trucking company dependent on gas prices. Gas $ Calories Construct and Describe the Scatterplot for this data. 2.Find the Least Square Regression Line

RESIDUALS (also called Errors) The vertical distances from the observed y values and the predicted y on the line are called Residuals. Residual = Observed y – Predicted y Value Residual =

xy Calculating Residuals Find the Residuals for each of the three values

A Residual Plot is a scatter plot where the Residual values are on the y-axis and are plotted against the explanatory variable x (or ). Used to determine if the model (the equation) fits the data. Why do we want to calculate Residuals?????

A Residual Plot that reveals NO Pattern signifies that the model is a GOOD FIT. A Residual Plot that reveals any Pattern signifies that the model should NOT be used for the data. Random scattered points. The Linear Equation is a Good Model. A Pattern is Observed. The Linear Equation is NOT a good Model. Increasing Pattern. The line is NOT a good Model for larger values of x.

Fast food is often considered unhealthy because of the amount of fat and calories in it. Does the amount of Fat content contribute to the number of calories a food product contains? Fat (g) Calories Interpret the residual plot.

Calculating Residuals Fat (g) Calories xyxy Residual plot: The scatter plot depicts a random scatter of points = the model FITS the data well Residual plot:

Fat (g) Calories Residual plot: The scatter plot depicts a random scatter of points = the model FITS the data well Residual plot:

Finding the Least Squares Regression Model from summary statistics :

Here are the summary statistics for the number of hurricanes that have formed per year over the past 100 years and for Temperature of the ocean each year for the same time period. We would like to use ocean temperature to predict number of hurricanes. a.) Find the Least squares regression line AND interpret a and b in contexts to the problem.. means.d. Temperature of the Ocean (degrees Fahrenheit) r = 0.94 Number of Hurricanes 116.2

Homework: Page 192: 1, 38, 42, 43

xy Calculating Residuals

Does adding a fuel additive help gasoline mileage in automobiles? Use Linear Regression to analyze the following data: Amount of STP fuel additive added to the gas tank (in ounces) = x Recorded gas mileage = y 1. Graph the Scatterplot Describe the direction, form and strength. 2. Find the Residuals for all 10 points. Plot them & interpret them. 3. Find the Least Squares Regression Line. In contents to the problem, interpret the meaning of ‘y-int’ and ‘slope’. 4. What is the regression line Correlation Coefficient value? What does this value indicate in relation to the data? 5. What is the Coefficient of Determination value? What does this value indicate in relation to the data? 6. Predict the gas mileage after adding 15 ounces of fuel additive. 7. Find the predicted gas mileage after adding 100 ounces. X Y

R 2 : 91.8% of the variation in the predicted gas milage is attributed by the amount of additive added to the tank. Regression model: Gas Milage = (Add.) Slope: For every additional ounce of Additive the model predicts an additional miles per gallon. y-intercept: If the tank contained NO Gas Additive the car would still get mpg. Correlation: r = Very strong positive linear relationship. R2:R2: Regression model: Slope: y-intercept: Correlation: Residual plot: The scatter plot depicts a random scatter of points = the model FITS the data well Residual plot:

WARM-UP Is there an association between how much a baseball team pays its players (Average in millions) and the team winning percentage? Find AND interpret r and R 2. Team Average Win PCT N.Y. Yankees Boston Texas Arizona Los Angeles New York Mets Atlanta Seattle Cleveland San Francisco Toronto Chicago Cubs St. Louis St. Louis Examine Graph ŷ = x r = 0.31 R 2 = 9.8%

R-Sq. = = 9.8% 9.8% of the variation in the predicted values of Winning Percent is attributed to the salaries of the players. 90.2% of that variation is attributed by other factors.

1. Graph the Scatterplot Describe the direction, form and strength. 2. Find the Residuals for all 10 points. Plot them & interpret them. 3. Find the Least Squares Regression Line. In contents to the problem, interpret the meaning of ‘a’ and ‘b’. 4. What is the regression line Correlation Coefficient value? What does this value indicate in relation to the data? 5. What is the Coefficient of Determination value? What does this value indicate in relation to the data? 6.Predict the gas mileage after adding 15 ounces of fuel additive. 7.Find the predicted gas mileage after adding 100 ounces. This is called EXTRAPOLATION when you make predictions for data outside your range.