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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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