Nonlinear Regression Problem 4.14 Heart Weights of Mammals.

Slides:



Advertisements
Similar presentations
Section 10-3 Regression.
Advertisements

4.1: Linearizing Data.
Linear Regression t-Tests Cardiovascular fitness among skiers.
Chapter 10 Re-Expressing data: Get it Straight
Chapter 8 Linear Regression © 2010 Pearson Education 1.
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.
Click to Start Higher Maths Unit 3 Chapter 3 Logarithms Experiment & Theory.
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.
7.1 Draw Scatter Plots & Best-Fitting Lines 7.1 HW Quiz: Friday 7.1, 7.2 Quiz: TBA 7.1, 7.2, 7.7 Test: Sept. 22 Make-up work needs to be made up by Monday.
VCE Further Maths Least Square Regression using the calculator.
Transforming to achieve linearity
Introduction to MATLAB for Engineers, Third Edition Chapter 6 Model Building and Regression PowerPoint to accompany Copyright © The McGraw-Hill Companies,
Correlation Correlation measures the strength of the LINEAR relationship between 2 quantitative variables. Labeled as r Takes on the values -1 < r < 1.
Transforming Relationships
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.
So far we have looked at a variety of linear models, but what happens when the best model is not linear?
1 Chapter 10 Correlation and Regression 10.2 Correlation 10.3 Regression.
Correlation, linear regression 1. Scatterplot Relationship between two continouous variables 2.
10/18/2015 V. J. Motto 1 Chapter 1: Models V. J. Motto MAT 112 Short Course in Calculus Data Sets and the “STAT” Function.
Max temp v min temp. It can be seen from the scatterplot that there is a correlation between max temp and min temp. Generally, as min temp increases,
Figure: Graph of linear equation.. Figure: Computer printout of the hearing data.
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.
Topic 5: Logarithmic Regression
Exponential Regression Section Starter The city of Concord was a small town of 10,000 people in Returning war veterans and the G.I.
Functions. Evaluating Functions Graphing Functions.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Summarizing Bivariate Data Non-linear Regression Example.
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.
Draw Scatter Plots and Best-Fitting Lines Section 2.6.
Bivariate Data Analysis Bivariate Data analysis 4.
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.
2-7 Curve Fitting with Linear Models Warm Up Lesson Presentation
Section 2.6 – Draw Scatter Plots and Best Fitting Lines A scatterplot is a graph of a set of data pairs (x, y). If y tends to increase as x increases,
Warm-Up Write the equation of each line. A B (1,2) and (-3, 7)
Chapter 9: Correlation and Regression Analysis. Correlation Correlation is a numerical way to measure the strength and direction of a linear association.
Scatter Plots, Correlation and Linear Regression.
YOU NEED TO KNOW WHAT THIS MEANS
Correlation – Recap Correlation provides an estimate of how well change in ‘ x ’ causes change in ‘ y ’. The relationship has a magnitude (the r value)
A. Write an equation in slope-intercept form that passes through (2,3) and is parallel to.
AP Statistics HW: p. 165 #42, 44, 45 Obj: to understand the meaning of r 2 and to use residual plots Do Now: On your calculator select: 2 ND ; 0; DIAGNOSTIC.
Warm-up O Turn in HW – Ch 8 Worksheet O Complete the warm-up that you picked up by the door. (you have 10 minutes)
AP Statistics Section 4.1 A Transforming to Achieve Linearity.
Splash Screen.
Nonlinear modeling Problem 4.6 Gypsy moths. Since gypsy moths were introduced to North America, they have proliferated unchecked and resulted in deforestation.
Scatterplots and Linear Regressions Unit 8. Warm – up!! As you walk in, please pick up your calculator and begin working on your warm – up! 1. Look at.
Fall Looking Back In Chapters 7 & 8, we worked with LINEAR REGRESSION We learned how to: Create a scatterplot Describe a scatterplot Determine the.
Correlation and Median-Median Line Statistics Test: Oct. 20 (Wednesday)
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.
Scatter Plots & Lines of Best Fit To graph and interpret pts on a scatter plot To draw & write equations of best fit lines.
Copyright © 2009 Pearson Education, Inc. Chapter 8 Linear Regression.
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!
Over Lesson 3-4 5–Minute Check 1 Solve 9 x – 2 = 27 3x. A. B.–1 C. D.
Ch. 10 – Linear Regression (Day 2)
Splash Screen.
Section 3.2: Least Squares Regression
Bell Ringer Make a scatterplot for the following data.
Day 13 Agenda: DG minutes.
Ch. 12 More about regression
2-7 Curve Fitting with Linear Models Holt Algebra 2.
Tutorial 8 Table 3.10 on Page 76 shows the scores in the final examination F and the scores in two preliminary examinations P1 and P2 for 22 students in.
4.9 Modeling with Polynomial Functions
7.1 Draw Scatter Plots & Best-Fitting Lines
y = mx + b Linear Regression line of best fit REMEMBER:
Day 68 Agenda: 30 minute workday on Hypothesis Test --- you have 9 worksheets to use as practice Begin Ch 15 (last topic)
Scatterplots Regression, Residuals.
Presentation transcript:

Nonlinear Regression Problem 4.14 Heart Weights of Mammals

Consider the following heart weights in a variety of mammals:

This plot on ordinary graph paper shows that much of the data is compressed and hard to see. The same is true for the scatterplot seen on the calculator. We can try a plot using the semilog paper.

This semilog plot is much better, but we still have a curved plot. Plotting the log y by x on the calculator gives a similar result. We can try loglog paper. This paper has a logarithmic scale for both the x and y axes.

This loglog paper allows for a wide spread of values in both the x and y dimensions.

Now showing scales for both x and y. Next we will plot the points on this log y by log x graph.

This plot is linear, or very nearly so, and we can now apply our knowledge of linear regression. Comparing this to our work on the graphing calculator, yields this scatterplot of log y by log x.

This loglog plot looks reasonable with a line to fit the data.

On my calculator, I have this arrangement of data lists: L1 is ventricle length L2 is heart weight L3 is log (ventricle length) L4 is log (heart weight) Now perform linear regression of L3 on L4 and save to Y 1. We now check the residual plot. Enter the residuals in L5 using the list RESID.

Just a reminder on calculating the residuals, with the cursor on the header for L5, press, scroll under NAMES to RESID and select, then press. Now make a scatterplot of the residuals by log (ventricle length).

The scatterplot is patternless, thus confirming our use of linear regression. This also confirms our model using log x and log y. When we write our equation we must remember to write log x for x and log y for y. Recalling the regression screen: We write the equation: Note the large correlation coefficient, as well. This says that our linear relationship is very strong.

Mathematically, we tend to avoid leaving an equation in this form and convert it to an equivalent expression without the logs. When we write the equation in the final form, it suggests more readily that this is a power function. or

To check this against the original data we recreate the original scatterplot and store the final equation in Y 2. (For those interested in short cuts, the values a and b from the linear regression equation are stored in the VARS Statistics EQ register. Press then or.) So you may enter the equation in Y 2, as shown, or just type it in using the numbers instead of a and b: This looks like a very good model for the data. It also fits our knowledge of mass being third order while length is first order.