Copyright © 2011 Pearson Education, Inc. Curved Patterns Chapter 20.

Slides:



Advertisements
Similar presentations
7.1 Seeking Correlation LEARNING GOAL
Advertisements

Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 20 Curved Patterns.
Chapter 10: Re-Expressing Data: Get it Straight
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
Chapter 10 Re-expressing the data
Re-expressing the Data: Get It Straight!
Regression Diagnostics Checking Assumptions and Data.
Lecture 19 Transformations, Predictions after Transformations Other diagnostic tools: Residual plot for nonconstant variance, histogram to check normality.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 15-1 Chapter 15 Multiple Regression Model Building Basic Business Statistics 11 th Edition.
Copyright ©2011 Pearson Education 15-1 Chapter 15 Multiple Regression Model Building Statistics for Managers using Microsoft Excel 6 th Global Edition.
Copyright © 2011 Pearson Education, Inc. Multiple Regression Chapter 23.
Relationship of two variables
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 25 Categorical Explanatory Variables.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 15-1 Chapter 15 Multiple Regression Model Building Statistics for Managers using Microsoft.
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.1 Using Several Variables to Predict a Response.
Copyright © 2011 Pearson Education, Inc. Regression Diagnostics Chapter 22.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 22 Regression Diagnostics.
16-1 Linear Trend The long term trend of many business series often approximates a straight line.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 23 Multiple Regression.
Copyright © 2014 Pearson Education, Inc. All rights reserved Chapter 4 Regression Analysis: Exploring Associations between Variables.
Chapter 10: Re-Expressing Data: Get it Straight AP Statistics.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 27 Time Series.
M25- Growth & Transformations 1  Department of ISM, University of Alabama, Lesson Objectives: Recognize exponential growth or decay. Use log(Y.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 19 Linear Patterns.
Copyright © 2011 Pearson Education, Inc. The Simple Regression Model Chapter 21.
Chapter 10 Re-expressing the data
Fitting Curves to Data 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 5: Fitting Curves to Data Terry Dielman Applied Regression.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2010 Pearson Education, Inc. Slide A least squares regression line was fitted to the weights (in pounds) versus age (in months) of a.
Bivariate Data Analysis Bivariate Data analysis 4.
Copyright © 2011 Pearson Education, Inc. Time Series Chapter 27.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 21 The Simple Regression Model.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 6 Association between Quantitative Variables.
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,
A. Write an equation in slope-intercept form that passes through (2,3) and is parallel to.
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
AP Statistics Section 4.1 A Transforming to Achieve Linearity.
Copyright © 2011 Pearson Education, Inc. Regression Diagnostics Chapter 22.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 24 Building Regression Models.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 15-1 Chapter 15 Multiple Regression Model Building Basic Business Statistics 10 th Edition.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Multiple Regression Model Building Statistics for Managers.
If the scatter is curved, we can straighten it Then use a linear model Types of transformations for x, y, or both: 1.Square 2.Square root 3.Log 4.Negative.
Chapter 5 Lesson 5.4 Summarizing Bivariate Data 5.4: Nonlinear Relationships and Transformations.
Copyright © 2010 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Chapter 10 Notes AP Statistics. Re-expressing Data We cannot use a linear model unless the relationship between the two variables is linear. If the relationship.
Chapter 4 More on Two-Variable Data. Four Corners Play a game of four corners, selecting the corner each time by rolling a die Collect the data in a table.
Copyright © 2011 Pearson Education, Inc. Association between Quantitative Variables Chapter 6.
Part II Exploring Relationships Between Variables.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
HW 14 Key. 19:38 Convenience Shopping. It’s rare that you’ll find a gas station these days that only sells gas. It’s become more common to find a convenience.
Copyright © 2017, 2014 Pearson Education, Inc. Slide 1 Chapter 4 Regression Analysis: Exploring Associations between Variables.
Chapter 15 Multiple Regression Model Building
Chapter 4: Basic Estimation Techniques
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Unit 2 Exploring Data: Comparisons and Relationships
Active Learning Lecture Slides
Chapter 13 Multiple Regression
Re-expressing Data:Get it Straight!
GET OUT p.161 HW!.
Chapter 3 Describing Relationships Section 3.2
CHAPTER 3 Describing Relationships
3.2 – Least Squares Regression
Chapters Important Concepts and Terms
Presentation transcript:

Copyright © 2011 Pearson Education, Inc. Curved Patterns Chapter 20

20.1 Detecting Nonlinear Patterns What improvement in mileage should a manufacturer expect from reducing the weight of a car?  Use regression analysis to find an equation that summarizes the association between gas mileage and weight  This pattern of association is not linear, but curved Copyright © 2011 Pearson Education, Inc. 3 of 38

20.1 Detecting Nonlinear Patterns Recognizing Nonlinearity  Will changes in the explanatory variable result in equal sized changes in the estimated response, regardless of the value of x?  Does trimming 200 pounds from a large SUV have the same effect on mileage as trimming 200 pounds from a small compact? Copyright © 2011 Pearson Education, Inc. 4 of 38

20.1 Detecting Nonlinear Patterns Scatterplot with Fitted Line Copyright © 2011 Pearson Education, Inc. 5 of 38

20.1 Detecting Nonlinear Patterns Mileage (MPG) vs Weight (1000’s pounds)  The least squares fitted line is Estimated MPG City = 35.6 – 4.52 Weight (000 lb).  The line has an r 2 = 0.57 and s e = 2.9 MPG.  The equation estimates that mileage would increase MPG, on average, by reducing car weight by 200 pounds. Copyright © 2011 Pearson Education, Inc. 6 of 38

20.1 Detecting Nonlinear Patterns Residual Plot Easier to spot curved pattern in the residuals. Copyright © 2011 Pearson Education, Inc. 7 of 38

20.2 Transformations  Transformation: re-expression of a variable by applying a function to each observation.  Transformations allow the use of regression analysis to describe a curved pattern.  Two nonlinear transformations useful in business applications: reciprocal and logarithms. Copyright © 2011 Pearson Education, Inc. 8 of 38

20.2 Transformations Choosing An Appropriate Transformation  The process of choosing the right transformation is usually iterative.  Among the possible choices, select the one that captures the curvature of the data and produces an interpretable equation. Copyright © 2011 Pearson Education, Inc. 9 of 38

20.2 Transformations Choosing An Appropriate Transformation Match the pattern in a scatterplot of y on x to one of the shapes to find an appropriate transformation. Copyright © 2011 Pearson Education, Inc. 10 of 38

20.3 Reciprocal Transformation Convert Observed Data d into 1/d  The reciprocal transformation is useful when dealing with variables that are already in the form of a ratio, such as miles per gallon.  In the car example, apply this transformation to the response variable and multiply by 100. The resulting response is number of gallons it takes to go 100 miles. Copyright © 2011 Pearson Education, Inc. 11 of 38

20.3 Reciprocal Transformation Scatterplot with Fitted Line Estimated Gallons/100 Miles = Weight r 2 = s e = 1.04 Copyright © 2011 Pearson Education, Inc. 12 of 38

20.3 Reciprocal Transformation Residual Plot Outliers apparent (i.e., exotic sports cars). Copyright © 2011 Pearson Education, Inc. 13 of 38

20.3 Reciprocal Transformation Comparing Linear and Nonlinear Equations  r 2 is larger for the linear equation (57% to 41%); however, this is not a valid comparison since the equations have different response variables.  Valid comparisons are visual and substantive. Copyright © 2011 Pearson Education, Inc. 14 of 38

20.3 Reciprocal Transformation Visual Comparison The curve produced by transforming MPG provides a better fit to the data. Copyright © 2011 Pearson Education, Inc. 15 of 38

20.3 Reciprocal Transformation Substantive Comparison  The reciprocal equation treats weights differently than the linear equation.  In the reciprocal equation, differences in weight matter less as cars get heavier.  This diminishing effect of changes in weight makes more sense than a constant decrease. Copyright © 2011 Pearson Education, Inc. 16 of 38

20.3 Reciprocal Transformation Substantive Comparison: Hummer H2 What is the estimated mileage of a Hummer H2 (weight = 6,400 lb.)? Linear equation predicts 6.7 MPG. Reciprocal equation predicts 11.3 MPG. Which is more sensible? 11.3 MPG Car and Driver magazine estimates 10 MPG. Copyright © 2011 Pearson Education, Inc. 17 of 38

20.4 Logarithm Transformation Convert Observed Data d into log d  The logarithm transformation is useful when the association between variables is more meaningful on a percentage scale.  Example: How much should a supermarket chain charge for a national brand of pet food? Copyright © 2011 Pearson Education, Inc. 18 of 38

20.4 Logarithm Transformation Timeplots of Sales and Price of Pet Food Copyright © 2011 Pearson Education, Inc. 19 of 38

20.4 Logarithm Transformation Scatterplot with Fitted Line Estimated Sales Volume = 190,480 – 125,190 Price r 2 = 0.83 Copyright © 2011 Pearson Education, Inc. 20 of 38

20.4 Logarithm Transformation Residual Plot Easier to spot curved pattern in the residuals. Copyright © 2011 Pearson Education, Inc. 21 of 38

20.4 Logarithm Transformation Scatterplot with Fitted Line Estimated log (Sales Volume) = – log Price r 2 = Copyright © 2011 Pearson Education, Inc. 22 of 38

20.4 Logarithm Transformation Residual Plot No apparent pattern left in the residuals. Copyright © 2011 Pearson Education, Inc. 23 of 38

20.4 Logarithm Transformation Comparing Equations The curve produced by taking log transformations of the data provides a better fit to the data. Copyright © 2011 Pearson Education, Inc. 24 of 38

20.4 Logarithm Transformation Comparing Equations  The log-log equation shows that customers are more price sensitive at low prices.  For example, an average price change from $0.80 to $0.90 leads to a drop of more than 27,000 cans in estimated sales volume. In contrast, a change from $1.10 to $1.20 leads to a smaller drop in sales of about 9,500 cans. Copyright © 2011 Pearson Education, Inc. 25 of 38

20.4 Logarithm Transformation Elasticity  Elasticity: measure that relates % change in x to % change in y; slope in a log-log regression equation.  Can use elasticity to find the optimal price of pet food for the supermarket chain. Copyright © 2011 Pearson Education, Inc. 26 of 38

20.4 Logarithm Transformation Elasticity Optimal Price = Cost = = $1.017 Estimated profit is maximized at this price. Copyright © 2011 Pearson Education, Inc. 27 of 38

4M Example 20.1: OPTIMAL PRICING Motivation How much should a convenience store charge for a half-gallon of orange juice? The orange juice costs the chain $1 to stock and sell. Copyright © 2011 Pearson Education, Inc. 28 of 38

4M Example 20.1: OPTIMAL PRICING Method In order to determine the optimal price, need to estimate elasticity from a regression of log sales on log price. The chain collected data on sales of orange juice from stores at 50 different locations. The stores sold orange juice at different prices. Copyright © 2011 Pearson Education, Inc. 29 of 38

4M Example 20.1: OPTIMAL PRICING Method Copyright © 2011 Pearson Education, Inc. 30 of 38

4M Example 20.1: OPTIMAL PRICING Method Copyright © 2011 Pearson Education, Inc. 31 of 38

4M Example 20.1: OPTIMAL PRICING Mechanics The least squares regression of log sales on log price is Estimated log Sales = log Price Copyright © 2011 Pearson Education, Inc. 32 of 38

4M Example 20.1: OPTIMAL PRICING Mechanics – Check Conditions All conditions satisfied. Copyright © 2011 Pearson Education, Inc. 33 of 38

4M Example 20.1: OPTIMAL PRICING Mechanics – Optimal Price At $2.33, each store can expect to sell 28 cartons of orange juice for an estimated profit of $ Copyright © 2011 Pearson Education, Inc. 34 of 38

4M Example 20.1: OPTIMAL PRICING Message The chain would make higher profits by decreasing the price of a half-gallon of orange juice from its current price of $3.00 to $2.33. Copyright © 2011 Pearson Education, Inc. 35 of 38

Best Practices  Anticipate whether the association between y and x is linear.  Check that a line summarizes the relationship between the explanatory variable and the response both visually and substantively.  Stick to models you can understand and interpret. Copyright © 2011 Pearson Education, Inc. 36 of 38

Best Practices (Continued)  Interpret the slope carefully.  Graph your model in the original units. Copyright © 2011 Pearson Education, Inc. 37 of 38

Pitfalls  Don’t think that regression only fits lines.  Don’t forget to look for curves, even in models with high values of r 2.  Don’t forget lurking variables.  Don’t compare r 2 between models with different responses. Copyright © 2011 Pearson Education, Inc. 38 of 38