[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: -heckman- and -ivreg- AT THE SAME TIME
If I understand your problem correctly and you are willing to use the
Heckman Two-Step procedure (instead of ML), you could split the
Heckman into the individual steps, and manually compute the inverse
The first step is the selection model, from which you can compute the
inverse Mills, and include that in your IV regression. Code follows:
probit WorkedFullTime XVector
predict Z, xb
gen InvMills = normden(Z) / norm(Z)
ivreg2 HoursWorked XVector InvMills
On 10/31/05, Tinna <firstname.lastname@example.org> wrote:
> Dear statalisters,
> I need to control for selection in the model I am estimating (e.g.
> -heckman-), but I also suspect endogeneity (-ivreg2-). (see further in
> P.S. if needed)
> Is there a command that allows me to do both at the same time?
> Any suggestions or thoughts are appreciated.
> P.S. Basically I am estimating an hours worked equation, where I only
> have hours worked for those who's main activity is working (as opposed
> to being a student, disabled, retired, homemaker...). It is the
> coefficient of interest in this equation that is likely to be biased
> if not instrumented.
> * 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: