Dear All,
I have the following panal data set: outcome and independent variable for n districts and t time periods.
I would like to test whether the efffect of the independent_variable on the outcome has significuntly changed after a certain event took place at a given time t=x therefore I run the following regression:
(1) acreg outcome independent_variable independent_variable#post_dummy, id(district_nr) time(period_t) spatial latitude(lat_el) longitude(lon_el) dist(100) pfe1(period_t) pfe2(district_nr)
However, due to reverse causality, I have to instrument the independent_variable. As an instrument I use an avarage value over T periods, i.e. I do not have separate observations for each of my t periods I only have one single value for each district.
Hence, the First Stage looks like
(2) independent_variable = instrument#Dummy_t0 instrument#Dummy_t1...instrument#Dummy_tT, id(district_nr) time(period_t) spatial latitude(lat_el) longitude(lon_el) dist(100) pfe1(period_t) pfe2(district_nr).
Is there any way to instrument both independent_variable and independent_variable#post_dummy at the same time in the regression (1)?
*outcome, independent variable and instrument are all continuous variables.
I would appreciate any suggestions.
Many thanks in advance.
Kind regards,
Maryia
I have the following panal data set: outcome and independent variable for n districts and t time periods.
I would like to test whether the efffect of the independent_variable on the outcome has significuntly changed after a certain event took place at a given time t=x therefore I run the following regression:
(1) acreg outcome independent_variable independent_variable#post_dummy, id(district_nr) time(period_t) spatial latitude(lat_el) longitude(lon_el) dist(100) pfe1(period_t) pfe2(district_nr)
However, due to reverse causality, I have to instrument the independent_variable. As an instrument I use an avarage value over T periods, i.e. I do not have separate observations for each of my t periods I only have one single value for each district.
Hence, the First Stage looks like
(2) independent_variable = instrument#Dummy_t0 instrument#Dummy_t1...instrument#Dummy_tT, id(district_nr) time(period_t) spatial latitude(lat_el) longitude(lon_el) dist(100) pfe1(period_t) pfe2(district_nr).
Is there any way to instrument both independent_variable and independent_variable#post_dummy at the same time in the regression (1)?
*outcome, independent variable and instrument are all continuous variables.
I would appreciate any suggestions.
Many thanks in advance.
Kind regards,
Maryia

Comment