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.

Slides:



Advertisements
Similar presentations
Copyright © 2010 Pearson Education, Inc. Slide A least squares regression line was fitted to the weights (in pounds) versus age (in months) of a.
Advertisements

 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!
4.1: Linearizing Data.
Copyright © 2011 Pearson Education, Inc. Curved Patterns Chapter 20.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 20 Curved Patterns.
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.
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.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 10 Re-expressing Data: Get it Straight!
Chapter 10 Re-expressing the data
Re-expressing the Data: Get It Straight!
+ Hw: pg 764: 21 – 26; pg 786: 33, 35 Chapter 12: More About Regression Section 12.2a Transforming to Achieve Linearity.
Lesson Nonlinear Regression: Transformations.
+ Hw: pg 788: 37, 39, 41, Chapter 12: More About Regression Section 12.2b Transforming using Logarithms.
Inference for regression - Simple linear regression
VCE Further Maths Least Square Regression using the calculator.
Transforming to achieve linearity
Transforming Relationships
Scatter plots and Regression Algebra II. Linear Regression  Linear regression is the relationship between two variables when the equation is linear.
Chapter 10: Re-Expressing Data: Get it Straight AP Statistics.
Wednesday, May 13, 2015 Report at 11:30 to Prairieview.
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.
DO NOW Read Pages 222 – 224 Read Pages 222 – 224 Stop before “Goals of Re-expression” Stop before “Goals of Re-expression” Answer the following questions:
Chapter 10 Re-expressing the data
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.
Bivariate Data Analysis Bivariate Data analysis 4.
Transforming Data.  P ,4  P ,7,9  Make a scatterplot of data  Note non-linear form  Think of a “common-sense” relationship.
Chapter 8 Linear Regression HOW CAN A MODEL BE CREATED WHICH REPRESENTS THE LINEAR RELATIONSHIP BETWEEN TWO QUANTITATIVE VARIABLES?
A. Write an equation in slope-intercept form that passes through (2,3) and is parallel to.
AP Statistics Section 4.1 A Transforming to Achieve Linearity.
Reexpressing Data. Re-express data – is that cheating? Not at all. Sometimes data that may look linear at first is actually not linear at all. Straight.
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!
A little VOCAB.  Causation is the "causal relationship between conduct and result". That is to say that causation provides a means of connecting conduct.
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!
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
 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.
WARM UP: Use the Reciprocal Model to predict the y for an x = 8
Let’s Get It Straight! Re-expressing Data Curvilinear Regression
Chapter 10: Re-Expression of Curved Relationships
Transforming Relationships
Re-expressing the Data: Get It Straight!
Active Learning Lecture Slides
Chapter 10 Re-Expressing data: Get it Straight
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!
Re-expressing Data:Get it Straight!
Transforming Relationships
Section 4.1 Exponential Modeling
Ch 4 : More on Two-Variable Data
Lecture 6 Re-expressing Data: It’s Easier Than You Think
Chapters Important Concepts and Terms
Re-expressing Data: Get it Straight!
Presentation transcript:

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 is nonlinear (which we can verify by examining the residual plot) we can try re-expressing the data. Then we can fit and use a simple linear model. To re-express the data, we perform some mathematical operation on the data values such as taking the reciprocal, taking the logarithm, or taking the square root.

For example, consider the relationship between the weight of cars and their fuel efficiency (miles per gallon).

What do the scatterplot and residual plots reveal? a curved pattern – therefore, linear model is not appropriate.

If we take the reciprocal of the y-values, we get the following scatterplot and residual plot.

What do these plots reveal? That the relationship between weight and gal/100 mi (reciprocal of mpg) is linear.

There are several reasons we may want to re- express our data: To make the distribution of a variable more symmetric. To make the spreads of several groups more alike. To make the form of a scatterplot more linear. To make the scatter in a scatterplot more evenly spread.

Re-expressing Data Using Logarithms An equation of the form y = a + bx is used to model linear data. The process of transforming nonlinear data into linear data is called linearization. In order to linearize certain types of data we use properties of logarithms.

PROPERTIES OF LOGARITHMS:

Case 1: Consider the following set of Linear Data representing an account balance as a function of time: Describe the pattern of change… balance increases by $480 per 48 months The relationship between x and y is linear if, for equal increments of x, we add a fixed increment to y.

Case 2: Consider the following set of Nonlinear Data representing an account balance as a function of time: Describe the pattern of change… balance increases by 61.22% or multiplied by The relationship between x and y is exponential if, for equal increments of x, we multiply a fixed increment by y. This increment is called the common ratio.

We want to find the best fitting model to represent our data. For the linear data, we use least-squares regression to find the best fitting line. For this nonlinear data, the best fitting model would be an exponential curve.

PROBLEM: We cannot use least-squares regression for the nonlinear data because least-squares regression depends upon correlation, which only measures the strength of linear relationships. SOLUTION: We transform the nonlinear data into linear data, and then use least- squares regression to determine the best fitting line for the transformed data. Finally, do a reverse transformation to turn the linear equation back into a nonlinear equation which will model our original nonlinear data.

Linearizing Exponential Functions: (We want to write an exponential function of the form as a function of the form ). (Hint: Take the log of both sides. ( x, y are variables and a, b are constants)

This is in the general form y = a + bx, which is linear. So, the graph of (var1, var2) is linear. This means the graph of (x, log y) is linear.

CONCLUSIONS: 1.If the graph of log y vs. x is linear, then the graph of y vs. x is exponential. 2.If the graph of y vs. x is exponential, then the graph of log y vs. x is linear. Once we have linearized our data, we can use least-squares regression on the transformed data to find the best fitting linear model.

PRACTICE: Linearize the data for Case 2 and find the least-squares regression line for the transformed data. (Hint: Put x in L1, y in L2, and log y in L3). Then do a LinReg L1, L3.) Then, do a reverse transformation to turn the linear equation back into an exponential equation. x (mos.) y ($)

Compare this to the equation the calculator gives when performing exponential regression on the Case 2 data. (Hint: Do an ExpReg (stat, calc, 0:ExpReg) L1, L2.)

Linearizing Power Functions: (We want to write a power function of the form as a function of the form ). (Hint: Take the log of both sides.) ( x, y are variables and a, b are constants)

This is in the general form y = a + bx, which is linear. So, the graph of (var1, var2) is linear. This means the graph of is linear.

Case 3: Consider the following set of Nonlinear Data representing the average length and weight at different ages for Atlantic Ocean rockfish: x: age (years) y: weight (grams) PRACTICE: Linearize the data for Case 3 and find the least-squares regression line for the transformed data. (Hint: Put x in L1, y in L2, log x in L3, and log y in L4. Then do a linReg L3, L4.)

Then, do a reverse transformation to turn the linear equation back into a power equation.

Compare this to the equation the calculator gives when performing power regression on the Case 3 data. (Hint: Do a PwrReg (Stat, Calc, A: PwrReg) L1, L2.)