Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/iii/paper-218/1/e/solution

For prediction at covariate value , the intercept contributes variance in every case because is centered. The one-copy ridge shrinkage is , while the duplicated-design total has . Thus
and
Since , duplication reduces ridge bias and increases variance.
For constrained Lasso, let and . Both designs have the identical fitted total , so both have
Duplicating the predictor has no effect on Lasso predictions, despite making the coefficient vector nonunique.

New to topics? Read the docs here!