Maybe this helps:
=============
. sysuse auto, clear
(1978 Automobile Data)
. qui reg price mpg rep78 headroom trunk
. di "`: colnames e(b)'"
mpg rep78 headroom trunk _cons
=============
By the way, you could also (mis)use -estout-:
=============
. qui heckman price mpg rep78, select(foreign= mpg rep78 trunk) two
. estout, cell(_) keep(price:) collabels(,none) mlabels(,none)
price
mpg
rep78
_cons
. estout, cell(_) keep(foreign:) collabels(,none) mlabels(,none)
foreign
mpg
rep78
trunk
_cons
=============
Add -drop(_cons)- if you do not want to see the _cons.
ben
On 6/14/07, Rachel <[email protected]> wrote:
I executed an ML command and stored the results using -estsave-.
Calling -estsave, from()- and -ml display- displays the entire set of
results with the names of the covariates within the table. However,
I'd like to extract or display the list of covariates (RHS variables)
in each equation in *list* form. Is this possible?
Thanks,
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/
*
* 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/