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]

RE: st: Saving first stage IV results


From   "Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Saving first stage IV results
Date   Tue, 2 Mar 2010 22:07:07 -0000

Mafalda,

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of 
> Mafalda Sampaio
> Sent: 02 March 2010 22:01
> To: statalist@hsphsun2.harvard.edu
> 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?

If you change the argument of savefprefix, the second regression won't overwrite the results saved by the first one.

--Mark

> 
> -----Mensagem original-----
> De: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Em nome de 
> Christopher Baum
> Enviada: terça-feira, 2 de Março de 2010 19:23
> Para: statalist@hsphsun2.harvard.edu
> 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/
> 


-- 
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index