Hi!

I would like to visualize all contrasts of a categorical IV in an mlogit model, but am stuck on how to generate the contrasts in the first place and integrate them in the margins command.

After the mlogit model I would like to the generate AMEs for all variables, but for the categorical IV I'd like to include the contrast for all three values (dual vs mono-home; dual vs mono-home; mono-host vs mono-home), so all three contrasts are included in the graph. Right now I only do a graph where one value is the base for comparison. The missing comparison is then added in
another visual, which is supoptimal to me.

Code:
mlogit cluster4 ib2.dualcitizenship index_remit index_material_TR visithome, vce(cluster hostcountry2) base(4)
margins, dydx (dualcitizenship index_remit index_material_TR visithome) predict(outcome(1)) post
est store model1

mlogit cluster4 ib2.dualcitizenship index_remit index_material_TR visithome, vce(cluster hostcountry2) base(4)
margins, dydx (dualcitizenship index_remit index_material_TR visithome) predict(outcome(2)) post
est store model2

logit cluster4 ib2.dualcitizenship index_remit index_material_TR visithome, vce(cluster hostcountry2) base(4)
margins, dydx (dualcitizenship iindex_remit index_material_TR visithome) predict(outcome(4)) post
est store model3

coefplot model1 model3 model2, xline(0, lcolor(red))
I appreciate any alternative suggestions on how to do this.