Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: correct errors for the Heckman two-step method

From   "Robinson, Adina Barbulescu" <>
To   "" <>
Subject   st: correct errors for the Heckman two-step method
Date   Tue, 30 Oct 2012 20:58:31 +0000


I currently control for selection bias with the Heckman two-step method. In the first step, I estimate the selection model (xtprobit) and obtain the inverse mills ratio. In the second step (and with a different file), I estimate the main model (xtreg) to which I add the inverse mills ratio obtained from the first step. For various reasons I cannot combine the two files (selection file and main model file) and use the heckman command. As a result, the standard errors I obtain are not the correct ones. Stata produces the correct standard errors following the heckman command, but I don't think this is the case here. 

Does anyone know how I can estimate the correct errors following the Heckman two-step method when the selection and the main model are in two datasets that cannot be combined? 
Many thanks!


*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index