Straightening a curved scatterplot

Slides:



Advertisements
Similar presentations
Copyright © 2010 Pearson Education, Inc. Slide A least squares regression line was fitted to the weights (in pounds) versus age (in months) of a.
Advertisements

Re-Expressing Data Get it Straight!. Page 192, #2, 4, 15, 19, 22 Residuals Pg 193, # 11, 23, 27, 33, 45 Pg 195, 16, 22, 23,25,37 Regression Wisdom Pg.
 Objective: To determine whether or not a curved relationship can be salvaged and re-expressed into a linear relationship. If so, complete the re-expression.
Chapter 10: Re-expressing data –Get it straight!
Chapter 10 Day 3 AP Statistics
4.1: Linearizing Data.
Chapter 10 Re-Expressing data: Get it Straight
Get it Straight!! Chapter 10
Lesson Quiz: Part I 1. Change 6 4 = 1296 to logarithmic form. log = 4 2. Change log 27 9 = to exponential form = log 100,000 4.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
Re-expressing data CH. 10.
Re-expressing the Data: Get It Straight!
Chapter 10 Re-expressing Data: Get it Straight!!
+ Hw: pg 764: 21 – 26; pg 786: 33, 35 Chapter 12: More About Regression Section 12.2a Transforming to Achieve Linearity.
Transformations to Achieve Linearity
Chapter 12-2 Transforming Relationships Day 2
Residuals and Residual Plots Most likely a linear regression will not fit the data perfectly. The residual (e) for each data point is the ________________________.
Transforming to achieve linearity
Transforming Relationships
Statistics Review Chapter 10. Important Ideas In this chapter, we have leaned how to re- express the data and why it is needed.
Exponential Regression Section Starter The city of Concord was a small town of 10,000 people in Returning war veterans and the G.I.
“Numbers are like people… torture them long enough and they’ll tell you anything...” Linear transformation.
Chapter 10 Re-expressing the data
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Chapter 10 Re-expressing Data: Get It Straight!. Slide Straight to the Point We cannot use a linear model unless the relationship between the two.
Chapter 10: Re- expressing Data by: Sai Machineni, Hang Ha AP STATISTICS.
Lecture 6 Re-expressing Data: It’s Easier Than You Think.
Copyright © 2010 Pearson Education, Inc. Slide A least squares regression line was fitted to the weights (in pounds) versus age (in months) of a.
Chapter 8 Linear Regression HOW CAN A MODEL BE CREATED WHICH REPRESENTS THE LINEAR RELATIONSHIP BETWEEN TWO QUANTITATIVE VARIABLES?
AP Statistics Section 4.1 A Transforming to Achieve Linearity.
Reexpressing Data. Re-express data – is that cheating? Not at all. Sometimes data that may look linear at first is actually not linear at all. Straight.
Quadratic Regression ©2005 Dr. B. C. Paul. Fitting Second Order Effects Can also use least square error formulation to fit an equation of the form Math.
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.
Re-Expressing Data. Scatter Plot of: Weight of Vehicle vs. Fuel Efficiency Residual Plot of: Weight of Vehicle vs. Fuel Efficiency.
Copyright © 2010 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
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.
Statistics 10 Re-Expressing Data Get it Straight.
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
12.2 TRANSFORMING TO ACHIEVE LINEARITY To use transformations involving powers, roots, and logarithms to find a power or exponential model that describes.
Chapter 10: Re-expressing Data (Get it Straight)
Transforming to Achieve Linearity (C10 BVD)
distance prediction observed y value predicted value zero
Chapter 10: Re-Expression of Curved Relationships
Transforming Relationships
MATH 2311 Section 5.5.
Re-expressing the Data: Get It Straight!
Active Learning Lecture Slides
Bell Ringer Make a scatterplot for the following data.
Chapter 10 Re-Expressing data: Get it Straight
Data Transformation Data Analysis.
1) A residual: a) is the amount of variation explained by the LSRL of y on x b) is how much an observed y-value differs from a predicted y-value c) predicts.
Re-expressing Data: Get it Straight!
Re-expressing the Data: Get It Straight!
Ch. 12 More about regression
Re-expressing the Data: Get It Straight!
So how do we know what type of re-expression to use?
Chapter 10 Re-expression Day 1.
Transforming Relationships
Least-Squares Regression
MATH 2311 Section 5.5.
Lecture 6 Re-expressing Data: It’s Easier Than You Think
Homework: pg. 266 #3 A. The relationship is strong, negative, and slightly curved. B. Yes. The scatterplot for the transformed data shows a clear linear.
Transforming Relationships
Chapters Important Concepts and Terms
Re-expressing Data: Get it Straight!
Presentation transcript:

Straightening a curved scatterplot Re-expressing Data Straightening a curved scatterplot

Suppose this happens to you… You make a scatter plot on your calculator and plot the LSRL. It looks like a pretty good fit, and r = 0.997. But then, when you plot the residuals, you get this. Uh-oh, now what do we do???

What do you do when a linear model is NOT appropriate? We transform our data values using mathematical functions to see if they fit better than a straight line. You can take the logarithm of the x values, take the logarithm of the y values, take reciprocals, take square roots, etc. To keep you organized, your textbook gives some guidelines…

Using logarithms to straighten out a scatter plot If the data looks exponential… X log(Y) If the data looks logarithmic… log(X) Y If the data doesn’t straighten out with either of these…

The Ladder of Powers Other functions might work too… 2 Square the data values, or y2 1 The original data values 1/2 The square root of the data values Not the zero power, but the logarithm of either x or y or both -1/2 The reciprocal square root of y -1 The reciprocal of y.

Remember… Finding a good functional model is a guess-and-check process. There is no such thing as a perfect model. You are looking for one that is simply good enough… Let’s try an example…

Linearize the data and make a model for world population… Enter this data in L1 and L2 and plot the points. What do you notice? Now try making L3 by using log(L2). Plot L1 and L3 and now make the LSRL. What is the predicted population for 2010? Year Pop. (millions) 1950 2519 1955 2755 1960 3020 1965 3334 1970 3691 1975 4066 1980 4430 1985 4825 1990 5255 1995 5662 2000 6057

Linearize the data and make a model for light intensity… Enter this data in L1 and L2 and plot the points. What do you notice? Now try making L3 by using a function of L2. What should we use? Plot L1 and L3 and now make the LSRL. What is the predicted intensity for 12 feet? Distance (ft) Candlepower 2 531.2 5 84.3 8 33.6 10 21.1 15 9.5 20 5.3 25 3.4

Linearize the data and make a model for mortgage amounts at Republic National Bank… Enter this data in L1 and L2 and plot the points. What do you notice? Now try making L3 by using a function of L2. What should we use? Plot L1 and L3 and now make the LSRL. What is the predicted mortgage level for 1990? Year $ (millions) 1970 1.2 1972 2.5 1974 2.9 1976 3.1 1978 5.8 1980 8.3 1982 10.8 1984 14.7 1986 21.8 1988 29.7