Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: adding names of instruments with esttab/estout


From   Mauricio Esteban Cuak <[email protected]>
To   [email protected]
Subject   st: adding names of instruments with esttab/estout
Date   Thu, 16 May 2013 12:13:30 -0500

Hi,

esttab and estout are user-written commands found at
http://repec.org/bocode/e/estout/installation.html and can be
installed
with ssc install estout, replace

I wish to run some iv gmm regressions and then export the results to a csv file.
However, I haven't been able to add or append the list of instruments
to each column of values exported to csv (i.e. each regression run).
Formatting is not important, so the list of instruments can all be in
one cell at, say, the end of each column of coefficient results.


Is there a way to do this??

Consider:

*****************

qui ivregress gmm price mpg (headroom = weight length), first

eststo regr1


qui ivregress gmm price mpg (headroom = weight turn), first

eststo regr2


esttab using "iv_results.csv", replace mtitles($eststo)


******************

As always, thanks for your time!

ME
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index