I would appreciate some methodology and R implementation help for a thing I'm working on.
I have daily observations of $Y$ for several countries over several years, I will use quite a few independent variables $X$.
My hypothesis is that there was a break at a specific time that has affected the determination process of $Y$ and altered the coefficients of a regression. I’m interested in knowing what the effects of $X$ on $Y$ were before and after the break and whether there was a significant change in these relationships after the break.
My idea is to use multiple regression for each country of the form:
$$Y = a + B_1 X_1 + B_2 X_2 + B_3 X_3 + D + B_4 D X_1 + B_5 D X_2 + B_6 D X_3 + e $$
where $D$ is a dummy variable equal to 1 after the suspected break.
My test for whether the coefficients are different after the break is then simply to test the significance of the coefficients on the interaction terms: $B_4, B_5, B_6$. I know how run this regression for individual countries.
Q1. Will this tell me what I’m looking for or should I use something else like a Wald or Chow test?
Q2. Is this called a natural experiment?
Q3. If I want to run this as a time fixed effects panel regression, how is this done in R?
The suspected break is the introduction date of a new financial regulation. It’s possible that there was a gradual change over a few months in anticipation of the regulation.
Q4. Could I cut out a few months of the data to remove the effects of a gradual change?
Q5. Should I use some method to look for a break before the suspected break date?
Bonus question: In R, the output of these two regressions are the exact same, I’m using the lm
function:
$$\begin{array}{rcl} Y & = & a + BX + D + BXD \\Y & = & a + BX + BXD \end{array}$$
Both models return a coefficient specific to the dummy variable D, even though the second model only uses D in the interaction term, why is this and can prevent it?