Programming the statistical procedures from SAS

Need help with SAS codes, please

Reply
Occasional Contributor
Posts: 7

Need help with SAS codes, please

I am not experienced in SAS codes.  Any help that you could give would be much appreciated.  I want to use SAS to to a maximum likelihood estimation.  I have SAS codes that can do the estimation.  However, the problem is that I would like to do many runs of this estimation, with each run using a different set of initial values for the parameters.  I have about 100 sets of initial values that I would like to try,  But I don't know the SAS codes that can do this automatically.  My current codes can only do one run at a time.  I'd like to be able to do 100 runs in one go.  Is there a SAS code that will allow me to do this?  Thanks.

Grand Advisor
Posts: 16,893

Re: Need help with SAS codes, please

If you have working SAS code it's simpler.

See the link about

A macro program for repeating a procedure multiple times

in the following link to help you get started.

Statistical Computing Seminar: Introduction to SAS Macro Language

Occasional Contributor
Posts: 7

Re: Need help with SAS codes, please

Thank you very much.  I'll take a look at it.

Ask a Question
Discussion stats
  • 2 replies
  • 127 views
  • 0 likes
  • 2 in conversation