Hello, I'm trying to perform proc mi with FCS logistic statement and the link=glogit option. When I try to run the code, I get the below error message associated with link=glogit. It seems to not recognize the link option. Maybe I'm making a coding error somewhere?
proc mi data= fpgc_for_mi nimpute=1 out=fpgc_mi ; class state_res_num state_tx_num; var state_res_num state_tx_num; fcs logistic(state_res_num=state_tx_num /link=glogit); run;
ERROR 22-322: Syntax error, expecting one of the following: ), CLASSEFFECT, CLASSEFFECTS, DESC, DESCENDING, DETAILS, K, ORDER,PCOV, PRIOR.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
I'm using SAS enterprise guide 7.15 and the server is version 9.4.
Hello @seanpmcclellan and welcome to the SAS Support Communities!
I don't think there's a coding error, but rather a too old version of SAS/STAT installed: The LINK= option was introduced in SAS/STAT 13.1 (corresponding to maintenance release SAS 9.4M1). You can write your SAS/STAT version and the maintenance release number to the log with PROC PRODUCT_STATUS:
proc product_status;
run;
Most likely you're on SAS/STAT 12.3, i.e., seven maintenance releases before the current SAS 9.4 release (9.4M7 with SAS/STAT 15.2).
So it's likely time for an upgrade: see Upgrading an Existing SAS 9.4 Deployment.
Hello @seanpmcclellan and welcome to the SAS Support Communities!
I don't think there's a coding error, but rather a too old version of SAS/STAT installed: The LINK= option was introduced in SAS/STAT 13.1 (corresponding to maintenance release SAS 9.4M1). You can write your SAS/STAT version and the maintenance release number to the log with PROC PRODUCT_STATUS:
proc product_status;
run;
Most likely you're on SAS/STAT 12.3, i.e., seven maintenance releases before the current SAS 9.4 release (9.4M7 with SAS/STAT 15.2).
So it's likely time for an upgrade: see Upgrading an Existing SAS 9.4 Deployment.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.