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
Create an indicator of participation in long formatDear Statalisters, I have a dataset in long format, measuring spirometry data on three occasions. I…
Help Translating Factor Analysis Script from SPSS to Stata SyntaxHi all, I have been tasked with applying a factor analysis to a large data set in Stata. The purpos…
Looping of a specific type of a variable listHey Stata users! I am trying to loop over a list of integer variables to replace missing values. I …
Data AnalysisHello, I have determined 2 parameters (mean_alpha and mean_delta) using 6 different methods for eac…
censusapi packageHello, I am trying to use the censusapi codes and having issues. At the moment, I am limited to cod…
Subscribe to:
Post Comments (Atom)
0 Response to Constraining within covariance to zero in xtheckman
Post a Comment