Statalist


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

st: -xi- and c(changed) [was: How to Export first-stage of IV (e.g. with ivreg2) to Latex (e.g. with outreg2) ?]


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: -xi- and c(changed) [was: How to Export first-stage of IV (e.g. with ivreg2) to Latex (e.g. with outreg2) ?]
Date   Tue, 18 Nov 2008 15:06:44 +0100

On the occasion of this thread: Is it not weird that -c(changed)- does not
reflect the fact that -xi- has created several new variables?

***************
use http://fmwww.bc.edu/ec-p/data/hayashi/griliches76.dta, replace
xi i.year
di c(changed)
drop smsa80
di c(changed)
***************


HTH
Martin


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Christoph Carl
Basten
Sent: Tuesday, November 18, 2008 10:54 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: How to Export first-stage of IV (e.g. with ivreg2) to Latex
(e.g. with outreg2) ?

Dear Statalist users,

does anyone know how to export also the first stage of an IV regression 
to Latex documents?

Specifically, I was using   "ivreg2, first" for my estimation,
and outreg2 to export the results,
but despite using ", first" as estimation option, outreg2 exported only 
the second stage.

Googling around the Forum led me to a way to store specific statistics 
of the first-stage as macro,
which I could then export with addstat,
but I haven't yet found a way to export the whole first-stage.

Many thanks,
C

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