I have a panel data set which records entity-level transactions on a given date.
One can think of hospitals purchasing medical equipment (e.g. MRI machine).
The panel data looks something like:

I am interested in running a difference-in-difference regression based on a policy change that impacted only a certain group of hospitals on their equipment purchase price.
In Stata, I perform one with hospital-level FE and one with hospital- and year-level FE models using the command -xtreg, fe-.
The coefficients for the (1) and (2) are positive.
But, for the rest where I include the time fixed-effects, the coefficients are negative.
My questions:
(i) Is it possible that inclusion of the time fixed-effects can flip the sign, and if so, why? If it doesn't, why?
(ii) In my case, how can I detect the cause of the flip of the sign?
(iii) How is (1) and (2) different each other?
(iv) How are (3), (4), and (5) different from each other?
One can think of hospitals purchasing medical equipment (e.g. MRI machine).
The panel data looks something like:
I am interested in running a difference-in-difference regression based on a policy change that impacted only a certain group of hospitals on their equipment purchase price.
In Stata, I perform one with hospital-level FE and one with hospital- and year-level FE models using the command -xtreg, fe-.
Code:
reghdfe y i.policy, absorb(id) vce(cluster id) reghdfe y i.policy, absorb(id county) vce(cluster id) reghdfe y i.policy, absorbe(date id) vce(cluster id) reghdfe y i.policy i.date, absorb(id) vce(cluster id) reghdfe y i.policy, absorb(date id county) vce(cluster id)
But, for the rest where I include the time fixed-effects, the coefficients are negative.
My questions:
(i) Is it possible that inclusion of the time fixed-effects can flip the sign, and if so, why? If it doesn't, why?
(ii) In my case, how can I detect the cause of the flip of the sign?
(iii) How is (1) and (2) different each other?
(iv) How are (3), (4), and (5) different from each other?
Comment