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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

5 Steps to Your First Analytics Project Using SAS

For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.

Find more tutorials on the SAS Users YouTube channel.

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