Hello, I have been using the marginsplot function plot predicted probabilities after mlogit estimations. I would like to know if anyone has a suggestion on how I could plot an area type of graph in which each point along the x-axis would add up to 1 in the y-axis. Any suggestions on how do do it could be most welcomed. Below follows an example code that replicates what I have been doing to do so far.
Code:
use https://stats.idre.ucla.edu/stat/data/hsbdemo, clear mlogit prog i.ses write, base(2) margins ses, atmeans predict() marginsplot, noci
0 Response to marginsplot after running a multinomial logit: how to plot the cumulative probabilities as an area graph
Post a Comment