Solution Found!
Consider the four data points (1, 1), (2, 2), (3, 1), (4, 3). a. Find the least squares
Chapter 4, Problem 10(choose chapter or problem)
Consider the four data points (1,1),(2,2),(3,1),(4,3).
a. Find the "least squares horizontal line" y = a fitting the data points. Check that the sum of the errors is 0.
b. Find the "least squares line" y = ax + b fitting the data points. Check that the sum of the errors is 0 .
c. (Calculator recommended) Find the "least squares parabola" \(y=a x^2+b x+c\) fitting the data points. What is true of the sum of the errors in this case?
Questions & Answers
QUESTION:
Consider the four data points (1,1),(2,2),(3,1),(4,3).
a. Find the "least squares horizontal line" y = a fitting the data points. Check that the sum of the errors is 0.
b. Find the "least squares line" y = ax + b fitting the data points. Check that the sum of the errors is 0 .
c. (Calculator recommended) Find the "least squares parabola" \(y=a x^2+b x+c\) fitting the data points. What is true of the sum of the errors in this case?
ANSWER:Step 1 of 9
a) To find the “least squares horizontal line” fitting the data point
We get the system of equations as,
Which in matrix form becomes,
We get,