I wanted to do a sanity check.
I want to remove the effect of structural breaks on my series.
Therefore, I create a dummy with 1s for the period of structural change and 0s for the rest. (There might be several periods). Let's call it D
I then regress it on yt = b0 + b1D + ytStar, where ytStar is the series with no structural break effect.
Do you see any issues with that?
Somehow the "*" from the equation was not printed, the ytStar is the error term that will contain the filtered series.
I would like to model the structural changes in 1 variable to estimate the effect of a change in mean in general instead for a specific period.
I have a lot of data (many time series) and I am using the model from Bai & Perron (2003) to detect the structural breaks.
Beside the "structural breaks" I am also modelling trend, cycles and holidays. I am using the least square filtering to remove any deterministic effects from my data.
– Kiril E. Proykov Feb 02 '19 at 22:33