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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 1175 views
  • 0 likes
  • 2 in conversation