Slide 6.4 - 1 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.

Slides:



Advertisements
Similar presentations
Modeling of Data. Basic Bayes theorem Bayes theorem relates the conditional probabilities of two events A, and B: A might be a hypothesis and B might.
Advertisements

1 Functions and Applications
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Linear Equations in Two Variables
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Differentiation Techniques: The Power and Sum-Difference Rules OBJECTIVES.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 9- 1.
© 2010 Pearson Education, Inc. All rights reserved.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2008 Pearson Education, Inc
Slide 4- 1 Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Active Learning Lecture Slides For use with Classroom Response.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Chapter 4 Section 2 Copyright © 2011 Pearson Education, Inc.
Correlation and Linear Regression
Correlation and Linear Regression
Linear Regression and Correlation
Slide 2- 1 Copyright © 2012 Pearson Education, Inc. Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chapter 13 Statistics © 2008 Pearson Addison-Wesley. All rights reserved.
Slide 1-1 Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chapter 3 Section 2 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 12 Functions of Several Variables.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Limits.
2 Graphs and Functions © 2008 Pearson Addison-Wesley. All rights reserved Sections 2.4–2.5.
Slide R Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
© 2008 Pearson Addison-Wesley. All rights reserved Chapter 1 Section 13-6 Regression and Correlation.
Chapter 8 Section 2 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chapter 5 Section 4 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Linear Regression Least Squares Method: the Meaning of r 2.
Chapter 3 Section 5 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11.5 Lines and Curves in Space.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 4 Applications of the Derivative.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Functions.
Regression Regression relationship = trend + scatter
By completing the square, we can rewrite any polynomial ax 2 + bx + c in the form a(x – h) 2 + k. Once that has been done, the procedures discussed in.
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chapter 6 Section 3 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Slide 7- 1 Copyright © 2012 Pearson Education, Inc.
Copyright 2013, 2009, 2005, 2002 Pearson, Education, Inc.
Chapter 8 Section 6 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley P.3 Linear Equations and Inequalities.
Slide 2- 1 Copyright © 2012 Pearson Education, Inc. Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Slide R.1- 1 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Differentiation Techniques: The Power and Sum-Difference Rules OBJECTIVES.
Copyright © 2015, 2008, 2011 Pearson Education, Inc. Section 3.5, Slide 1 Chapter 3 Systems of Linear Equations.
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley A set of equations is called a system of equations. The solution.
Chapter 2 Section 1 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
1 Data Analysis Linear Regression Data Analysis Linear Regression Ernesto A. Diaz Department of Mathematics Redwood High School.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 8- 1.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chapter 6 Section 5 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
10-1 An Introduction to Systems A _______ is a set of sentences joined by the word ____ or by a ________________. Together these sentences describe a ______.
Copyright © 2015, 2008, 2011 Pearson Education, Inc. Section 3.6, Slide 1 Chapter 3 Systems of Linear Equations.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Describing the Relation between Two Variables 4.
Copyright © 2011 Pearson Education, Inc. Slide
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chapter 9 Section 1 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Copyright © Cengage Learning. All rights reserved. 8 9 Correlation and Regression.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 3 Polynomial and Rational Functions Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
Slide 4- 1 Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Copyright © 2010 Pearson Education, Inc. Publishing.
Copyright 2013, 2010, 2007, 2005, Pearson, Education, Inc.
13.9 Day 2 Least Squares Regression
Presentation transcript:

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

An Application: The Least Squares Technique OBJECTIVES  Find a regression line.  Solve applied problems involving regression lines. 6.4

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Suppose that a car rental company that offers hybrid vehicles charts its revenue as shown below. How best could we predict the company’s revenue for the year 2011? 6.4 An Application: The Least-Squares Technique Year, x Yearly Revenue, y (in millions of dollars) ?

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Suppose that we plot these points and try to draw a line through them that fits. Note that there are several ways in which this might be done. (See the graphs below.) Each would give a different estimate of the company’s total revenue for An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Note that the years given follow 5-yr increments. Thus, computations can be simplified if we use the data points (1, 5.2), (2, 8.9), (3, 11.7), and (4, 16.8), as in the second graph, where each horizontal line represents 5 years. To determine the equation of the line that “best” fits the data, we note that for each data point there will be a deviation, or error, between the y-value at that point and the y-value of the point on the line that is directly above or below the point. 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Those deviations, in this case, y 1 – 5.2, y 2 – 8.9, y 3 – 11.7, and y 4 – 16.8, will be positive or negative, depending on the location of the line. 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley We wish to fit these data points with a line, y = mx + b, that uses values of m and b that, somehow, minimize the deviations in order to have a good fit. One way of minimizing the deviations is based on the least-squares assumption. 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley The Least-Squares Assumption The line of best fit is the line for which the sum of the squares of the y-deviations is a minimum. This is called the regression line. 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Note that squaring each y-deviation gives us a sum of nonnegative terms. Were we to simply add the deviations, positive and negative deviations would cancel each other out. Using the least-squares assumption with the yearly revenue data, we want to minimize. 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Also, since the points (1, y 1 ), (2, y 2 ), (3, y 3 ), and (4, y 4 ) must be solutions of y = mx + b, it follows that Substituting these values for each y in the previous equation, we now have a function of two variables. 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Thus, to find the regression line for the given set of data, we must find the values of m and b that minimize the function S given by the sum above. To apply the D test, we first find and. 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley We set the derivatives equal to 0 and solve the resulting system: It can be shown that the solution to this system is b = 1.25, m = We leave it to the student to complete the D-test to verify that (1.25, 3.76) does, in fact, yield a minimum of S. 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley There is no need to compute S(1.25, 3.76). The values of m and b are all we need to determine y = mx + b. The regression line is y = 3.76x The graph of this “best-fit” regression line together with the data points is shown below. Compare it to the graphs before. 6.4 An Application: The Least-Squares Technique

Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Now, we can use the regression equation to predict the car rental company’s yearly revenue in y = 3.76(5) = or about $20.05 million. 6.4 An Application: The Least-Squares Technique