View Full Version : Reading Required SAS Output


statsboi
05-03-2009, 09:58 PM
Hi SAS expert,

I run 100 Proc Logistic procedures and obtained 100 of similar outputs from SAS (see attached - one of the outputs). But I am only interested in particular portion of the outputs and I would like to extact the required information. It is "Analysis of Maximum Likelihood Estimates", under this analysis. I just want the parameter 'Status' and its Pr > Chisq which is '0.9519'
Is there any easy way to instruct SAS to pull out these two pieces of information (the parameter and the p-value) from the outputs given there are 100 outputs from proc logistic procedure?

Appreciated any helps

J

Bala
05-06-2009, 11:49 PM
Hi...

You can use Ods output statement and store the Analysis of Maximum Likelihood Estimates alone as a data set. Then you can write commands to retain only those which has Chisquare > 0.9519........

You can use simple macros to work it out...Sure itwon take much time....:yup:

Any other SAS experts may help you if some advanced ideas are there....