Hi,
I wanted to estimate a random effects Heckman sample selection model in which I constrain the level 1 / within variance to zero using xtheckman. However, I have a hard time figuring out how to specify the constraint. I attempted using
cons def 1 _b[/:c_2_1] = 0 and
cons def 2 [/]c_2_1 = 0
but Stata returns an error saying that the constraint returned a code 111.
Does anyone know how to implement such constraint?
Best
Kristian
Related Posts with Constraining within covariance to zero in xtheckman
Shea’s partial R squaredHi, I am trying to check the relevance of instruments used in 2SLS regression. I use Shea’s partial…
Summarized Statistics Table with t-test for difference in meansDear Statalisters, I would like to get the following table for my summarized statistics. However, I…
Random coefficient logit (mixlogit)*and welfare calculationsHello everyone, I was wondering if anyone had elaborated stata code to calculate consumer surplus f…
Generate dummies from list of stringsDear STATAlisters, I have a string variable that tells me what insurances are accepted by individua…
Dividing Variable by its meanDear all, I have question regarding to my independent variable and interpretation of it. I have di…
Subscribe to:
Post Comments (Atom)
0 Response to Constraining within covariance to zero in xtheckman
Post a Comment