BookmarkSubscribeRSS Feed
AJS1
Obsidian | Level 7

Clarification:

 

Does it make a difference if I use the default PROC MEANS statement or a CLASS and WAYS statement to get stats for an entire table (in other words, will both of these yield the same results)?

 

Proc means data=pg1.storm_final;

Var MaxWindMPH;

run;

 

vs.

 

Proc means data=pg1.storm_final;

Var MaxWindMPH;

CLASS BasinName StormType;

WAYS 0;

run;

1 REPLY 1
ballardw
Super User

I suggest that you try the code and compare the results. Especially with relatively simple code and data that is the best way to learn.

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!

LIBNAME 101

Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 878 views
  • 1 like
  • 2 in conversation