Hi Dear Statalist,
I'm using a control function with Heckman to correct for endogeneity and sample selection in my model:
Y is the dependent variable, X is the endogenous count data variable, Z the instrument, S the selection variable and R a vector of variable.
Here is the stata code:
glm X Z $R, family(poisson) link(log)
predict res, l
heckman Y X $R res , select(S= X $R res ) vce(r)
Now my question is how to test for weak identification in this estimation?
Any help will be greatly appreciate.
Best regards,
Jean-Louis
I'm using a control function with Heckman to correct for endogeneity and sample selection in my model:
Y is the dependent variable, X is the endogenous count data variable, Z the instrument, S the selection variable and R a vector of variable.
Here is the stata code:
glm X Z $R, family(poisson) link(log)
predict res, l
heckman Y X $R res , select(S= X $R res ) vce(r)
Now my question is how to test for weak identification in this estimation?
Any help will be greatly appreciate.
Best regards,
Jean-Louis
Comment