Presentation is loading. Please wait.

Presentation is loading. Please wait.

Section 12.2 Transforming to Achieve Linearity

Similar presentations


Presentation on theme: "Section 12.2 Transforming to Achieve Linearity"β€” Presentation transcript:

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)


Download ppt "Section 12.2 Transforming to Achieve Linearity"

Similar presentations


Ads by Google