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

From |
"Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: RE: RE: How to Export first-stage of IV (e.g. with ivreg2) to Latex (e.g. with outreg2) ? |

Date |
Tue, 18 Nov 2008 16:10:41 -0000 |

Martin, Christoph, > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of > Martin Weiss > Sent: Tuesday, November 18, 2008 3:53 PM > To: statalist@hsphsun2.harvard.edu > Subject: st: RE: RE: How to Export first-stage of IV (e.g. > with ivreg2) to Latex (e.g. with outreg2) ? > > Line for the server... > > Well, at least it is not completely straightforward nor automatic... In Martin's example, I think it's simply a case of inserting a line: > ********* > use http://fmwww.bc.edu/ec-p/data/hayashi/griliches76.dta > xi i.year > cap erase myfile.txt > ivreg2 lw s expr tenure rns smsa _I* (iq=med kww age mrt) > outreg2 using myfile > seeout using myfile.txt > erase myfile.txt > ivreg2 lw s expr tenure rns smsa _I* (iq=med kww age mrt), savefirst est restore _ivreg2_iq > outreg2 using myfile > seeout using myfile.txt > ********* Does that do what you want? Cheers, Mark > > HTH > Martin > > > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of > Schaffer, Mark E > Sent: Tuesday, November 18, 2008 4:36 PM > To: statalist@hsphsun2.harvard.edu > Subject: st: RE: How to Export first-stage of IV (e.g. with > ivreg2) to Latex > (e.g. with outreg2) ? > > Christoph, > > > -----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 9: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? > > Will the -savefirst- option of -ivreg2- do what you need? > > --Mark > > > > > 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/ > > > > > -- > 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/ > > * > * 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/

**References**:**st: How to Export first-stage of IV (e.g. with ivreg2) to Latex (e.g. with outreg2) ?***From:*Christoph Carl Basten <cc.basten@googlemail.com>

**st: RE: How to Export first-stage of IV (e.g. with ivreg2) to Latex (e.g. with outreg2) ?***From:*"Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk>

**st: RE: RE: How to Export first-stage of IV (e.g. with ivreg2) to Latex (e.g. with outreg2) ?***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**st: GLAMM and nested logit/probit** - Next by Date:
**st: Loop over variables with svyset** - Previous by thread:
**st: RE: RE: How to Export first-stage of IV (e.g. with ivreg2) to Latex (e.g. with outreg2) ?** - Next by thread:
**st: more questions about changing the distribution** - Index(es):

© Copyright 1996–2021 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |