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]

RE: st: Saving first stage IV results


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   RE: st: Saving first stage IV results
Date   Tue, 2 Mar 2010 23:17:06 +0100

<>

Aren`t your two first stages exactly the same?


***
use http://fmwww.bc.edu/ec-p/data/hayashi/griliches76, clear
xi i.year
ivreg2 lw s expr tenure rns smsa _I* (iq=med kww age mrt), savefirst
savefp(first)
ivreg2 lw80 s expr tenure rns smsa _I* (iq=med kww age mrt), savefirst
savefp(second)
esttab firstiq secondiq
***


HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mafalda Sampaio
Sent: Dienstag, 2. März 2010 23:01
To: [email protected]
Subject: RE: st: Saving first stage IV results

Thanks. The problem is that it only saves the first stage estimates of the
last ivreg estimation. If I do, for example, two estimates:

Ivreg y1 x1 (x2 = x3), savefprefix(first)
Ivreg y2 x1 (x2 = x3), savefprefix(first)

Estout first only list the last ones.. 

Any way to construct a table where each column is the first stage of each of
the ivreg I perform?

-----Mensagem original-----
De: [email protected]
[mailto:[email protected]] Em nome de Christopher Baum
Enviada: terça-feira, 2 de Março de 2010 19:23
Para: [email protected]
Assunto: re: st: Saving first stage IV results

<>
Is there a way of saving into a .csv file the first stage of a set of IV
regressions (for many dependent variables), either:

- In a separate table than the second stage?

OR

- In such a way that for each dependent variable there are two columns, one
for the 1st stage and other for the 2nd?


-ivreg2- on SSC can save the FSRs as sets of estimates, which can then be
combined with the 2SLS estimates using, e.g., -estout- from SSC.

Kit Baum   |   Boston College Economics and DIW Berlin   |
http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming   |
http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata   |
http://www.stata-press.com/books/imeus.html


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.435 / Virus Database: 271.1.1/2715 - Release Date: 03/01/10
19:34:00


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


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


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