BookmarkSubscribeRSS Feed
Calcite | Level 5 pwl
Calcite | Level 5

Hello. I do not have any experience in statistical programs and I want your help to run the DEA method on SAS.

On this site  I find the code that I want to run.


The only that I do on the code is to change the below codes and put where is my txts files and the number of inputs,outputs and units.

%let _InData=’C:\sasor\Data9_2_In.txt’;
%let _OutData=’C:\sasor\Data9_2_Out.txt’;

%let _nInput=2;
%let _nOutput=3;
%let _nUnits=10;


But the code is not give me the results. 

Should to change something else on the code?

pls give me your advance. Thank you.


Opal | Level 21

This question should be addressed to the Mathematical Optimization, Discrete-Event Simulation, and OR community.

Super User

My net nannies won't let me see that link so this is a guess. It is very likely that the in data set is expected to be a SAS data set already and the outdata is expecting a SAS dataset name as well not text files.

Calcite | Level 5 pwl
Calcite | Level 5

would you know what I must do for this?

Super User

Read the input text file into a SAS dataset.


Specify the desired name of the ouput data set in the output.


The output set could then exported to a text file or reports run on the output data.



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg



Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 4 replies
  • 3 in conversation