Solved: 7071. Least squares approximation In its many

Chapter 12, Problem 71

(choose chapter or problem)

7071. 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 1x1, y12, 1x2, y22, c, 1xn, yn2. The data may be plotted as a scatterplot in the xy-plane, as shown in the figure. The technique known as linear regression asks the question: What is the equation of the line that best fits the data? The least squares criterion for best fit requires that the sum of the squares of the vertical distances between the line and the data points is a minimum. Generalize the procedure in Exercise 70 by assuming that n data points 1x1, y12, 1x2, y22, c, 1xn, yn2 are given. Write the function E1m, b2 (summation notation allows for a more compact calculation). Show that the coefficients of the best-fit line are m = 1gxk21gyk2 - ngxkyk 1gxk22 - ngxk 2 and b = 1 n 1gyk - mgxk2, where all sums run from k = 1 to k = n.

Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.

Becoming a subscriber
Or look for another answer

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back