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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 844 views
  • 1 like
  • 2 in conversation