Download presentation
Published byMalcolm Goodwin Modified over 9 years ago
1
Section 12.2 Transforming to Achieve Linearity
2
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.
3
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 (π₯, π π¦ )
4
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:
5
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.
6
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:
7
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:
8
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.
9
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.
10
π¦=100(1.06 ) π₯
11
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.
12
When I take the ln(y)
13
Minitab output from transformed data
Linear eq: Predict the number of transistors in 2020.
14
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.
15
If I take the ln(y)
16
So I have to take the ln of both sides
17
Find the least-squares regression line
Eq: Predict the period of revolution for Eris (the βnew planetβ), which is AU from the sun and show your work.
18
Homework Pg. 787 (35, 37-39, 42, 45-48)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.