IDEAS home Printed from https://ideas.repec.org/a/eee/ecolet/v267y2026ics0165176526002697.html

Accounting for structural breaks in the Hamilton filter

Author

Listed:
  • Donayre, Luiggi
  • Goto, Eiji

Abstract

This paper reveals that the regression-based trend-cycle decomposition of Hamilton (2018) introduces spurious cyclical dynamics when time series undergo structural breaks. Because the filter relies on an h-step ahead projection, trend adjustment mechanically lags behind regime shifts, inducing large and persistent biases in the cyclical component. We propose a parsimonious modification using a dummy-variable structure that allows the regression intercept and autoregressive components to adjust to identified breaks. Extensive Monte Carlo simulations show that this approach substantially reduces Root Mean Squared Error (RMSE) across a wide range of data-generating processes. These gains are robust to variations in break magnitude, timing and number; sample size; and signal-to-noise ratio. Notably, our approach remains superior in pseudo-real-time settings, where the benefits from break-adjustment outweigh the costs of recursive break date estimation and revision. An empirical application to the Swiss franc/euro exchange rate demonstrates that our modification avoids the spurious cyclical spikes generated by standard filters during major policy shifts. Both ex-post and recursive real-time estimates confirm that our proposed framework provides a more reliable decomposition for macroeconomic assessment and inference.

Suggested Citation

  • Donayre, Luiggi & Goto, Eiji, 2026. "Accounting for structural breaks in the Hamilton filter," Economics Letters, Elsevier, vol. 267(C).
  • Handle: RePEc:eee:ecolet:v:267:y:2026:i:c:s0165176526002697
    DOI: 10.1016/j.econlet.2026.113075
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0165176526002697
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.econlet.2026.113075?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C15 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Statistical Simulation Methods: General
    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:ecolet:v:267:y:2026:i:c:s0165176526002697. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/ecolet .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.