Does adding a fuel additive help gasoline mileage in automobiles? Use Linear Regression to analyze the following data: Amount of STP fuel additive added.

Slides:



Advertisements
Similar presentations
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Advertisements

Chapter 3 Bivariate Data
2nd Day: Bear Example Length (in) Weight (lb)
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
Regression, Residuals, and Coefficient of Determination Section 3.2.
C HAPTER 3: E XAMINING R ELATIONSHIPS. S ECTION 3.3: L EAST -S QUARES R EGRESSION Correlation measures the strength and direction of the linear relationship.
Chapter 5 Regression. Chapter 51 u Objective: To quantify the linear relationship between an explanatory variable (x) and response variable (y). u We.
Descriptive Methods in Regression and Correlation
Relationship of two variables
ASSOCIATION: CONTINGENCY, CORRELATION, AND REGRESSION Chapter 3.
2.4: Cautions about Regression and Correlation. Cautions: Regression & Correlation Correlation measures only linear association. Extrapolation often produces.
Chapter 3: Examining relationships between Data
Ch 3 – Examining Relationships YMS – 3.1
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
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.3 Least-Squares Regression.  Calculate the least squares regression line  Predict data using your LSRL  Determine and interpret the coefficient of.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
Verbal SAT vs Math SAT V: mean=596.3 st.dev=99.5 M: mean=612.2 st.dev=96.1 r = Write the equation of the LSRL Interpret the slope of this line Interpret.
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.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
3.2 Least-Squares Regression Objectives SWBAT: INTERPRET the slope and y intercept of a least-squares regression line. USE the least-squares regression.
Business Statistics for Managerial Decision Making
^ y = a + bx Stats Chapter 5 - Least Squares Regression
CHAPTER 3 Describing Relationships
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
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.
The following data represents the amount of Profit (in thousands of $) made by a trucking company dependent on gas prices. Gas $
CHAPTER 5: Regression ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
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
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Does adding a fuel additive help gasoline mileage in automobiles?
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 $
Describe the association’s Form, Direction, and Strength
AP Stats: 3.3 Least-Squares Regression Line
EQ: How well does the line fit the data?
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Least-Squares Regression
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Least-Squares Regression
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
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Presentation transcript:

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. What is the regression line Correlation Coefficient value? What does this value indicate in relation to the data? 3. What is the Coefficient of Determination value? What does this value indicate in relation to the data? 4. Find the Least Squares Regression Line. In contents to the problem, interpret the meaning of ‘a’ and ‘b’. 5. Predict the gas mileage after adding 15 ounces of fuel additive. 6. Find the Residual for x = 10 ounces of STP. 7. Find the predicted gas mileage after adding 100 ounces. This is called EXTRAPOLATION when you make predictions for data outside your range. X Y

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

The Difference between Outliers and Influential Points An Outlier is an observation that lies outside the overall pattern of the other observations. An Influential point is an observation that if removing it would markedly change the position of the regression line. Outlier but NOT Influential Outlier and Influential Correlation and Least Squares Regression line are Nonresistant meaning that they are strongly influenced by extreme outliers that are influential.

RESIDUALS The Least-Squares regression line is a line in which the vertical distances from the observed y values and the predicted y value are as small as possible. These vertical distances are called Residuals. Residual = Observed y – Predicted y Value Residual = Predicted = Observed = x y

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%

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 x y y Residual

Sum of Squares about the Mean - (SSM) If there was absolutely no association between x and y then the regression line would be a horizontal line passing through the mean of y. The variation between the actual data y values and this horizontal line is measured by SSM. Sum of Squares for Error - (SSE) If there is an association between x and y then the regression line would be modeled by y-hat. The variation between the actual data y values and the predicted y values is measured by SSE. R-Squared – the percent or fraction of variation in the values of y that is explained by the least squares regression of y on x. Measure of goodness of fit.

Warm-Up Does temperature effect ice cream sales. A local ice cream shop sold the following amounts on various days: Temperature # of Sales: Construct and Describe the Form and Direction of the Scatterplot. 2.Identify any Outliers. 3.Find and Interpret the correlation.

WARM - UP Many Blogs are declaring that the Government is manipulating Gas Reserves therefore manipulating Gas Prices. To investigate this analyze the following Gas Prices$ President Bush’s Approval Rating %