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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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