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-
Using atcontrasts in margins for a mixed effect modelHi everyone I am currently working on a project (using Stata 15) to analyse changes in kidney funct…
How to draw a correlation forest map with the admetan command?Dear Statalist, I have recently done a meta-analysis of the correlation coefficient, but I encounter…
Interactions, Inconsistent resutlsHi all,, I am getting inconsistent results and hope that someone can help me understand the source.…
GLM or Tobit Regression & Forecast for different distributions (incl. zero inflation)Dear Statalists, I'd very much like to hear your opinion on the following. What I’m trying to do: …
Unbalanced panel data analysisHi dear all i hope you all fine ...i am undergoing a problem in running analysis on the data ,the de…
Subscribe to:
Post Comments (Atom)
0 Response to Manual implementation of -xtheckman-
Post a Comment