proc freq data = sasHelp.class;
tables Sex*Age / list out = ___temp outCum;
run;
WARNING: The OUTCUM option is available only for one-way and LIST tables.
Should this warning say
WARNING: The OUTCUM option is available only for one-way tables.
or have I misunderstood the list option?
The output dataset does not have the cumulative variables, although the ODS output does. The same happens on colleagues' machines.
SAS 9.4 TS Level 1M6
X64_10PRO platform
Windows Version 1.0.19041
I'm running M7, and get the message you expect:
1 %put &sysvlong ; 9.04.01M7P080520 2 proc freq data = sasHelp.class; 3 tables Sex*Age / list out = ___temp outCum; 4 run; WARNING: The OUTCUM option is available only for one-way tables. NOTE: There were 19 observations read from the data set SASHELP.CLASS. NOTE: The data set WORK.___TEMP has 11 observations and 4 variables
I'm running M7, and get the message you expect:
1 %put &sysvlong ; 9.04.01M7P080520 2 proc freq data = sasHelp.class; 3 tables Sex*Age / list out = ___temp outCum; 4 run; WARNING: The OUTCUM option is available only for one-way tables. NOTE: There were 19 observations read from the data set SASHELP.CLASS. NOTE: The data set WORK.___TEMP has 11 observations and 4 variables
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.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.