Hey, I think your answer for p2 ch7 is wrong.
(a) Since we are minimizing the area under the curve of g(x)^2, g(x) would be just 0.
(b) Since we are minimizing the area under the curve of g'(x)^2, g(x)' would be just 0 and g(x) = k, where k is some constant.
(c) Since we are minimizing the area under the curve of g''(x)^2, g(x)'' would be just 0 and g(x) = ax+b, which is a straight line passing through the points.
(d) g'''(x)= 0, so g(x) =ax^2+bx+c, which is a quadratic line passing through the points.
(e) the penalty term is dropped, so g(x) is a interpolant that goes through all the points to make RSS = 0.
Hey, I think your answer for p2 ch7 is wrong. (a) Since we are minimizing the area under the curve of g(x)^2, g(x) would be just 0. (b) Since we are minimizing the area under the curve of g'(x)^2, g(x)' would be just 0 and g(x) = k, where k is some constant. (c) Since we are minimizing the area under the curve of g''(x)^2, g(x)'' would be just 0 and g(x) = ax+b, which is a straight line passing through the points. (d) g'''(x)= 0, so g(x) =ax^2+bx+c, which is a quadratic line passing through the points. (e) the penalty term is dropped, so g(x) is a interpolant that goes through all the points to make RSS = 0.