Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Using _diparm


From   "Thomas Cornelissen" <[email protected]>
To   "Statalist" <[email protected]>
Subject   st: Using _diparm
Date   Sun, 16 Nov 2003 11:22:06 +0100

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index