IDEAS home Printed from https://ideas.repec.org/a/red/issued/23-94.html
   My bibliography  Save this article

Filtering economic time series: On the cyclical properties of Hamilton’s regression filter and the Hodrick-Prescott filter

Author

Listed:
  • Yves Schueler

    (Deutsche Bundesbank)

Abstract

The Hamilton (H) filter is proposed as an alternative to the Hodrick-Prescott (HP) filter. It is designed to meet all of the objectives desired by users of the HP filter while avoiding its drawbacks (spurious dynamics, ad hoc filter settings, end-of-sample bias). I document a trade-off that has been overlooked: Addressing the HP filter's drawbacks means that the H filter cannot fulfill all of the desired objectives. It modifies different frequencies captured in an estimated cyclical component by inducing phase shifts and by likely altering variances. Typically, these modifications vary across time series. Through both simulation and real data exercises, I illustrate each filter's cyclical properties. (Copyright: Elsevier)

Suggested Citation

  • Yves Schueler, 2024. "Filtering economic time series: On the cyclical properties of Hamilton’s regression filter and the Hodrick-Prescott filter," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 54, October.
  • Handle: RePEc:red:issued:23-94
    DOI: 10.1016/j.red.2024.101237
    as

    Download full text from publisher

    File URL: https://dx.doi.org/10.1016/j.red.2024.101237
    Download Restriction: Access to full texts is restricted to ScienceDirect subscribers and institutional members. See https://www.sciencedirect.com/ for details.

    File URL: https://libkey.io/10.1016/j.red.2024.101237?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 look for a different version below or search for a different version of it.

    Other versions of this item:

    References listed on IDEAS

    as
    1. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models—Rejoinder," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 211-219.
    2. Tara M. Sinclair, 2009. "The Relationships between Permanent and Transitory Movements in U.S. Output and the Unemployment Rate," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 41(2-3), pages 529-542, March.
    3. Enrique G. Mendoza & Marco E. Terrones, 2008. "An Anatomy Of Credit Booms: Evidence From Macro Aggregates And Micro Data," NBER Working Papers 14049, National Bureau of Economic Research, Inc.
    4. Adrian Pagan & Don Harding, 2005. "A suggested framework for classifying the modes of cycle research," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 20(2), pages 151-159.
    5. Canova, Fabio, 1998. "Detrending and business cycle facts: A user's guide," Journal of Monetary Economics, Elsevier, vol. 41(3), pages 533-540, May.
    6. Canova, Fabio, 1998. "Detrending and business cycle facts," Journal of Monetary Economics, Elsevier, vol. 41(3), pages 475-512, May.
    7. Paul Beaudry & Dana Galizia & Franck Portier, 2020. "Putting the Cycle Back into Business Cycle Analysis," American Economic Review, American Economic Association, vol. 110(1), pages 1-47, January.
    8. David Aikman & Andrew G. Haldane & Benjamin D. Nelson, 2015. "Curbing the Credit Cycle," Economic Journal, Royal Economic Society, vol. 125(585), pages 1072-1109, June.
    9. Diego Comin & Mark Gertler, 2006. "Medium-Term Business Cycles," American Economic Review, American Economic Association, vol. 96(3), pages 523-551, June.
    10. Peter C. B. Phillips & Zhentao Shi, 2021. "Boosting: Why You Can Use The Hp Filter," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 62(2), pages 521-570, May.
    11. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 113-172.
    12. Peter C. B. Phillips & Sainan Jin, 2021. "Business Cycles, Trend Elimination, And The Hp Filter," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 62(2), pages 469-520, May.
    13. Beveridge, Stephen & Nelson, Charles R., 1981. "A new approach to decomposition of economic time series into permanent and transitory components with particular attention to measurement of the `business cycle'," Journal of Monetary Economics, Elsevier, vol. 7(2), pages 151-174.
    14. James C. Morley & Charles R. Nelson & Eric Zivot, 2003. "Why Are the Beveridge-Nelson and Unobserved-Components Decompositions of GDP So Different?," The Review of Economics and Statistics, MIT Press, vol. 85(2), pages 235-243, May.
    15. Harding, Don & Pagan, Adrian, 2002. "Dissecting the cycle: a methodological investigation," Journal of Monetary Economics, Elsevier, vol. 49(2), pages 365-381, March.
    16. Marianne Baxter & Robert G. King, 1999. "Measuring Business Cycles: Approximate Band-Pass Filters For Economic Time Series," The Review of Economics and Statistics, MIT Press, vol. 81(4), pages 575-593, November.
    17. James D. Hamilton, 2018. "Why You Should Never Use the Hodrick-Prescott Filter," The Review of Economics and Statistics, MIT Press, vol. 100(5), pages 831-843, December.
    18. King, Robert G. & Rebelo, Sergio T., 1993. "Low frequency filtering and real business cycles," Journal of Economic Dynamics and Control, Elsevier, vol. 17(1-2), pages 207-231.
    19. Peter K. Clark, 1987. "The Cyclical Component of U. S. Economic Activity," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 102(4), pages 797-814.
    20. Borio, Claudio, 2014. "The financial cycle and macroeconomics: What have we learnt?," Journal of Banking & Finance, Elsevier, vol. 45(C), pages 182-198.
    21. Schüler, Yves S., 2020. "On the credit-to-GDP gap and spurious medium-term cycles," Economics Letters, Elsevier, vol. 192(C).
    22. Chauvet, Marcelle & Piger, Jeremy, 2008. "A Comparison of the Real-Time Performance of Business Cycle Dating Methods," Journal of Business & Economic Statistics, American Statistical Association, vol. 26, pages 42-49, January.
    23. Christophe Croux & Mario Forni & Lucrezia Reichlin, 2001. "A Measure Of Comovement For Economic Variables: Theory And Empirics," The Review of Economics and Statistics, MIT Press, vol. 83(2), pages 232-241, May.
    24. Burnside, Craig, 1998. "Detrending and business cycle facts: A comment," Journal of Monetary Economics, Elsevier, vol. 41(3), pages 513-532, May.
    25. Kristian Jönsson, 2020. "Cyclical Dynamics and Trend/Cycle Definitions: Comparing the HP and Hamilton Filters," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 16(2), pages 151-162, November.
    26. Harvey, A C & Jaeger, A, 1993. "Detrending, Stylized Facts and the Business Cycle," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 8(3), pages 231-247, July-Sept.
    27. Gabriele Galati & Irma Hindrayanto & Siem Jan Koopman & Marente Vlekke, 2016. "Measuring financial cycles with a model-based filter: Empirical evidence for the United States and the euro area," DNB Working Papers 495, Netherlands Central Bank, Research Department.
    28. Robert J. Hodrick, 2020. "An Exploration of Trend-Cycle Decomposition Methodologies in Simulated Data," NBER Working Papers 26750, National Bureau of Economic Research, Inc.
    29. Cogley, Timothy & Nason, James M., 1995. "Effects of the Hodrick-Prescott filter on trend and difference stationary time series Implications for business cycle research," Journal of Economic Dynamics and Control, Elsevier, vol. 19(1-2), pages 253-278.
    30. Schüler, Yves S., 2018. "Detrending and financial cycle facts across G7 countries: mind a spurious medium term!," Working Paper Series 2138, European Central Bank.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Viv B. Hall & Peter Thomson, 2022. "A boosted HP filter for business cycle analysis:evidence from New Zealand's small open economy," CAMA Working Papers 2022-45, Centre for Applied Macroeconomic Analysis, Crawford School of Public Policy, The Australian National University.
    2. Berger, Tino & Richter, Julia & Wong, Benjamin, 2022. "A unified approach for jointly estimating the business and financial cycle, and the role of financial factors," Journal of Economic Dynamics and Control, Elsevier, vol. 136(C).
    3. Berger, Tino & Richter, Julia & Wong, Benjamin, 2022. "A unified approach for jointly estimating the business and financial cycle, and the role of financial factors," Journal of Economic Dynamics and Control, Elsevier, vol. 136(C).
    4. Schüler, Yves S. & Hiebert, Paul P. & Peltonen, Tuomas A., 2020. "Financial cycles: Characterisation and real-time measurement," Journal of International Money and Finance, Elsevier, vol. 100(C).
    5. Josefine Quast & Maik H. Wolters, 2022. "Reliable Real-Time Output Gap Estimates Based on a Modified Hamilton Filter," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 40(1), pages 152-168, January.
    6. Hall, Viv B & Thomson, Peter, 2022. "A boosted HP filter for business cycle analysis: evidence from New Zealand’s small open economy," Working Paper Series 9473, Victoria University of Wellington, School of Economics and Finance.
    7. Fritz, Marlon, 2019. "Steady state adjusting trends using a data-driven local polynomial regression," Economic Modelling, Elsevier, vol. 83(C), pages 312-325.
    8. Hessler, Andrew, 2023. "Unobserved components model estimates of credit cycles: Tests and predictions," Journal of Financial Stability, Elsevier, vol. 66(C).
    9. Marlon Fritz, 2019. "Data-Driven Local Polynomial Trend Estimation for Economic Data - Steady State Adjusting Trends," Working Papers Dissertations 49, Paderborn University, Faculty of Business Administration and Economics.
    10. Han, Yang & Liu, Zehao & Ma, Jun, 2020. "Growth cycles and business cycles of the Chinese economy through the lens of the unobserved components model," China Economic Review, Elsevier, vol. 63(C).
    11. Schüler, Yves S., 2018. "Detrending and financial cycle facts across G7 countries: mind a spurious medium term!," Working Paper Series 2138, European Central Bank.
    12. Morana, Claudio, 2024. "A new macro-financial condition index for the euro area," Econometrics and Statistics, Elsevier, vol. 29(C), pages 64-87.
    13. L.A. Gil-Alana, 2005. "Fractional Cyclical Structures & Business Cycles in the Specification of the US Real Output," European Research Studies Journal, European Research Studies Journal, vol. 0(1-2), pages 99-126.
    14. Viv B. Hall & Peter Thomson, 2021. "Does Hamilton’s OLS Regression Provide a “better alternative” to the Hodrick-Prescott Filter? A New Zealand Business Cycle Perspective," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 17(2), pages 151-183, November.
    15. Guisinger, Amy Y. & Owyang, Michael T. & Soques, Daniel, 2024. "Industrial Connectedness and Business Cycle Comovements," Econometrics and Statistics, Elsevier, vol. 29(C), pages 132-149.
    16. Moura, Alban, 2024. "Why You Should Never Use the Hodrick-Prescott Filter. A Comment on Hamilton (The Review of Economics and Statistics, 2018)," Journal of Comments and Replications in Economics (JCRE), ZBW - Leibniz Information Centre for Economics, vol. 3(2024-1), pages 1-17.
    17. Robert J. Hodrick, 2020. "An Exploration of Trend-Cycle Decomposition Methodologies in Simulated Data," NBER Working Papers 26750, National Bureau of Economic Research, Inc.
    18. Álvarez, Luis J. & Gómez-Loscos, Ana, 2018. "A menu on output gap estimation methods," Journal of Policy Modeling, Elsevier, vol. 40(4), pages 827-850.
    19. Schüler, Yves S. & Peltonen, Tuomas A. & Hiebert, Paul, 2017. "Coherent financial cycles for G-7 countries: Why extending credit can be an asset," ESRB Working Paper Series 43, European Systemic Risk Board.
    20. Juergen Bierbaumer-Polly, 2012. "Regional and Sectoral Business Cycles - Key Features for the Austrian economy," EcoMod2012 4074, EcoMod.

    More about this item

    Keywords

    Business cycles; Detrending; Band pass filter; Forecast errors; Spurious cycles;
    All these keywords.

    JEL classification:

    • C10 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - General
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • E58 - Macroeconomics and Monetary Economics - - Monetary Policy, Central Banking, and the Supply of Money and Credit - - - Central Banks and Their Policies

    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:red:issued:23-94. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Christian Zimmermann (email available below). General contact details of provider: https://edirc.repec.org/data/sedddea.html .

    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.