Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: adding names of instruments with esttab/estout


From   Mauricio Esteban Cuak <cuak2000@gmail.com>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index