Chapter Four: More on Two- Variable Data 4.1: Transforming to Achieve Linearity 4.2: Relationships between Categorical Variables 4.3: Establishing Causation.

Slides:



Advertisements
Similar presentations
Chapter 4 Review: More About Relationship Between Two Variables
Advertisements

4.1: Linearizing Data.
Chapter 4 More About Relationships Between Two Variables 4.1 Transforming to Achieve Linearity 4.2 Relationship Between Categorical Variables 4.3 Establishing.
Chapter 10 Re-Expressing data: Get it Straight
LSRLs: Interpreting r vs. r2
Exponential Functions, Growth, and Decay (2 Questions) Tell whether each function represents growth or decay, then graph by using a table of values: 1.
2nd Day: Bear Example Length (in) Weight (lb)
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
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.
Copyright © 2009 Pearson Education, Inc. CHAPTER 5: Exponential and Logarithmic Functions 5.1 Inverse Functions 5.2 Exponential Functions and Graphs 5.3.
Regression, Residuals, and Coefficient of Determination Section 3.2.
Lesson Nonlinear Regression: Transformations.
+ Hw: pg 788: 37, 39, 41, Chapter 12: More About Regression Section 12.2b Transforming using Logarithms.
Transformations to Achieve Linearity
More about Relationships Between Two Variables
CHAPTER 12 More About Regression
Residuals and Residual Plots Most likely a linear regression will not fit the data perfectly. The residual (e) for each data point is the ________________________.
Transforming to achieve linearity
Chapter 4: More on Two-Variable (Bivariate) Data.
Correlation with a Non - Linear Emphasis Day 2.  Correlation measures the strength of the linear association between 2 quantitative variables.  Before.
The Practice of Statistics Third Edition Chapter 4: More about Relationships between Two Variables Copyright © 2008 by W. H. Freeman & Company Daniel S.
Copyright © Cengage Learning. All rights reserved. Logarithmic Function Modeling SECTION 6.5.
Bivariate Data When two variables are measured on a single experimental unit, the resulting data are called bivariate data. You can describe each variable.
Copyright © 2010 Pearson Education, Inc. All rights reserved Sec
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
Chapter 3 Section 3.1 Examining Relationships. Continue to ask the preliminary questions familiar from Chapter 1 and 2 What individuals do the data describe?
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.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
M25- Growth & Transformations 1  Department of ISM, University of Alabama, Lesson Objectives: Recognize exponential growth or decay. Use log(Y.
Exponential Regression Section Starter The city of Concord was a small town of 10,000 people in Returning war veterans and the G.I.
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.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
Transforming Data.  P ,4  P ,7,9  Make a scatterplot of data  Note non-linear form  Think of a “common-sense” relationship.
Transformations.  Although linear regression might produce a ‘good’ fit (high r value) to a set of data, the data set may still be non-linear. To remove.
 Chapter 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
AP Statistics Section 4.1 A Transforming to Achieve Linearity.
Residual Plots Unit #8 - Statistics.
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
LSRLs: Interpreting r vs. r 2 r – “the correlation coefficient” tells you the strength and direction between two variables (x and y, for example, height.
Exponential Functions. When do we use them? Exponential functions are best used for population, interest, growth/decay and other changes that involve.
4.1 Warm Up Describe a monotonic function. Enter the given data in L1 and L2 Create a scatter plot for the data. Determine if a linear model is a good.
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.
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.
12.2 TRANSFORMING TO ACHIEVE LINEARITY To use transformations involving powers, roots, and logarithms to find a power or exponential model that describes.
TRANSFORMING RELATIONSHIPS
CHAPTER 5: Exponential and Logarithmic Functions
Sections Review.
Statistics 101 Chapter 3 Section 3.
A little VOCAB.
Chapter 10 Re-Expressing data: Get it Straight
Suppose the maximum number of hours of study among students in your sample is 6. If you used the equation to predict the test score of a student who studied.
Ch. 12 More about regression
EQ: How can we use linear models for non linear data?
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Advanced Placement Statistics Section 4
Analyzing Functions, Curve Fitting (9-9)
Transformations to Achieve Linearity
Inverse, Exponential and Logarithmic Functions
Section 4.1 Exponential Modeling
Ch 4 : More on Two-Variable Data
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.
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.
Transforming Relationships
Chapters Important Concepts and Terms
Scatterplots Regression, Residuals.
Presentation transcript:

Chapter Four: More on Two- Variable Data 4.1: Transforming to Achieve Linearity 4.2: Relationships between Categorical Variables 4.3: Establishing Causation

4.1: Transforming to Achieve Linearity Two specific types of nonlinear growth: An exponential function has the form y = ab x. A power function follows the form y = ax b. To test if data follows linear or nonlinear growth, check the difference between consecutive y-values: There is linear growth if a fixed amount is added to y for each increase in x. The data is exponential if the common ratio, found using y n /y n-1, is equal between consecutive y-values. If the common ratio > 1, exponential growth is occurring, and if the common ratio < 1, exponential decay is occurring. Both exponential and power function equations use essentially the same format: Transform into linear forms, use the linear regression to find the LSRL, and take an inverse transformation to get a curve modeling the original data.

Exponential Functions Once you know that the data represents an exponential function, plug the data into your calculator. Create a separate list for log(y) and use that information to derive the LSRL: log ŷ = a + bx To determine the linearity, check the correlation and residual plot. The residual plot is the graph of x vs RESID. A pattern would indicate that a linear relationship is not the best model for the association of the variables. Raise 10 to both sides of the equation (ie, take the inverse of log), and simplify: 10 log ŷ = 10 a+bx ŷ = (10 a )(10 bx ) This gives you the exponential form to fit the original data. Graph the original scatterplot, and overlay with this equation as y = 10^(RegEQ)

Example Electronic Funds Transfer (EFT) machines first appeared in the 1980s, and their use increased drastically in the years following. Look at the table on the following slide, and determine if the transactions grew exponentially. Then obtain the LSRL equation, and from that obtain the equation for the model.

Table YearNumber of transactions (millions) 19853, , , , , , , ,830

Steps 1—Graph initial data (x vs. y) 2—Test for exponential growth (y n /y n-1 ) 3—Perform linear regression on initial data 4—Look at residual plot of initial data and consider r and r 2 5—Transform y to log y 6—Graph transformed data (x vs. log y) 7—Perform linear regression on transformed data 8—Look at residual plot, r, and r 2 9—Perform inverse transformation of linear equation to arrive at exponential model 10—Graph initial data with exponential model

Results log ŷ = x where ŷ is the predicted number of transactions in millions and x is the year since 1900 r 2 =.9979, r =.9990 This tells us that our linear model above is a good fit for the transformed date and that our exponential model will be a good fit for the initial data. In particular, we can see that 99.79% of the variation in the log of transactions in millions can be explained by the linear relationship with the year. ŷ = ( )( x )

Power Functions Begin with the form y = ax b. Take the logarithm of both sides to obtain log y = (log ax b ), and simplify: log ŷ = log a + (b log x) This is a form of a linear equation, so the least-squares regression can be derived from it, with log x as the horizontal variable and log y as the vertical variable. Further simplify the equation to obtain: log ŷ = log a + log x b To return to the original form, perform inverse transformation by raising 10 to each side of the equation, and simplify: 10 log ŷ = 10 log a + log x b ŷ = (10 log a )(10 log x b ) = (10 log a )(10 log x ) b = (10 log a )(x b ) = ax b

Example Using the following table for Olympic weightlifting records, determine if the data shows exponential growth or power regression, and determine the correlation of the LSRL. Then plot the residuals and transformed points, and find a new equation of best fit for the original scatterplot.

Table Weight Class LimitRecord Weight Lifted