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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1439 views
  • 0 likes
  • 2 in conversation