Dear all,
I would like to implement a version of -heckman- with too many fixed effects than my computer can compute if I include them explicity. As I've seen, Stata 16 thankfully has a dedicated command -xtheckman- for this, but unfortunately I'm scheduled to get my Upgrade to Stata 16 only in 2-3 months, while I would like to obtain some estimates now.
In principle I suppose I should be able to either estimate first the 1st stage with xtprobit and then the second stage with xtreg manually, but I am not sure how exactly to code this while ensuring that the standard errors of my second stage will be correct.
Would anyone be able to translate
xtset crossecvar timevar
xtheckman y x1 x2 x3
into a correct "manual" implementation?
Thank you so much!
PM
Related Posts with Manual implementation of -xtheckman-
Deleting a file if file size exceeds a threshold sizeI want to delete a dta file if its size is less than x kilobytes. I use the code below. The dta file…
Using mi data in two-stage IPD-MAHi all, Does anyone have any experience using multiple imputation with a two-stage IPD-MA model? I…
Commandes pour mesurer la vulnérabilité à la pauvretéJe travaille actuellement sur le thème: vulnérabilité des ménages à pauvreté. Je dispose des données…
Omitted- predicts failure or successlogistic Out Exp var_n var_m var_k var_k var_n != 1 predicts success perfectly var_n dropped and 1 …
listfirstThanks as always to Kit Baum, a small utility listfirst has been posted on SSC. listfirst lists the…
Subscribe to:
Post Comments (Atom)
0 Response to Manual implementation of -xtheckman-
Post a Comment