Question: (Q2) (8 points) Consider the same data as in the previous question: :1? 1 2 2 4 4 y 3 2 1 1 0 We

(Q2) (8 points) Consider the same data as in the
(Q2) (8 points) Consider the same data as in the previous question: :1? 1 2 2 4 4 y 3 2 1 1 0 We now seek to t the data with a function of the form y : g | . (a) Write down the linear system Az % b that we need to nd an approximate solution in order to nd the regression line y : 5+5. Give the matrix A and the vectors Z and b (b) Find the besttting function y : f + 3 for this data using the method of normal equations learned in class. (c) Find b, the closest vector to b such that AZ 2 b has a solution, and calculate ||b b||. (d) Based on your answers to questions 1 and 2, which of the two functions better represents the data set? Justify your choice

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!