+ Hw: pg 764: 21 – 26; pg 786: 33, 35 Chapter 12: More About Regression Section 12.2a Transforming to Achieve Linearity.

Slides:



Advertisements
Similar presentations
Chapter 12: More About Regression
Advertisements

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.
CHAPTER 3 Describing Relationships
C HAPTER 3: E XAMINING R ELATIONSHIPS. S ECTION 3.3: L EAST -S QUARES R EGRESSION Correlation measures the strength and direction of the linear relationship.
Transforming to Achieve Linearity
Section 12.2 Transforming to Achieve Linearity
+ Hw: pg 788: 37, 39, 41, Chapter 12: More About Regression Section 12.2b Transforming using Logarithms.
More about Relationships Between Two Variables
CHAPTER 12 More About Regression
Transforming to achieve linearity
Chapter 4: More on Two-Variable (Bivariate) Data.
The Practice of Statistics
Transforming Relationships
+ Chapter 12 Section 2 Transforming to Achieve Linearity.
Least-Squares Regression Section 3.3. Why Create a Model? There are two reasons to create a mathematical model for a set of bivariate data. To predict.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
“Numbers are like people… torture them long enough and they’ll tell you anything...” Linear transformation.
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.
AP STATISTICS Section 3.2 Least Squares Regression.
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
SWBAT: Calculate and interpret the residual plot for a line of regression Do Now: Do heavier cars really use more gasoline? In the following data set,
 Chapter 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
AP Statistics Section 4.1 A Transforming to Achieve Linearity.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
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.
AP STATISTICS Section 4.1 Transforming to Achieve Linearity.
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.
Chapter 3: Describing Relationships
A little VOCAB.  Causation is the "causal relationship between conduct and result". That is to say that causation provides a means of connecting conduct.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
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.
1. Analyzing patterns in scatterplots 2. Correlation and linearity 3. Least-squares regression line 4. Residual plots, outliers, and influential points.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.2 Transforming.
12.2 TRANSFORMING TO ACHIEVE LINEARITY To use transformations involving powers, roots, and logarithms to find a power or exponential model that describes.
1, 10 ,12, 14, 16, 18, 20, 34, 36, 38, 40, 42, 44 Chapter 12: More About Regression Section 12.1 Inference for Linear Regression The Practice of Statistics,
CHAPTER 12 More About Regression
CHAPTER 3 Describing Relationships
Chapter 12.2A More About Regression—Transforming to Achieve Linearity
Chapter 12: More About Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Transforming Relationships
A little VOCAB.
Chapter 12: More About Regression
CHAPTER 12 More About Regression
Regression and Residual Plots
Module 12 Math 075.
Chapter 12: More About Regression
Transforming to Achieve Linearity
CHAPTER 12 More About Regression
Transforming Relationships
M248: Analyzing data Block D UNIT D2 Regression.
Chapter 12: More About Regression
Least-Squares Regression
CHAPTER 12 More About Regression
Chapter 12: More About Regression
4.1 Transformations.
Section 3.2: Least Squares Regressions
CHAPTER 12 More About Regression
Chapter 12: More About Regression
CHAPTER 12 More About Regression
Chapter 12: More About Regression
Chapter 12: More About Regression
Chapter 12: More About Regression
CHAPTER 12 More About Regression
Presentation transcript:

+ Hw: pg 764: 21 – 26; pg 786: 33, 35 Chapter 12: More About Regression Section 12.2a Transforming to Achieve Linearity

+ Section 12.2 Transforming Using Powers I can USE transformations involving powers and roots to achieve linearity for a relationship between two variables. I can MAKE predictions from a least-squares regression line involving transformed data. Target Goals

+ Transforming to Achieve Linearity Introduction In Chapter 3, we learned how to analyze relationships between two quantitative variables that showed a linear pattern. When two-variable data show a curved relationship, we must develop new techniques forfinding an appropriate model. This section describes several simple transformations of data that can straighten a nonlinear pattern. Once the data have been transformed to achieve linearity, we can use least-squares regression to generate a useful model for makingpredictions. And if the conditions for regression inference are met, we canestimate or test a claim about the slope of the population (true)regression line using the transformed data. Applying a function such as the logarithm or square root to a quantitative variable is called transforming the data. We will see in this section that understanding how simple functions work helps us choose and use transformations to straighten nonlinear patterns.

+

+

+ Transforming with Powers and Roots When you visit a pizza parlor, you order a pizza by its diameter—say, 10 inches, 12 inches, or 14 inches. But the amount you get to eatdepends on the area of the pizza. The area of a circle is π times the square of its radius r. So the area of a round pizza with diameter x is Transforming to Achieve Linearity This is a power model of the form y = ax p with a = π/4 and p = 2. Although a power model of the form y = ax p describes the relationship between x and y in this setting, there is a linear relationship between x p and y. If we transform the values of the explanatory variable x by raising them to the p power, and graph the points (x p, y), the scatterplot should have a linear form.

+ Example: Go Fish! Transforming to Achieve Linearity Imagine that you have been put in charge of organizing a fishing tournament in which prizes will be given for the heaviest Atlantic Ocean rockfish caught. You know that many of the fish caught during the tournament will be measured and released. You are also aware that using delicate scales to try to weigh a fish that is flopping around in a moving boat will probably not yield very accurate results. It would be much easier to measure the length of the fish while on the boat. What you need is a way to convert the length of the fish to its weight. Reference data on the length (in centimeters) and weight (in grams) for Atlantic Ocean rockfish of several sizes is plotted. Note the clear curved shape. Enter length and weight into L1 and L2. Graph a scatter plot. STATPLOT: “1 ST GRAPH”

+ Example: Go Fish! Transforming to Achieve Linearity Because length is one-dimensional and weight (like volume) is three-dimensional, a power model of the form weight = a (length) 3 should describe the relationship. This transformation of the explanatory variable helps us produce a graph that is quite linear. Enter length 3 and store into L3 Graph a scatter plot. STATPLOT:L3,L2

+ Example: Go Fish! Transforming to Achieve Linearity Another way to transform the data to achieve linearity is to take the cube root of the weight values and graph the cube root of weight versus length. Note that the resulting scatterplot also has a linear form. 1.We straighten out the curved pattern in the original scatterplot. 2.We fit a least-squares line to the transformed data. 3.This linear model can be used to predict values of the response variable. STATPLOT: L1, L4 ZOOM:STAT

+ Example: Go Fish! Transforming to Achieve Linearity Here is Minitab output from separate regression analyses of the two sets of transformed Atlantic Ocean rockfish data. (a) Give the equation of the least-squares regression line. Define any variables you use.

+ Example: Go Fish! Transforming to Achieve Linearity Here is Minitab output from separate regression analyses of the two sets of transformed Atlantic Ocean rockfish data. (b) Suppose a contestant in the fishing tournament catches an Atlantic ocean rockfish that’s 36 centimeters long. Use the model from part (a) to predict the fish’s weight. Show your work.

+ Example: Go Fish! Transforming to Achieve Linearity Here is Minitab output from separate regression analyses of the two sets of transformed Atlantic Ocean rockfish data. (c) Interpret the value of s in context. For transformation 1, the standard deviation of the residuals is s = grams. Predictions of fish weight using this model will be off by an average of about 19 grams. For transformation 2, s = that is, predictions of the cube root of fish weight using this model will be off by an average of about 0.12.

+ Graphing the LSRL Plot scatterplot for TRANSFORMED x, and y.STATPLOT:L3,L2 Graph the LSRLSTAT:CALC:LinReg(a+bx), ENTER; L3, L2, Store RegEQ:Y1 “VARS:Y-VARS:FUNCTION:Y1” CALCULATEZOOM:STAT

+ Making a Prediction Make a prediction using the calculator on the graph screen.

+ Transforming with Powers and Roots Transforming to Achieve Linearity When experience or theory suggests that the relationship between two variables is described by a power model of the form y = ax p, you now have two strategies for transforming the data to achieve linearity. 1.Raise the values of the explanatory variable x to the p power and plot the points 2.Take the p th root of the values of the response variable y and plot the points What if you have no idea what power to choose? You could guess and test until you find a transformation that works. Some technology comes with built-in sliders that allow you to dynamically adjust the power and watch the scatterplot change shape as you do.