Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Returning list of independent variables used in ml model command


From   Rachel <[email protected]>
To   statalist <[email protected]>
Subject   st: Returning list of independent variables used in ml model command
Date   Wed, 18 Apr 2007 11:54:05 -0400

I'm using estsave to save my ml estimates as I go along.  Is there any
way to exctract a list of independent variables used in the equations
after using estsave to save and recall the results?

For example, suppose my ml commands are:

ml model d0 mylikelihood (eqn1: depvar=indepvar1 indepvar2) /constant
ml max
estsave, gen(es_results)

If I then exit stata and start up a new session, is there any way to
extract the list of independent variables (indepvar1 indepvar2) from
the results stored by estsave and printed out usig ml display?

Thank you,
Rachel
*
*   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