Hello all,
I am having trouble calculating margins after running a melogit with 3 levels. The command for the melogit is formulated as:
melogit y x z || level2var: || level3var:
I then try to caluculate margins at specefic levels of two variables in the FE equation and am presented with the following error message:
could not calculate numerical derivatives -- discontinuous region with missing values
encountered
r(459);
There is no problem obtaining margins when the melogit was calculated with only one level variable, regardless of which level variable I use.
Does anyone have any advice about this issue and how to move past it?
Related Posts with Error calculating margins after melogit (could not calculate numerical derivatives -- discontinuous region with missing values encountered)
Generate difference variable between 2 digits sectors and relevant 3 digits sub-sectors of NACE Rev.2Dear all, I have a data set consisting of Inflation rates relating to 2-,and 3- digit sectors of Na…
Screeplot of eigenvalues from the reduced correlation matrixI assume that STATA's screeplot command prints the eigenvalues from the sample correlation matrix. H…
Unexpected behavior of the egen function median()Hello all, This is my first post but I've read up on the FAQ so I hope it will be acceptable. To gi…
The critical thinking about the "staying forever" in Difference-in-Differences estimator of differential timing setting?When dealing with the differential timing DiD setting, we may apply some modern approaches like Call…
Response surface analysis (RSA)Hi! Does STATA support RSA analysis and the surface plotting? …
Subscribe to:
Post Comments (Atom)
0 Response to Error calculating margins after melogit (could not calculate numerical derivatives -- discontinuous region with missing values encountered)
Post a Comment