Bell Ringer Make a scatterplot for the following data.

Slides:



Advertisements
Similar presentations
Straightening a curved scatterplot
Advertisements

Copyright © 2010 Pearson Education, Inc. Slide A least squares regression line was fitted to the weights (in pounds) versus age (in months) of a.
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: Re-Expressing Data: Get it Straight
Get it Straight!! Chapter 10
Chapter Four: More on Two- Variable Data 4.1: Transforming to Achieve Linearity 4.2: Relationships between Categorical Variables 4.3: Establishing Causation.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
Re-expressing the Data: Get It Straight!
Chapter 2 – Simple Linear Regression - How. Here is a perfect scenario of what we want reality to look like for simple linear regression. Our two variables.
Lesson Nonlinear Regression: Transformations.
Transforming to Achieve Linearity
+ Hw: pg 788: 37, 39, 41, Chapter 12: More About Regression Section 12.2b Transforming using Logarithms.
CHAPTER 12 More About Regression
VCE Further Maths Least Square Regression using the calculator.
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
+ Chapter 12 Section 2 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.
Regression. Population Covariance and Correlation.
M25- Growth & Transformations 1  Department of ISM, University of Alabama, Lesson Objectives: Recognize exponential growth or decay. Use log(Y.
“Numbers are like people… torture them long enough and they’ll tell you anything...” Linear transformation.
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.
Nonlinear Regression Problem 4.14 Heart Weights of Mammals.
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.
Fall Looking Back In Chapters 7 & 8, we worked with LINEAR REGRESSION We learned how to: Create a scatterplot Describe a scatterplot Determine the.
Section 4.1 Transforming Relationships AP Statistics.
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!
Chapter 8 Part I Answers The explanatory variable (x) is initial drop, measured in feet, and the response variable (y) is duration, measured in seconds.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.2 Transforming.
 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.
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)
WARM UP: Use the Reciprocal Model to predict the y for an x = 8
Transforming to Achieve Linearity (C10 BVD)
Chapter 10: Re-Expression of Curved Relationships
Inferences for Regression
Re-expressing the Data: Get It Straight!
Active Learning Lecture Slides
Data Transformation Data Analysis.
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!
Warm – Up CALCULATOR ALL DAY Round to 3 decimal places
So how do we know what type of re-expression to use?
GET OUT p.161 HW!.
CHAPTER 12 More About Regression
Chapter 10 Re-expression Day 1.
Lecture 6 Re-expressing Data: It’s Easier Than You Think
CHAPTER 12 More About Regression
Homework: pg. 276 #5, 6 5.) A. The relationship is strong, negative, and curved. The ratios are all Since the ratios are all the same, the exponential.
Inferences for Regression
CHAPTER 12 More About Regression
Re-expressing Data: Get it Straight!
Presentation transcript:

Bell Ringer Make a scatterplot for the following data. (in the calculator)

Chapter 10 Notes The association between year (measured in years since 1800) and U.S. population (in millions) is strong, positive, and curved. We cannot use a regression line to model this relationship without re-expressing the data first.

If the association of two variables is curved, we can’t use linear regression for the data, but we can attempt to re-express the data by one of a few methods: Square it: 𝑦 2 Square root it: 𝑦 Take the log of one or both variables: log 𝑦 𝑜𝑟 log𝑥 Take the reciprocal: 1 𝑦

The scatterplot of sqrt(population) and year is still a bit curved, but straight enough to fit a line. The model is 𝑃𝑜𝑝 =1.46275+.07457(𝑌𝑒𝑎𝑟)

How to do this on your calculator: Enter the original data in L1 and L2 Instead of going through every single entry and recalculating it, use L3 For this example, make L3 = 𝐿2 Do linear regression using L1 & L3

log 𝑦 =𝑥 → 10 𝑥 =𝑦 Reminder of how logarithms work Examples: 10 2.73 = 𝑦 𝑦 =537.03 𝑦 =log⁡(345) In calculator, type log(345) 𝑦 =2.54

Reminder of how logarithms work ln 𝑦 =𝑥 → 𝑒 𝑥 =𝑦 Example: ln 𝑦 =7.8 𝑒 7.8 = 𝑦 𝑦 =2440.6

The scatterplot of years since 1970 and mortgage rates in millions is curved. The residual plot is shown on the right. 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

A linear model is not appropriate for the scatterplot of years since 1970 and mortgage rates, but it can be straightened using log(y). 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 You Try: Create a model using years since 1970 and log(millions). Use the model to estimate the mortgage rate in 1981.

Scatterplot for years since 1970 and log(mortgage) Residual plot for years since 1970 and log(mortgage)

The appropriate model is: log 𝑚𝑜𝑟𝑡𝑔𝑎𝑔𝑒 =0.1462+.074(𝑦𝑒𝑎𝑟𝑠 𝑠𝑖𝑛𝑐𝑒 1970) The estimate for the year 1981 using this model is: log 𝑚𝑜𝑟𝑡𝑔𝑎𝑔𝑒 =0.1462+.074 11 log 𝑚𝑜𝑟𝑡𝑔𝑎𝑔𝑒 =0.9602 𝑚𝑜𝑟𝑡𝑔𝑎𝑔𝑒 =10 .9602 =9.12 𝑚𝑖𝑙𝑙𝑖𝑜𝑛

Practice: Use re-expressed data to create a model that predicts ticket prices (scale the year). What is the predicted ticket price for 2004? Answer: $11.67

Homework for Chapters 9 & 10 Read chapters 9 & 10 From Monday: p.215 #1-3, 9, 12 Add to HW: p.215 #20; p.239 #5, 6, 15, 16