Hi Statalists,
I am trying to estimate the contribution of each regressor after a regression of the form:
basically I would like to have
contrib_x_1_ID1 = beta_1*x_1
contrib_x_2_ID1 =beta_2*x_2
...
contrib_x_10_ID1 =beta_10*x_10
This is something I can do easily. The problem is that I have a panel of countries, however the regression is estimated at a country-level (ID) for each ID. This complicates a bit the calculation of the contribution of each regressor after each regression withour a proper command.
So, the question is: is there a post-estimation command that does it automatically after each regression?
Thanks
Ale
I am trying to estimate the contribution of each regressor after a regression of the form:
Code:
reg Y x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 if ID=="1"
contrib_x_1_ID1 = beta_1*x_1
contrib_x_2_ID1 =beta_2*x_2
...
contrib_x_10_ID1 =beta_10*x_10
This is something I can do easily. The problem is that I have a panel of countries, however the regression is estimated at a country-level (ID) for each ID. This complicates a bit the calculation of the contribution of each regressor after each regression withour a proper command.
So, the question is: is there a post-estimation command that does it automatically after each regression?
Thanks
Ale
Comment