BookmarkSubscribeRSS Feed
njoyce
Calcite | Level 5

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;

1 REPLY 1
Haikuo
Onyx | Level 15

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

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 687 views
  • 0 likes
  • 2 in conversation