Transformations to Achieve Linearity

Slides:



Advertisements
Similar presentations
4.1: Linearizing Data.
Advertisements

Chapter 4 More About Relationships Between Two Variables 4.1 Transforming to Achieve Linearity 4.2 Relationship Between Categorical Variables 4.3 Establishing.
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.
S ECTION 4.1 – T RANSFORMING R ELATIONSHIPS Linear regression using the LSRL is not the only model for describing data. Some data are not best described.
IDENTIFY PATTERNS AND MAKE PREDICTIONS FROM SCATTER PLOTS.
Transformations. Transformation (re-expression) of a Variable A very useful transformation is the natural log transformation Transformation of a variable.
Lectures 4a,4b: Exponential & Logarithmic Functions 1.(4.1) Exponential & Logarithmic Functions in Biology 2.(4.2) Exponential & Logarithmic Functions:
8.7 Modeling with Exponential & Power Functions p. 509.
Lesson Nonlinear Regression: Transformations.
Section 12.2 Transforming to Achieve Linearity
Exponentials, logarithms and rescaling of data Math 151 Based upon previous notes by Scott Duke- Sylvester as an adjunct to the Lecture notes posted on.
9 - 1 Intrinsically Linear Regression Chapter Introduction In Chapter 7 we discussed some deviations from the assumptions of the regression model.
Chapter 12-2 Transforming Relationships Day 2
Transforming to achieve linearity
2. Condense: ½ ln4 + 2 (ln6-ln2)
Transforming Relationships
Bivariate Data When two variables are measured on a single experimental unit, the resulting data are called bivariate data. You can describe each variable.
Applications The General Linear Model. Transformations.
1 6.9 Exponential, Logarithmic & Logistic Models In this section, we will study the following topics: Classifying scatter plots Using the graphing calculator.
So far we have looked at a variety of linear models, but what happens when the best model is not linear?
Logarithmic Functions & Graphs, Lesson 3.2, page 388 Objective: To graph logarithmic functions, to convert between exponential and logarithmic equations,
Correlation & Regression – Non Linear Emphasis Section 3.3.
Transforming Relationships Chapter 4.1: Exponential Growth and Power Law Models Part A: Day 1: Exponential Growth.
Wednesday, May 13, 2015 Report at 11:30 to Prairieview.
Transformations. Transformations to Linearity Many non-linear curves can be put into a linear form by appropriate transformations of the either – the.
M25- Growth & Transformations 1  Department of ISM, University of Alabama, Lesson Objectives: Recognize exponential growth or decay. Use log(Y.
Regression Regression relationship = trend + scatter
Exponential Regression Section Starter The city of Concord was a small town of 10,000 people in Returning war veterans and the G.I.
Solving Logarithmic Equations TS: Making decisions after reflection and review. Obj: Be able to solve equations involving logarithms Warm-Up: Solve for.
Linear Regression Analysis Using MS Excel Tutorial for Assignment 2 Civ E 342.
Scatter Plots And Looking at scatter plots Or Bivariate Data.
YOU NEED TO KNOW WHAT THIS MEANS
 Chapter 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
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.
Transformations.
Exponential Functions. When do we use them? Exponential functions are best used for population, interest, growth/decay and other changes that involve.
Fall Looking Back In Chapters 7 & 8, we worked with LINEAR REGRESSION We learned how to: Create a scatterplot Describe a scatterplot Determine the.
Unit 4 Lesson 3 (5.3) Summarizing Bivariate Data 5.3: LSRL.
Daily Warm-UP Quiz 1.Expand: ln x -5 y 2 2x 2. Condense: ½ ln4 + 2 (ln6-ln2) 3. Use properties of logs to solve for x: a. log 81 = x log3 b. log x 8/64.
3.3 Logarithmic Functions and Their Graphs
Chapter Nonlinear models. Objectives O Classify scatterplots O Use scatterplots and a graphing utility to find models for data and choose the model.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
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.
REGRESSION MODELS OF BEST FIT Assess the fit of a function model for bivariate (2 variables) data by plotting and analyzing residuals.
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.
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.
Residual Plots EXPLORING BIVARIATE DATA. STUDY GUIDE 1. Read pages 57—64 of the Exploring Bivariate Data packet.
12.2 TRANSFORMING TO ACHIEVE LINEARITY To use transformations involving powers, roots, and logarithms to find a power or exponential model that describes.
Thursday, May 12, 2016 Report at 11:30 to Prairieview
7.7A Write Exponential Functions
Sections Review.
Section 3.2: Least Squares Regression
MATH 2311 Section 5.5.
Day 13 Agenda: DG minutes.
Ch. 12 More about regression
Describing Bivariate Relationships
Transformations.
Transformations.
Advanced Placement Statistics Section 4
Residuals and Residual Plots
Transformations to Achieve Linearity
Section 4.1 Exponential Modeling
MATH 2311 Section 5.5.
1Wednesday, May 10, Section 4.5 Linearization
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.
Section 5.5 Additional Popper 34: Choice A for #1 – 10
MATH 2311 Section 5.5.
Presentation transcript:

Transformations to Achieve Linearity Created by Mr. Hanson

Objectives Course Level Expectations CLE 3136.2.3 Explore bivariate data Check for Understanding (Formative/Summative Assessment) 3136.2.7 Identify trends in bivariate data; find functions that model the data and that transform the data so that they can be modeled.

Common Models for Curved Data Exponential Model y = a bx Power Model y = a xb The variable is in the exponent. The variable is the base and b is its power.

Linearizing Exponential Data Accomplished by taking ln(y) To illustrate, we can take the logarithm of both sides of the model. y = a bx ln(y) = ln (a bx) ln(y) = ln(a) + ln(bx) ln(y) = ln(a) + ln(b)x Need Help? Click here. A + BX This is a linear model because ln(a) and ln(b) are constants

Linearizing the Power Model Accomplished by taking the logarithm of both x and y. Again, we can take the logarithm of both sides of the model. y = a xb ln(y) = ln (a xb) ln(y) = ln(a) + ln(xb) ln(y) = ln(a) + b ln(x) Note that this time the logarithm remains attached to both y AND x. A + BX

Why Should We Linearize Data? Much of bivariate data analysis is built on linear models. By linearizing non-linear data, we can assess the fit of non-linear models using linear tactics. In other words, we don’t have to invent new procedures for non-linear data. HOORAY!!

Procedures for testing models Step 1 Inspect Data. If it is non-linear, you should test both exponential and power models. Step 2 Transform Data. Try exponential model first, since it requires taking only one logarithm. Step 3 Inspect Transformed Data. Pay close attention to residual plot and linear correlation coefficient. Step 4 Repeat with the other model.

Example: Starbucks Growth This table represents the number of Starbucks from 1984- 2004. Put the data in your calculator Year in L1 Stores in L2 Construct scatter plot. Forgotten how to make scatterplots? Click here.

Note that the data appear to be non-linear.

Forgotten how to determine the LSRL? Click here. Transformation time Transform the data Let L3 = ln (L1) Let L4 = ln (L2) Redraw scatterplot Determine new LSRL Forgotten how to determine the LSRL? Click here.

Original

Exponential (x, ln y)

Original

Power (ln x, ln y)

Remember: Inspect Residual Plots!! Exponential Power NOTE: Since both residual plots show curved patterns, neither model is completely appropriate, but both are improvements over the basic linear model. Forgotten how to make residual plots? Click here.

R-squared (A.K.A. Tiebreaker) If plots are similar, the decision should be based on the value of r-squared. Power has the highest value (r2 = .94), so it is the most appropriate model for this data (given your choices of models in this course). Forgotten how to find r-squared? Click here.

Writing equation for model Once a model has been chosen, the LSRL must be converted to the non-linear model. This is done using inverses. In practice, you would only need to convert the best fit model.

Conversion to Exponential LSRL for transformed data (x, ln y) ln y = -20.7 + .2707x eln y = e-20.7 + .2707x eln y = e-20.7 (e.2707x) y = e-20.7 (e.2707)x Transformed Linear Model: a + bx Exponential Model: a + bx

Transformed Linear Model: a + bx Conversion to Power LSRL for transformed data (ln x, ln y) ln y = -102.4 + 23.6 ln x eln y = e-102.4 + 23.6 ln x eln y = e-102.4 (e23.6 ln x) y = e-102.4 x23.6 Transformed Linear Model: a + bx Exponential Model: a + bx

View non-linear model with non-linear data

Need Help? Email me at hansonb@rcschools.net Assignment U.S. Population Handout Rubric for assignment Need Help? Email me at hansonb@rcschools.net