I use Stata 15.1 SE on Windows 10.
I am calculating predictive margins following an ologit in the svy command context. The factor predictor has 15 categories. When I use marginsplot to create a graph of the predictive margins, the bottom three and top three categories overlap with each other. So in the image, the top line combines the three lowest categories of variable reltrad4 (codes 1100, 1200 and 1300, respectively) and the bottom line combines the three highest categories (coded 100001, 100002, and 100003, respectively).
Array
The marginsplot command I used to generate this is:
marginsplot, horizontal yscale(reverse)
I've tried extending the axis and other things, but can't resolve the problem of separating out these categories.
Thanks in advance for any help!
Related Posts with Using marginsplot, category labels and plots overlap.
Calculating Marginal EffectsDear all, I have had some trouble calculating one of the marginal effects of my regression. I am ru…
how to report nagelkerke and index in logit regressionhow can I report nagelkerke and index for the model fit f in logit regresion? I tried fitstat after…
Putexcel: Conditional FormattingDear all, I need to generate an Excel report containing summary statistics as well as a subset of o…
Difference-in-differenceHi everyone, I conducted an experiment where 2 parameters (alpha, beta) using 6 different methods w…
Generate a new variable adding observations of a different columnHello, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc insta…
Subscribe to:
Post Comments (Atom)
0 Response to Using marginsplot, category labels and plots overlap.
Post a Comment