I want to set a reference level to each categorical variable when running the SURVEYREG procedure. The online manual indeed mentions that using the REF= option can define a reference level in the CLASS statement:
The SURVEYREG Procedure - CLASS statement
Nonetheless, this option does not work in my program. The log window always shows syntax error:
I knew that there is another way to set up reference levels by using the FORMAT procedure, while I am just wondering why the REF= option does not work as described in the SAS online manual? Any help is very appreciated.
Here is the version information from Base SAS Software and SAS/STAT
For Base SAS Software ...
Custom version information: 9.4_M2
Image version information: 9.04.01M2P072314
For SAS/STAT ...
Custom version information: 13.2
I noticed that the online manual is from SAS/STAT 15.1 User's Guide. Does that mean the REF= option only support SAS/STAT 15.1?
Yes. I also just found that. Thank you very much. I will contact our IT department to see whether it can be upgraded.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.