Download presentation

Published byWinston Fewkes Modified over 2 years ago

1
**Chapter 10: Re-Expressing Data: Get it Straight**

AP Statistics

2
**Weight vs. Fuel Efficieny**

Describe the relationship. How accurate is the model? The R-squared value is 81.6% Is the model appropriate for the data? Look at residual plot.

3
**Residual Plot Is the model appropriate for the data?**

Look at the pattern in the residual plot. This shows that a linear model is not appropriate!!

4
**What if linear model is not appropriate?**

We need to re-express it so that it is “linear”. Then we can proceed like normal—with R-squared and prediction (and more). In this situation, we will take the reciprocal of the fuel efficiency (so, instead of mpg it will be gallons per mile [1/y])

5
**Re-expressed data, with residual**

Note: Our residual plot is of transformed variable

6
Why re-express? There will be many reasons, but in this example, suppose you want to predict the gas mileage of a Hummer (about 6400 pounds). If we use the non-re-expressed data, it would say that the gas mileage would be about 0. In the re-expressed data, it would say about 10.3 mpg (after “undoing” the re-expression).

7
**Why Not Just a Curve? Straight lines are easy to understand.**

We understand and can interpret the slope and y-intercept We may want some of the other benefits from re-expressing data, such as symmetry or more equal spreads Is very important when we learn about Inferences for Regression

8
Why do we Re-Express? 1. Make the distribution symmetric. It is easier to summarize the data (esp. the center) and it also makes it possible to use mean and standard deviation, which allows us to use a normal curve to predict.

9
Why do we Re-Express? 2. Make the spread of several groups more alike. Groups that share a common spread are easier to compare. Only can be used in SD that are common.

10
Why do we Re-Express? 3. Make form of Scatterplot more nearly linear. This allows us to describe the relationhip easier—allows us to use a linear model and all that goes with it. 4. Make scatter in scatterplot spread out evenly, rather than following a fan shape. This will be a requirement later on in course—related to #2

11
Example Look at shape of distribution. What re-expression should we use?

12
**Re-Expression Equation**

Type of Model Model Equation Transformation Re-Expression Equation Exponential Logarithmic Power

13
Logarithmic Function Exponential Function Power Function

14
Example

15
Example Predict the length of a flight in which the plane is traveling 480 mph.

16
**Other hints to finding proper re-expression**

Logarithms can be very useful in re-expressing data to achieve linearity. However, the data needs to have values greater than zero. When you look at the scatterplot, you may recognize a pattern from prior courses. The chart on next page will help determine which re-expression to use when you recognize the graph

17
**Be Careful Don’t expect the re-expressed model to be perfect**

Don’t choose a model based on R-squared value alone—look at residual plot!!! Multiple modes will not disappear when re-expressed Don’t try to re-express data that is like a rollercoaster If negative data values—add a small value to make the data greater than zero, the re-express (can’t take log of zero or negative number) If data values are far from one, the re-expression will have a smaller effect than if the data values are closer to one—subtract a constant to get closer to one—if years, use years away from a constant. Instead of 1950, use idea of “years since 1949, and use 1. SIMPLICITY!!!!!

18
The data below shows the results of an experiment that was attempting to find the relationship between the about of time a cup of coffee is left out and the temperature of that cup of coffee. The results are shown below. Time (min) Temp (F) 19 133 22 122 24 111 27 104 30 102 33.5 97 37 95 Create a scatterplot of the data and describe the relationship. Create an appropriate model for this data. Check it’s appropriateness. How accurately is the model in predicting the temperature of the cup of coffee? Give evidence. Predict the temperature of a cup of coffee that has been sitting out for 35 minutes. Show your work. Did the model underestimate or overestimate the temperature of a cup of coffee that has been sitting out for 30 min? Show all work.

Similar presentations

OK

Copyright © 2010, 2007, 2004 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!

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on power sharing in democracy it is important Ppt on world television day Ppt on complex numbers class 11th accounts Ppt on trans-siberian railway stops Ppt on unknown facts about india Ppt on conservation of linear momentum Free download ppt on ms access 2007 Ppt on media and democracy in india Ppt on disk formatting Ppt on division as equal sharing worksheets