BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
matt23
Quartz | Level 8

Is there a way for when I use this:

proc reg data=have;
model Y=X1 X2 X3 X4 X5/ selection=adjrsq cp aic sbc RMSE;
by hour;
run;

I only get the top, best model for example based on RMSE?

 

Now when I run this, It shows me all possible models from best to worst.

I would just like to get the top one

1 ACCEPTED SOLUTION

Accepted Solutions
1 REPLY 1
PeterClemmensen
Tourmaline | Level 20

Have a look at the BEST= option 

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1192 views
  • 0 likes
  • 2 in conversation