Guest User

Untitled

a guest
Jan 20th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Algorithm 6.2 Forward stepwise selection
  2. 1. Let M0 denote the null model, which contains no predictors.
  3. 2. For k = 0, . . . , p − 1:
  4. (a) Consider all p − k models that augment the predictors in Mk
  5. with one additional predictor.
  6. (b) Choose the best among these p − k models, and call it Mk+1.
  7. Here best is defined as having smallest RSS or highest R2.
  8. 3. Select a single best model from among M0, . . . ,Mp using crossvalidated
  9. prediction error, Cp (AIC), BIC, or adjusted R2.
Add Comment
Please, Sign In to add comment