Econ 425T Homework 2
Due Feb 3, 2023 @ 11:59PM
1 Least squares is MLE (10pts)
Show that in the case of linear model with Gaussian errors, maximum likelihood and least squares are the same thing, and
2 ISL Exercise 6.6.1 (10pts)
3 ISL Exercise 6.6.3 (10pts)
4 ISL Exercise 6.6.4 (10pts)
5 ISL Exercise 6.6.5 (10pts)
6 ISL Exercise 6.6.11 (30pts)
You must follow the typical machine learning paradigm to compare at least 3 methods: least squares, lasso, and ridge. Report final results as
Method | CV RMSE | Test RMSE | |
---|---|---|---|
LS | |||
Ridge | |||
Lasso | |||
… |
7 ISL Exercise 5.4.2 (10pts)
8 ISL Exercise 5.4.9 (20pts)
9 Bonus question (20pts)
Consider a linear regression, fit by least squares to a set of training data