Dear members
I am running an Arelleno Bond regression on a panel data with where the time period is 40 and panels are 289
Post the estimation I want to make counterfactual simulation.
Specifically I want to see what would be the values of the dependent variable (output) if input_R was 5% 10% and 15% below its actual values. Then I want to plot these values together o na graph
Below is the figure from the paper that I am following

I have gone through earlier posts that seem to suggest that the margins command adjusted prediction at means will help in this but I am still not clear how to do this.
Any help will be appreciated
I am running an Arelleno Bond regression on a panel data with where the time period is 40 and panels are 289
Code:
xtabond2 output l(1/2).output input_L L.input_L input_F L.input_F input_T L. input_T input_R input_I L.input_I c.input_I#c.input_R c.input_I#cL.input_R, gmm(input_L input_F input_T input_I L.logvop, lag(2 2)) iv(input_R) nolevel two robust small
Post the estimation I want to make counterfactual simulation.
Specifically I want to see what would be the values of the dependent variable (output) if input_R was 5% 10% and 15% below its actual values. Then I want to plot these values together o na graph
Below is the figure from the paper that I am following
I have gone through earlier posts that seem to suggest that the margins command adjusted prediction at means will help in this but I am still not clear how to do this.
Any help will be appreciated
Comment