Trend Extraction From Time Series With Structural Breaks

Trend extraction from time series is often performed by using the filter proposed by Leser (1961), also known as the Hodrick-Prescott filter. A practical problem arises, however, when the time series contains structural breaks (such as produced by German unification for German time series, for instance). This note proposes a method for coping with this problem.