Dear all,
I am running PROC FREQ using COMMONRISKDIFF option but I got ERROR message. I made quick research and seems this option has been introduced with SAS 9.4 version M5, hence becasue I am using SAS9.4 version M4P that's the reason why it doesn't work.
Jast wanted confirmation about this.
Thanks.
Hello @alovatin,
The list of enhancements in SAS/STAT 14.3 (which corresponds to SAS 9.4M5) suggests that COMMONRISKDIFF was introduced in that release, as you supposed. Indeed, this option is contained in Table 42.9: TABLES Statement Options for version 14.3, but not in the analogous table 41.9 for version 14.2 (which corresponds to SAS 9.4M4).
The typical log message in this case (in SAS 9.4M4 or earlier) would be a syntax error (ERROR 22-322) with "COMMONRISKDIFF" underlined and a list of the available options ("expecting one of the following: ...") in your release, followed by an ERROR 202-322 saying that the option is "not recognized".
Hello,
I think COMMONRISKDIFF existed before SAS 9.4 M5
, but
COMMONRISKDIFF(CL=KLINGENBERG) and
COMMONRISKDIFF(PRINTWTS=SCORE)
exist since SAS/STAT 15.1.
To know about the SAS/STAT you are running, submit :
proc product_status; run;
and look in the LOG.
Koen
Hello @alovatin,
The list of enhancements in SAS/STAT 14.3 (which corresponds to SAS 9.4M5) suggests that COMMONRISKDIFF was introduced in that release, as you supposed. Indeed, this option is contained in Table 42.9: TABLES Statement Options for version 14.3, but not in the analogous table 41.9 for version 14.2 (which corresponds to SAS 9.4M4).
The typical log message in this case (in SAS 9.4M4 or earlier) would be a syntax error (ERROR 22-322) with "COMMONRISKDIFF" underlined and a list of the available options ("expecting one of the following: ...") in your release, followed by an ERROR 202-322 saying that the option is "not recognized".
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.