Programming the statistical procedures from SAS

Help: external cross validation with proc glmselect

Posts: 1

Help: external cross validation with proc glmselect

Hi everyone. I am trying to predict an outcome with several predictor variables (4-5), and some of them show a certain level of collinearity (up to an r correlation coefficient of 0.7) so I must apply a restricted regression technique. I am using elastic net because I understang it should have an advantage over lasso or ridge in this situation.

Well, with proc glmselect I am able to run an elastic net regression with external k fold cross validation as the model selection method


Now, I would like to graph predicted vs observed values (and then calculate slope and intercept for the predicted vs observed regression) for all the data used in the k fold steps, but I cannot obtain the parameters estimates for each k fold run.

The cvdetails option in the model statement indeed works for obtaining parameters estimates when running internal cross validation, but it does not for external cross validation. Any clue?


Thanks in advance,


Ask a Question
Discussion stats
  • 0 replies
  • 1 in conversation