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?