Section 12.2 Transforming to Achieve Linearity

Slides:



Advertisements
Similar presentations
Chapter 12: More About Regression
Advertisements

AP Statistics: Section 4.1 C Power Law Models
AP Statistics Section 4.1 B Power Law Models
4.1: Linearizing Data.
Transforming Relationships or How to Flatten a Function! …subtle twists on regression.
Chapter Four: More on Two- Variable Data 4.1: Transforming to Achieve Linearity 4.2: Relationships between Categorical Variables 4.3: Establishing Causation.
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
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.
+ Hw: pg 764: 21 – 26; pg 786: 33, 35 Chapter 12: More About Regression Section 12.2a Transforming to Achieve Linearity.
C HAPTER 4: M ORE ON T WO - V ARIABLE D ATA Part 2.
Chapter 7 Scatterplots, Association, and Correlation Stats: modeling the world Second edition Raymond Dahlman IV.
7.7 Day 1 Notes Base e and Natural Logarithms
Exponential and Logarithmic Equations. Exponential Equations Exponential Equation: an equation where the exponent includes a variable. To solve, you take.
Transforming to Achieve Linearity
+ Hw: pg 788: 37, 39, 41, Chapter 12: More About Regression Section 12.2b Transforming using Logarithms.
Transformations to Achieve Linearity
CHAPTER 12 More About Regression
Chapter 2 Functions and Graphs Section 6 Logarithmic Functions (Part I)
Transforming to achieve linearity
The Practice of Statistics
Logarithmic and Exponential Equations
Section 4.1 Logarithms and their Properties. Suppose you have $100 in an account paying 5% compounded annually. –Create an equation for the balance B.
Transforming Relationships
+ Chapter 12 Section 2 Transforming to Achieve Linearity.
Bivariate Data When two variables are measured on a single experimental unit, the resulting data are called bivariate data. You can describe each variable.
CHAPTER 5 SECTION 5.5 BASES OTHER THAN e AND APPLICATIONS.
M25- Growth & Transformations 1  Department of ISM, University of Alabama, Lesson Objectives: Recognize exponential growth or decay. Use log(Y.
Section 4.2 Logarithms and Exponential Models. The half-life of a substance is the amount of time it takes for a decreasing exponential function to decay.
Aim: How do we solve exponential equations using common or natural logarithms? Do Now: 1. Solve for x: 3 x = Solve for x: 4 x = 8 3. Solve for x:
3.4 Solving Exponential and Logarithmic Equations.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Summarizing Bivariate Data Non-linear Regression Example.
Relationships If we are doing a study which involves more than one variable, how can we tell if there is a relationship between two (or more) of the.
Cancer Cell Activity (p. 258). It will not always be obvious which transformation will work best; be willing to experiment. Hierarchy of Powers!
Nonlinear Regression Problem 4.14 Heart Weights of Mammals.
AP Statistics Section 4.1 A Transforming to Achieve Linearity.
AP STATISTICS Section 4.1 Transforming to Achieve Linearity.
Solving Equations Exponential Logarithmic Applications.
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.
A little VOCAB.  Causation is the "causal relationship between conduct and result". That is to say that causation provides a means of connecting conduct.
AP Statistics Review Day 1 Chapters 1-4. AP Exam Exploring Data accounts for 20%-30% of the material covered on the AP Exam. “Exploratory analysis of.
4.4 Exponential and Logarithmic Equations. Solve: 2 x = 7 3 x+3 = 5.
LOGARITHMIC AND EXPONENTIAL EQUATIONS LOGARITHMIC AND EXPONENTIAL EQUATIONS SECTION 4.6.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.2 Transforming.
12.2 TRANSFORMING TO ACHIEVE LINEARITY To use transformations involving powers, roots, and logarithms to find a power or exponential model that describes.
1, 10 ,12, 14, 16, 18, 20, 34, 36, 38, 40, 42, 44 Chapter 12: More About Regression Section 12.1 Inference for Linear Regression The Practice of Statistics,
Chapter 12.2A More About Regression—Transforming to Achieve Linearity
Chapter 12: More About Regression
Transforming Relationships
Chapter 12: More About Regression
Correlation and Regression-II
Ch. 12 More about regression
EQ: How can we use linear models for non linear data?
Chapter 12: More About Regression
Transforming to Achieve Linearity
Sam opened a savings account that compounds interest at a rate of 3% annually. Let P be the initial amount Sam deposited and let t be the number of years.
CHAPTER 12 More About Regression
Advanced Placement Statistics Section 4
Transforming Relationships
Chapter 12: More About Regression
Chapter 12: More About Regression
4.1 Transformations.
Chapter 12: More About Regression
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.
CHAPTER 12 More About Regression
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.
Chapter 12: More About Regression
Chapter 12: More About Regression
CHAPTER 12 More About Regression
Presentation transcript:

Section 12.2 Transforming to Achieve Linearity

Transforming Nonlinear relationships between two quantitative variables can sometimes be changed into linear relationships by transforming one or both of the variables. Transformation is particularly effective when there is a reason to think that the data are governed by some nonlinear mathematical model. Once we transform the data to achieve linearity, we can fit a least-squares regression line to the transformed data and use this linear model to make predictions.

Power Models When theory or experience suggests that the relationship between two variables follows a power model of the form 𝑦=𝑎 𝑥 𝑝 , there are two options… Option 1: Raise the values of the explanatory variable x to the power p, the look at a graph of ( 𝑥 𝑝 ,𝑦) Option 2: Take the pth root of the values of the response variable y, then look at a graph of (𝑥, 𝑝 𝑦 )

Example Imagine that you have been put in charge of organizing a fishing tournament in which prizes will be given for the heaviest fish caught. It would be easiest to measure the length of the fish on the boat, but you need a way to convert the length of the fish to its weight. You contact the nearby marine research lab and they provide reference data on several sizes of fish:

Transform power to linear Because length is one-dimensional and weight (like volume) is three-dimensional, a power model of the form 𝑤𝑒𝑖𝑔ℎ𝑡=𝑎(𝑙𝑒𝑛𝑔𝑡ℎ ) 3 should describe the relationship.

Option 1: ( 𝑙𝑒𝑛𝑔𝑡ℎ 3 , 𝑤𝑒𝑖𝑔ℎ𝑡) Write the equation of the least-squares regression line: Suppose someone caught a fish that is 36 cm long. Predict their weight: Interpret s:

Option 2: (𝑙𝑒𝑛𝑔𝑡ℎ, 3 𝑤𝑒𝑖𝑔ℎ𝑡 ) Write the equation of the least-squares regression line: Suppose someone caught a fish that is 36 cm long. Predict their weight: Interpret s:

Exponential and Log Models A useful strategy for straightening a curved pattern in a scatterplot is to take the logarithm of one or both variables. First – try to take the log or ln of y…if that doesn’t give you a linear model…do both sides. If you log both – you are saying there is a power relationship between the two variables.

Example Suppose you invest $100 in a savings account that pays 6% interest compounded annually. The table shows your balance in the account after each of the first six years.

𝑦=100(1.06 ) 𝑥

Example One of the founders of Intel Corporation predicted in 1965 that the number of transistors on an integrated circuit chip would double every 18 months.

When I take the ln(y)

Minitab output from transformed data Linear eq: Predict the number of transistors in 2020.

Example On July 31, 2005 a team of astronauts announced they had discovered what might be a new planet. At the time of discovery, there were nine planets in our solar system. Here are the data on the distance from the sun and period of revolution of those planets.

If I take the ln(y)

So I have to take the ln of both sides

Find the least-squares regression line Eq: Predict the period of revolution for Eris (the “new planet”), which is 102.15 AU from the sun and show your work.

Homework Pg. 787 (35, 37-39, 42, 45-48)