
Least squares approximation In its many guises, the least squares approximation arises in numerous areas of mathematics and statistics. Suppose you collect data for two variables (for example, height and shoe Size) in the form of pairs (x1, y1), (x2, y2), …, (xn, yn). The data may be plotted as a
70. Let the equation of the best-fit line be y = mx + b, where the slope m and the y-intercept b must be determined using the least squares condition. First assume that there are three data points (1, 2), (3, 5), and (4, 6). Show that the function of m and b that gives the sum of the squares of the vertical distances between the line and the three data points is
E(m, b) = ((m + b) – 2)2 + ((3m + b) – 5)2 + ((4m + b) – 6)2.
Find the critical points of E and find the values of m and b that minimize E. Graph the three data points and the best-fit line.

Want to see the full answer?
Check out a sample textbook solution
Chapter 15 Solutions
CALCULUS:EARLY TRANSCENDENTALS-PACKAGE
Additional Math Textbook Solutions
College Algebra with Modeling & Visualization (5th Edition)
Elementary Statistics (13th Edition)
Pre-Algebra Student Edition
Elementary Statistics: Picturing the World (7th Edition)
Introductory Statistics
Basic Business Statistics, Student Value Edition
- Find the derivative of the function. k(x) = − 6(5x +4) -arrow_forwardFind all values of x for the given function where the tangent line is horizontal. 3 =√x³-12x² + 45x+5arrow_forwardFind the equation of the tangent line to the graph of the given function at the given value of x. 6 f(x) = x(x² - 4x+5)*; x=2arrow_forward
- Elementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage

