Dear statalist users,
I want to use -_diparm- in the context of an estimation using -ml-.
Having defined a program 'myll' that calculates my maximum likelihood
values, my do-file reads:
ml model lf myll (b: y_observ = x) /logse;
_diparm /logse, exp prob;
ml maximize;
However -_diparm- is answered with an error message, saying 'equation
[/logse] not found'.
I tried to specify -logse:_cons- instead of -/logse- but it was the same.
I wonder whether it is possible to use -_diparm- in a do-file as I did,
because it is a programmer's command.
Can anybody give me a hint about the right syntax and about where to place
the command?
Thanks a lot!
Thomas
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/