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
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.