Hi
I ran a gologit2 model and then computed predicted probabilities for the ordinal dependent variable using the margins command. However, I found a ‘implausible” negative probability value for the outcome(2). How can I address this negative probability value? Any advice would be appreciated.
. margins, at(susr=3 offr=1 susw=3 vio=55.731)
Predictive margins Number of obs = 3,342
Model VCE : OIM
1._predict : Pr(forc==1), predict(pr outcome(1))
2._predict : Pr(forc==2), predict(pr outcome(2))
3._predict : Pr(forc==3), predict(pr outcome(3))
at : susr = 3
offr = 1
susw = 3
vio = 55.731
------------------------------------------------------------------------------
| Delta-method
| Margin Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_predict |
1 | .4373939 .0940638 4.65 0.000 .2530323 .6217555
2 | -.2668683 .063431 -4.21 0.000 -.3911907 -.1425458
3 | .8294743 .0555001 14.95 0.000 .7206961 .9382526
------------------------------------------------------------------------------
Related Posts with Address a negative probability value when using the margins command
Create variables econometricsHi, i have few question on generating new variables and calculating. I am new to stata and I dont kn…
Oaxaca decomposition in OLS and unconditional quantile regressionDear all, I'm actually performing an Oaxaca-Blinder decomposition to test wether the returns of ind…
Results are not reproducibleI am trying to select 20 controls from a community database for each case and do conditional logisti…
How to regreee the variables with different coefficientHi community, My equation is attached. A, B, C, D is dummy variables and i already solve them. May …
Reshape to convert large number of variables to long formatHi Stata, I am pretty new to Stata and try to reshape my Data to long format. My Dataset ist from …
Subscribe to:
Post Comments (Atom)
0 Response to Address a negative probability value when using the margins command
Post a Comment