Question: Consider the following N data points (N=10): X = [ 1.3 , 1.6 , 1.3 , 0 . 2 , 2 . 2 , 1.1

Consider the following N data points (N=10): X = [ 1.3 , 1.6 , 1.3 , 0 . 2 , 2 . 2 , 1.1 , 0 . 0 , 0 . 3 , 0.9 , 1.8] r = [ 6 . 9 , 7 . 7 , 8 . 0 , 5 . 8 , 1 . 9 , 7 . 8 , 5 . 8 , 8 . 5 , 8 . 2 , 9 . 6 ] Note that these data points are ordered, so that (X1,r1) = (1.3,6.9) and (X10,r10) = (1.8,9.6). For the above data points, fit a linear regression model, f(x) = w0 +w1x, by estimating the values of w0 and w1, so that ri = f(Xi) +i . Hint: w0 = rw1X, w1 = N i=1 Xiri XrN N i=1 (Xi) 2 N(X) 2 where r = 1 N N i=1 ri , X = 1 N N i=1 Xi

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!