Dear Stata users,
I would like to ask you a graphical suggestion.
I have to plot marginal effects in an interaction, and I am using the command marginsplot with the option 'rarea' as following:
margins male, at(z_spro=(-1.64(0.10)2.60))
marginsplot, scheme(s1mono) recastci(rarea) name(d2_1_1_q, replace) ylabel (6.5(0.5)8.0)
The problem with this is that when the confidence intervals overlap it works the rule "last shown, first seen", and so the graphical effect is not wonderful. I know that to overcome this problem it exists the user-made command "drarea", but did not get how specify it after marginsplot.
Could you suggest me something?
Thanks a lot, G.
I would like to ask you a graphical suggestion.
I have to plot marginal effects in an interaction, and I am using the command marginsplot with the option 'rarea' as following:
margins male, at(z_spro=(-1.64(0.10)2.60))
marginsplot, scheme(s1mono) recastci(rarea) name(d2_1_1_q, replace) ylabel (6.5(0.5)8.0)
The problem with this is that when the confidence intervals overlap it works the rule "last shown, first seen", and so the graphical effect is not wonderful. I know that to overcome this problem it exists the user-made command "drarea", but did not get how specify it after marginsplot.
Could you suggest me something?
Thanks a lot, G.
Comment