Hi, I am having some trouble trying to run the %dist macro from the mayo clinic (http://www.mayo.edu/research/documents/distsas/doc-10027802). The macro creates global optimal matches on a propensity score. When I run the macro I get the following error message. I am running SAS 9.4 with windows 8, and don't know how or why this particular procedure would be missing since it is. Is there a way to include the optnet procedure or am I missing a certain plugin? thanks so much for any help!
ERROR: Procedure OPTNET not found.
MPRINT(VMATCH): proc optnet data_matrix=dist2;
MPRINT(VMATCH): linear_assignment id=(enrolid) weight=(_C1--_C132857) out=__outt;
MPRINT(VMATCH): run;
You need to make sure your site has SAS/OR licensed and installed.
License info:
proc setinit;run;
Installation info:
proc product_status;run;
Good luck,
Haikuo
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.