Hello!
I have some questions related to counterfactual analysis
I have a cross-section data for the year 2015 with 100 observation and I want to make counterfactual Analysis on my regression.
my model is as follow
lnY = Bo + B1C +B2X1+B3X2 +B4x3+.........+BnXn+Ui
C is control variable
x1,x2,x3.......xn are policy variables with a value of 0 to 2 ( a continuous value from zero to two, zero is low performance and 2 is the best performance)
my objective is to analyze the impact of "x1 x2 x3....xn" on "y" when all countries move to best performance(2)
************Code***************
*method 1
regress lny c x1 x2 x3,,,,,,,,,xn // this will give the impact of x on y with the actual performance of countries on each x-variable
predict yhut, xb
gen x1new = 2-x1
gen x2new = 2-x2
gen x3new = 2-x3
.....
gen xnnew = 2-xn
regress lny c x1new x2new x3new ......xnnew
predict yhutnew, xb
sum yhut yhutnew lny
"yhutnew will be the impact of "xi" on "y" when all countries move to best practice
************************************
** Method 2
regress lny x1 x2 x3,,,,,,,,, xn
predict yhut, xb
gen yhutnew = yhut- coefficient of x1*(2-x1)-coefficient of x2*(2- x2) - coefficient of x3*(2-x3)-...........coefficient of xn*(2-xn)
" yhutnew will be the impact of Xi on Y when all countries move to best performance(which is 2) "
****************************************
I need advise on the following point
1) which methods is correct or if there is any other alternative method of estimating the impact of xi on y when all countries move to best performance
2) any advise is welcomed
I have some questions related to counterfactual analysis
I have a cross-section data for the year 2015 with 100 observation and I want to make counterfactual Analysis on my regression.
my model is as follow
lnY = Bo + B1C +B2X1+B3X2 +B4x3+.........+BnXn+Ui
C is control variable
x1,x2,x3.......xn are policy variables with a value of 0 to 2 ( a continuous value from zero to two, zero is low performance and 2 is the best performance)
my objective is to analyze the impact of "x1 x2 x3....xn" on "y" when all countries move to best performance(2)
************Code***************
*method 1
regress lny c x1 x2 x3,,,,,,,,,xn // this will give the impact of x on y with the actual performance of countries on each x-variable
predict yhut, xb
gen x1new = 2-x1
gen x2new = 2-x2
gen x3new = 2-x3
.....
gen xnnew = 2-xn
regress lny c x1new x2new x3new ......xnnew
predict yhutnew, xb
sum yhut yhutnew lny
"yhutnew will be the impact of "xi" on "y" when all countries move to best practice
************************************
** Method 2
regress lny x1 x2 x3,,,,,,,,, xn
predict yhut, xb
gen yhutnew = yhut- coefficient of x1*(2-x1)-coefficient of x2*(2- x2) - coefficient of x3*(2-x3)-...........coefficient of xn*(2-xn)
" yhutnew will be the impact of Xi on Y when all countries move to best performance(which is 2) "
****************************************
I need advise on the following point
1) which methods is correct or if there is any other alternative method of estimating the impact of xi on y when all countries move to best performance
2) any advise is welcomed
Comment