BookmarkSubscribeRSS Feed
pwl
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 http://sas-or.com/book/?s=DEA  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.

 

4 REPLIES 4
PGStats
Opal | Level 21

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

PG
ballardw
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.

pwl
Calcite | Level 5 pwl
Calcite | Level 5

would you know what I must do for this?

ballardw
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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1950 views
  • 0 likes
  • 3 in conversation