Hi everyone.
Can someone please guide me through how to make this margins plot more visible, (probably making 'Outcome 4' a secondary y-axis) and also adding texts to the graphs(e.g p=0.01)?
graphstatlist.gph
mlogit mental c.year i.agecat i.sex
margins
sort year
margins, at(year=(2012(2)2021))
marginsplot, name(graph1, replace)
Can someone please guide me through how to make this margins plot more visible, (probably making 'Outcome 4' a secondary y-axis) and also adding texts to the graphs(e.g p=0.01)?
graphstatlist.gph
mlogit mental c.year i.agecat i.sex
margins
sort year
margins, at(year=(2012(2)2021))
marginsplot, name(graph1, replace)
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(mental year agecat sex) 1 2012 3 1 4 2012 1 2 4 2012 0 2 4 2012 0 2 4 2012 1 1 4 2012 1 1 4 2012 1 1 4 2012 0 1 4 2012 3 2 3 2012 1 1 4 2012 1 2 4 2012 2 2 4 2012 0 2 4 2012 3 2 4 2012 0 2 4 2012 0 1 4 2012 0 2 4 2012 2 2 4 2012 1 2 4 2012 3 2 4 2012 1 1 4 2012 3 2 4 2012 0 2 4 2012 2 1 4 2012 3 1 4 2012 2 1 4 2012 3 2 4 2012 2 2 4 2012 3 1 4 2012 1 1 4 2012 3 1 4 2012 1 1 4 2012 2 2 4 2012 3 2 4 2012 0 2 4 2012 2 2 4 2012 3 1 4 2012 0 2 4 2012 2 1 4 2012 3 2 4 2012 3 2 4 2012 3 2 4 2012 3 2 4 2012 1 1 4 2012 3 1 4 2012 1 2 4 2012 2 2 4 2012 1 1 4 2012 2 2 2 2012 3 2 end
Comment