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: RE: Getting e(b) from first-stage in ivregress or ivreg2


From   "Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Getting e(b) from first-stage in ivregress or ivreg2
Date   Fri, 13 Aug 2010 10:07:30 +0100

Benjamin,

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of 
> Benjamin Villena Roldan
> Sent: 13 August 2010 05:46
> To: Statalist
> Subject: st: Getting e(b) from first-stage in ivregress or ivreg2
> 
> 
> Hello,
> I'm estimating a large number of models using ivregress (or 
> ivreg2). I'd like to obtain a vector of coefficients from the 
> first stage as I obtain e(b) containing the coefficients from 
> the second stage. Do you know a procedure that works with 
> either ivregress or ivreg2?

ivreg2 has a -savefirst- option.  You can then access the first-stage
regressions with -estimates restore-.

Cheers,
Mark

>  
> Thanks 		 	   		  
> *
> *   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