Homepage › Solution manuals › Yaser Abu-Mostafa › Learning from Data › Exercise 3.4
Exercise 3.4
Answers
- (a)
- We have ,
take this into the expression for in-sample estimate of
is ,
we have
- (b)
- The in-sample error vector is:
- (c)
-
- (d)
-
Here we used the independence of , and also we assume is not random variable, so we are not doing expectation w.r.t. , that’s how we can pull out of .
- (e)
- Since doesn’t
change, only
changes, we have
Following the procedure in problems (c) and (d), we have
Where we have used the fact that and are independent of each other and each and are independent among themselves.