Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: control function with probit in first stage


From   "Schaffer, Mark E" <[email protected]>
To   <[email protected]>
Subject   st: RE: control function with probit in first stage
Date   Fri, 13 Apr 2007 09:22:23 +0100

Deepak,

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Deepak Hegde
> Sent: 13 April 2007 05:36
> To: [email protected]
> Subject: st: control function with probit in first stage 
> 
> Hi all,
> 
> I am trying to correct for a model with a potential 
> endogenous binary explanatory variable by using the control 
> function approach. 
>  
> Since my endogenous variable is binary, my first stage is a 
> probit, and the second stage is OLS (with the estimated 
> errors from the first-stage as one of the explanatory variables).
> 
> Can someone please point me to an easy way of implementing 
> this in Stata to get correct standard errors and estimates?  
> Code/Routines will be particularly helpful, but I'll also be 
> thankful for illustrations, etc. 

Why not use Stata's built-in -treatreg-?

--Mark

> Thanks a lot! 
> --- Deepak
>  
> PS: Apologies if this looks like a repeat posting.  My first 
> take in the morning doesn't seem to have made it. 
>  
> --
> Deepak Hegde
> University of California --- Berkeley
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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