1
answer
0
watching
73
views
10 Nov 2019
![](https://prealliance-textbook-qa.oneclass.com/qa_images/homework_help/question/qa_images/23/2357390.png)
I have a hard time understanding the solution. Can anyone provide a step solution based on the solution provided? Lots of Thanks!!!
By least squares, find the equation of the form y = ax + b that best fits the data {b = 1 a + b = 1 3a + b = 2} [x_1 y_1 x_2 y_2 x_3 y_3] = [0 1 1 1 3 2] [0 1 1 1 3 1] [a b] = [1 1 2] but can't solve. Replace Ax = b by A^Tax = A^T b: [0 1 3 1 1 1][0 1 1 1 3 1][a b] = [0 1 3 1 1 1][1 1 2] [10 4 4 3][a b] = [7 4] [a b] = [3 -4 -4 10] [7 4] = [5 12]
By least squares, find the equation of the form y = ax + b that best fits the data {b = 1 a + b = 1 3a + b = 2} [x_1 y_1 x_2 y_2 x_3 y_3] = [0 1 1 1 3 2] [0 1 1 1 3 1] [a b] = [1 1 2] but can't solve. Replace Ax = b by A^Tax = A^T b: [0 1 3 1 1 1][0 1 1 1 3 1][a b] = [0 1 3 1 1 1][1 1 2] [10 4 4 3][a b] = [7 4] [a b] = [3 -4 -4 10] [7 4] = [5 12]
Jarrod RobelLv2
5 May 2019