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

Slides:



Advertisements
Similar presentations
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Advertisements

Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Copyright © 2010 Pearson Education, Inc. Slide The correlation between two scores X and Y equals 0.8. If both the X scores and the Y scores are converted.
Copyright © 2010 Pearson Education, Inc. Slide The number of sweatshirts a vendor sells daily has the following probability distribution. Num of.
Copyright © 2010 Pearson Education, Inc. Slide
CHAPTER 6 Introduction to Graphing and Statistics Slide 2Copyright 2012, 2008, 2004, 2000 Pearson Education, Inc. 6.1Tables and Pictographs 6.2Bar Graphs.
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!
25 seconds left…...
We will resume in: 25 Minutes.
Simple Linear Regression Analysis
Correlation and Linear Regression
Multiple Regression and Model Building
Chapter 10: Re-Expressing Data: Get it Straight
Copyright © 2009 Pearson Education, Inc. Chapter 29 Multiple Regression.
Copyright © 2010 Pearson Education, Inc. Slide
Extrapolation: Reaching Beyond the Data
Chapter 10 Re-Expressing data: Get it Straight
Get it Straight!! Chapter 10
Warm up Use calculator to find r,, a, b. Chapter 8 LSRL-Least Squares Regression Line.
Copyright © 2009 Pearson Education, Inc. Chapter 8 Linear Regression.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
Chapter 10 Re-expressing the data
Re-expressing data CH. 10.
Re-expressing the Data: Get It Straight!
Chapter 10 Re-expressing Data: Get it Straight!!
Transforming to achieve linearity
Statistics Review Chapter 10. Important Ideas In this chapter, we have leaned how to re- express the data and why it is needed.
Chapter 10: Re-Expressing Data: Get it Straight AP Statistics.
Chapter 10: Re-expressing Data It’s easier than you think!
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 Linear Regression.
DO NOW Read Pages 222 – 224 Read Pages 222 – 224 Stop before “Goals of Re-expression” Stop before “Goals of Re-expression” Answer the following questions:
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.
Bivariate Data Analysis Bivariate Data analysis 4.
Chapter 8 Linear Regression HOW CAN A MODEL BE CREATED WHICH REPRESENTS THE LINEAR RELATIONSHIP BETWEEN TWO QUANTITATIVE VARIABLES?
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 8- 1.
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.
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
Chapter 13 Lesson 13.2a Simple Linear Regression and Correlation: Inferential Methods 13.2: Inferences About the Slope of the Population Regression Line.
 Understand why re-expressing data is useful  Recognize when the pattern of the data indicates that no re- expression will improve it  Be able to reverse.
Chapter 10: Re-expressing Data (Get it Straight)
WARM UP: Use the Reciprocal Model to predict the y for an x = 8
Let’s Get It Straight! Re-expressing Data Curvilinear Regression
Chapter 10: Re-Expression of Curved Relationships
Re-expressing the Data: Get It Straight!
Bell Ringer Make a scatterplot for the following data.
Chapter 10 Re-Expressing data: Get it Straight
Re-expressing Data: Get it Straight!
Re-expressing the Data: Get It Straight!
Re-expressing the Data: Get It Straight!
So how do we know what type of re-expression to use?
Re-expressing Data:Get it Straight!
Lecture 6 Re-expressing Data: It’s Easier Than You Think
Re-expressing Data: Get it Straight!
Presentation transcript:

Copyright © 2010 Pearson Education, Inc. Slide A least squares regression line was fitted to the weights (in pounds) versus age (in months) of a group of many young children. The equation of the line is Where is the predicted weight and t is the age of the child. A 20-month-old child in this group has an actual weight of 25 pounds. Which of the following is the residual weight, in pounds, for this child? a b c d e. 7.85

Copyright © 2010 Pearson Education, Inc. Slide A least squares regression line was fitted to the weights (in pounds) versus age (in months) of a group of many young children. The equation of the line is Where is the predicted weight and t is the age of the child. A 20-month-old child in this group has an actual weight of 25 pounds. Which of the following is the residual weight, in pounds, for this child? a b c d e. 7.85

Copyright © 2010 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!

Copyright © 2010 Pearson Education, Inc. Slide Straight to the Point We cannot use a linear model unless the relationship between the two variables is linear. If the data is not linear, you may need to re-expression the data, straightening bent relationships so that we can fit and use a simple linear model. Simple ways to re-express data are with logarithms, square roots and reciprocals. Re-expressions can be seen in everyday life: The Richter scale of earthquake strength is expressed in logs. Decibel scale for sound intensity is measured in logs. Gauges of shotguns are measured in square roots.

Copyright © 2010 Pearson Education, Inc. Slide Straight to the Point (cont.) The relationship between fuel efficiency (in miles per gallon) and weight (in pounds) for late model cars looks fairly linear at first:

Copyright © 2010 Pearson Education, Inc. Slide Straight to the Point (cont.) A look at the residuals plot shows a problem:

Copyright © 2010 Pearson Education, Inc. Slide Straight to the Point (cont.) We can re-express fuel efficiency as gallons per hundred miles (a reciprocal) and eliminate the bend in the original scatterplot:

Copyright © 2010 Pearson Education, Inc. Slide Straight to the Point (cont.) A look at the residuals plot for the new model seems more reasonable:

Copyright © 2010 Pearson Education, Inc. Slide The Goals of Re-expression are: Goal 1: Make the distribution of a variable (as seen in its histogram, for example) more symmetric.

Copyright © 2010 Pearson Education, Inc. Slide Goals of Re-expression (cont.) Goal 2: Make the spread of several groups (as seen in side-by-side boxplots) more alike, even if their centers differ.

Copyright © 2010 Pearson Education, Inc. Slide Goals of Re-expression (cont.) Goal 3: Make the form of a scatterplot more nearly linear.

Copyright © 2010 Pearson Education, Inc. Slide Goals of Re-expression (cont.) Goal 4: Make the scatter in a scatterplot spread out evenly rather than thickening at one end. This can be seen in the two scatterplots we just saw with Goal 3:

Copyright © 2010 Pearson Education, Inc. Slide The Ladder of Powers There is a family of simple re-expressions that move data toward our goals in a consistent way. This collection of re-expressions is called the Ladder of Powers. The Ladder of Powers orders the effects that the re-expressions have on data.

Copyright © 2010 Pearson Education, Inc. Slide The Ladder of Powers Ratios of two quantities (e.g., mph) often benefit from a reciprocal. The reciprocal of the data –1 An uncommon re-expression, but sometimes useful. Reciprocal square root –1/2 Measurements that cannot be negative often benefit from a log re-expression. Well use logarithms here 0 Counts often benefit from a square root re-expression. Square root of data values ½ Data with positive and negative values and no bounds are less likely to benefit from re-expression. Raw data1 Try with unimodal distributions that are skewed to the left. Square of data values 2 CommentNamePower

Copyright © 2010 Pearson Education, Inc. Slide Plan B: Attack of the Logarithms When none of the data values is zero or negative, logarithms can be a helpful ally in the search for a useful model. Try taking the logs of both the x- and y-variable. Then re-express the data using some combination of x or log(x) vs. y or log(y).

Copyright © 2010 Pearson Education, Inc. Slide Plan B: Attack of the Logarithms (cont.)

Copyright © 2010 Pearson Education, Inc. Slide Multiple Benefits We often choose a re-expression for one reason and then discover that it has helped other aspects of an analysis. For example, a re-expression that makes a histogram more symmetric might also straighten a scatterplot or stabilize variance.

Copyright © 2010 Pearson Education, Inc. Slide Why Not Just Use a Curve? If theres a curve in the scatterplot, why not just fit a curve to the data?

Copyright © 2010 Pearson Education, Inc. Slide Why Not Just Use a Curve? (cont.) The mathematics and calculations for curves of best fit are considerably more difficult than lines of best fit. Besides, straight lines are easy to understand. We know how to think about the slope and the y-intercept.

Copyright © 2010 Pearson Education, Inc. Slide Example: For each of the models listed below, predict y when x = 3: a. b. c. d. e.

Copyright © 2010 Pearson Education, Inc. Slide TI – Tips Re-expressing data Check the scatterplot of Yr and TUIT. Then check the residual plot. Dont forget to calculate the regression line so it fills the RESID list. Remember RESID is your y when plotting the residual plot. You decide because of the curve you need to do some re- expressing. But you dont know which one to do. Lets start by using the square root. Fill L1 with the square root of TUIT. Look at the scatterplot and residual plot (recalculate the regression line to fill the RESID list.) Still not good enough … change fill L1 with the log of TUIT. Scatterplot and residual plot again. Better?! Now, write the model of the re-expressed data. (it should have a log in it!)

Copyright © 2010 Pearson Education, Inc. Slide What Can Go Wrong? Dont expect your model to be perfect. Dont stray too far from the ladder. Dont choose a model based on R 2 alone:

Copyright © 2010 Pearson Education, Inc. Slide What Can Go Wrong? (cont.) Beware of multiple modes. Re-expression cannot pull separate modes together. Watch out for scatterplots that turn around. Re-expression can straighten many bent relationships, but not those that go up then down, or down then up.

Copyright © 2010 Pearson Education, Inc. Slide What Can Go Wrong? (cont.) Watch out for negative data values. Its impossible to re-express negative values by any power that is not a whole number on the Ladder of Powers or to re-express values that are zero for negative powers.

Copyright © 2010 Pearson Education, Inc. Slide Homework: 1-17 odd (skip 3)