Hi, I have run a gologit2 command on my dependent variabel comprising of four catergoies with autofit. It is however difficult to interpret the odds ratio and therefore I attempted to get the predicted probabilities for the same. I am using Stata 14.0 version and my independent variables are a mix of factor and continous variables along with some dummies.
I tried to first run the following command to find out the marginal effects
margins, dydx(*) atmeans post
The margins had negative values as well. However, I wanted to calculate the predicted probabilities for my model. The dependent variable has four categories so here as well the interpretation is confusing for me. I calculated the predicted probabilties using the following command
margins, dydx (*) atmeans predict (outcome(1)) predecit (outcome(2)) predecit (outcome(3)) predecit (outcome(4))
The results using both the commands are the same.
I understand that for prediction, the predict command has to be used, so after running the gologit model, i ran the following command as well
predict p1 p2 p3 p4
However, upon tabulation it says too many values.
Can someone please help me out
Thanks in advance
Related Posts with Predicted Probabilities using gologit2
Creating new variables using the subset of an existing variableHello, I am pretty new user of Stata. I would like to create new variables by using the subset of a…
GLM command for zero truncated negative binomial regressionIs it possible to use the GLM command for zero truncated negative binomial regression? I believe the…
Dropping overlapping eventsI am conducting an event study for my study, the effect of football transfers on stock prices. The p…
Difference in proportions between two samplesHello, I have a question about proportions. How do I check for difference in proportions between tw…
weight issue with pctileGreetings all, I'm trying to construct percentiles using the pctile command with Stata. This is th…
Subscribe to:
Post Comments (Atom)
0 Response to Predicted Probabilities using gologit2
Post a Comment