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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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