Code and Results for Chapter 3
-
Code that duplicates the numerical results from the text
- Duplicates the numerical results in Tables 3.1 and 3.2 from the book
- Duplicate figure 3.5 from the book (the all possible subsets model)
- Duplicate figure 3.7 and table 3.3: (linear methods with the prostate data set)
- Principal Component Regression and Partial Least Squares:
- Incremenal Forward Stagewise Regression (IFSR):
- Duplicates figure 3.8 from the book (the ridge regression coefficients)
-
Code for Exercises:
- Ex3.2.R (code to solve Exercise 3.2)
- prob_3_16.R (code used in Exercise 3.16)
- Problem 3.17 (linear methods applied to the SPAM data set)
John Weatherwax