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.
Imputation for survival analysesDear StataList, I'm running an ophthalmic survival analysis for postoperative patients, who we want…
"Command ysca is unrecognized" - from help graph_combineHi, I am currently looking at the graph_combine help file to solve the problem that I have posted h…
How to extract numbers from string with combination of text and number?How do I extract 801011001, 801011002, 801011003, etc from the variable 'parm'. Example dataset is b…
no constant in XTSURI'm just wanting to know why the noconstant option is in place for the XTSUR command? Should I set u…
--collect export-- takes a really long timeHi, I like the idea of the new -collect- functions, but in my first application it take >5 minute…
Subscribe to:
Post Comments (Atom)
0 Response to Using marginsplot, category labels and plots overlap.
Post a Comment