Hello
Is there a way of using margins or some other command to represent in summary (e.g. in one bar with SEs) how marginal effects of one variable change as the values of another variable do?
For background, I have been showing the following ME of var1 for different values of var2
Instead of showing the x-axis varying from 0-10, I would like to capture in a bar chart (with one bar and SEs) the difference in the ME of var1 when var2 goes from 0 to 10, i.e. ME(var1(var2=10)-ME(var1(var2=0)
Thanks so much in advance!
Is there a way of using margins or some other command to represent in summary (e.g. in one bar with SEs) how marginal effects of one variable change as the values of another variable do?
For background, I have been showing the following ME of var1 for different values of var2
Code:
reg var0 c.var1##c.var2 margins , dydx(var1) at(var2=(0(1)10)) marginsplot
Instead of showing the x-axis varying from 0-10, I would like to capture in a bar chart (with one bar and SEs) the difference in the ME of var1 when var2 goes from 0 to 10, i.e. ME(var1(var2=10)-ME(var1(var2=0)
Thanks so much in advance!

Comment