BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
kunee26
Calcite | Level 5

In proc reg command,

 

When we use 'selection=' option to select the best regression model based on various criteria  (e.g. aic, cp, bic, rsquare and etc..) 

 

How does SAS come up with a single best model when it needs to consider the criteria all together simultaneously?

 

I'm curious about this because I think different criteria may rank a model differently.

 

c.f)

proc reg data = /name of data/;

model Y = X1 -- Xn / selection = adjrsq mse aic bic cp  best = 1;

run;quit;

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

The selection of the model is based upon SELECTION=ADJRSQ, so the model with highest ADJRSQ is selected. It is not based upon aic bic cp etc. but those statistics are reported.

--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26

The selection of the model is based upon SELECTION=ADJRSQ, so the model with highest ADJRSQ is selected. It is not based upon aic bic cp etc. but those statistics are reported.

--
Paige Miller
kunee26
Calcite | Level 5

I've been searching around for this so long!

 

I feel like I've finally found oasis!

 

Thank you very much!