Dear statalists,
I wish to dereive predicted probabilities after estimating an ordered probit/logit multilevel regression. I have tried to dereive predicted probabilities relying on margins, however, only with limited success. I could only dereive predicted probablities for factor variables but not for continous variables. For reasons unknown to me, I am not able to estimate margins AT specific values of the covariates after MEOLOGIT or MEOPROBIT.
My dependent variable has four categories, so I run margins for each outcome sepertatly. I also instructed margins to get the predicted probabilities only from the fixed part of the model. --> predict(mu fixedonly outcome(#1)). Finally, I wish to keep all other variables at their means.

Running margins after my model I am able to dereive the predicted probablities for factor variables (here for outcome 1/ not at all satisfied). Similarly, I am also able to dereive the marginal effect for one unit increase (...looks good):

My problem starts when I seek to dereive the predicted probablities not by placing Gender directly after margins but when I seek to hold the values of gender AT 0 and 1. I cannot just go with the first solution since I also wish to dereive predicted probabilities accross a range of observed values for some continous variables as well (Income).

Here, margins returns the same values for both males and females. I have no idea why. Any suggestions?
I find it even more oddly since margins would return the correct probabilities with AT option after specifiying an ordered probit regression, so discarding the multilevel structure of my data for a while. See below:

Now running margins after oprobit returns the same results:

Any suggestions what might go wrong in the multilevel model? I need to get the second AT - option running for:
a) creating predicted probability graphs, especially for my continuous predictors
b) calculating the PR-change from the minimum to the maximum value for the continous variables. Any other suggestion here? I am also in search of a possibility to create the respective CI intervals for this.
c.) finally, I would wish to simplify the interpretation of some of my main explanatories by collapsing the predicted probabilities from two categories (not at all satisfied/not satisfied) into one (not satisfied and show the predicted probabilities + PR-change + CI.
I know this was much, I would be glad for any help or suggestions.
Best,
Pablo
I wish to dereive predicted probabilities after estimating an ordered probit/logit multilevel regression. I have tried to dereive predicted probabilities relying on margins, however, only with limited success. I could only dereive predicted probablities for factor variables but not for continous variables. For reasons unknown to me, I am not able to estimate margins AT specific values of the covariates after MEOLOGIT or MEOPROBIT.
My dependent variable has four categories, so I run margins for each outcome sepertatly. I also instructed margins to get the predicted probabilities only from the fixed part of the model. --> predict(mu fixedonly outcome(#1)). Finally, I wish to keep all other variables at their means.
Running margins after my model I am able to dereive the predicted probablities for factor variables (here for outcome 1/ not at all satisfied). Similarly, I am also able to dereive the marginal effect for one unit increase (...looks good):
My problem starts when I seek to dereive the predicted probablities not by placing Gender directly after margins but when I seek to hold the values of gender AT 0 and 1. I cannot just go with the first solution since I also wish to dereive predicted probabilities accross a range of observed values for some continous variables as well (Income).
Here, margins returns the same values for both males and females. I have no idea why. Any suggestions?
I find it even more oddly since margins would return the correct probabilities with AT option after specifiying an ordered probit regression, so discarding the multilevel structure of my data for a while. See below:
Now running margins after oprobit returns the same results:
Any suggestions what might go wrong in the multilevel model? I need to get the second AT - option running for:
a) creating predicted probability graphs, especially for my continuous predictors
b) calculating the PR-change from the minimum to the maximum value for the continous variables. Any other suggestion here? I am also in search of a possibility to create the respective CI intervals for this.
c.) finally, I would wish to simplify the interpretation of some of my main explanatories by collapsing the predicted probabilities from two categories (not at all satisfied/not satisfied) into one (not satisfied and show the predicted probabilities + PR-change + CI.
I know this was much, I would be glad for any help or suggestions.
Best,
Pablo
Comment