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-
Exporting instrument test results from ivreg2Following is my ivreg2 code Code: asdoc ivreg2 pro l.le l.a (rec interaction= pay ca bor),nest re…
How to remove rows containing ratees not in the rater list in a team?I would like to remove the rows containing ratees not in the rater list. For example, in the dataset…
How to replace missing values for certain rows in STATAI'm wondering how to replace missing values in STATA for certain rows only (as noted above). I have…
How to calculate ICC1 and ICC2 with unbalanced data?Hi all, I have a problem with the -icc- command. It omits a large number of observations with unbala…
Days overlap in two date rangesThis may be a basic question, but is there a straightforward way to calculate the number of days tha…
Subscribe to:
Post Comments (Atom)
0 Response to Manual implementation of -xtheckman-
Post a Comment