IDEAS home Printed from https://ideas.repec.org/p/zbw/bubdps/112020.html

On adjusting the one-sided Hodrick-Prescott filter

Author

Listed:
  • Wolf, Elias
  • Mokinski, Frieder
  • Schüler, Yves

Abstract

We show that one should not use the one-sided Hodrick-Prescott filter (HP-1s) as the real-time version of the two-sided Hodrick-Prescott filter (HP-2s): First, in terms of the extracted cyclical component, HP-1s fails to remove low-frequency fluctuations to the same extent as HP-2s. Second, HP-1s dampens fluctuations at all frequencies - even those it is meant to extract. As a remedy, we propose two small adjustments to HP-1s, aligning its properties closely with HP-2s: (1) a lower value for the smoothing parameter and (2) a multiplicative rescaling of the extracted cyclical component. For example, for HP-2s with = 1,600 (value of smoothing parameter), the adjusted one-sided HP filter uses = 650 and rescales the extracted cyclical component by a factor of 1:1513. Using simulated and empirical data, we illustrate the relevance of the adjustments. For instance, financial cycles may appear 1.7 times more volatile than business cycles, where in fact volatilities differ only marginally.

Suggested Citation

  • Wolf, Elias & Mokinski, Frieder & Schüler, Yves, 2020. "On adjusting the one-sided Hodrick-Prescott filter," Discussion Papers 11/2020, Deutsche Bundesbank.
  • Handle: RePEc:zbw:bubdps:112020
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/215404/1/1693270250.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Danthine, Jean-Pierre & Girardin, Michel, 1989. "Business cycles in Switzerland : A comparative study," European Economic Review, Elsevier, vol. 33(1), pages 31-50, January.
    2. Hiebert, Paul & Jaccard, Ivan & Schüler, Yves, 2018. "Contrasting financial and business cycles: Stylized facts and candidate explanations," Journal of Financial Stability, Elsevier, vol. 38(C), pages 72-80.
    3. 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.
    4. Blix, Mårten, 1999. "Forecasting Swedish Inflation With a Markov Switching VAR," Working Paper Series 76, Sveriges Riksbank (Central Bank of Sweden).
    5. Galati, Gabriele & Hindrayanto, Irma & Koopman, Siem Jan & Vlekke, Marente, 2016. "Measuring financial cycles in a model-based analysis: Empirical evidence for the United States and the euro area," Economics Letters, Elsevier, vol. 145(C), pages 83-87.
    6. 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).
    7. Schüler, Yves Stephan & Hiebert, Paul P. & Peltonen, Tuomas A., 2015. "Characterising the financial cycle: A multivariate and time-varying approach," VfS Annual Conference 2015 (Muenster): Economic Development - Theory and Policy 112985, Verein für Socialpolitik / German Economic Association.
    8. 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.
    9. Claessens, Stijn & Kose, M. Ayhan & Terrones, Marco E., 2012. "How do business and financial cycles interact?," Journal of International Economics, Elsevier, vol. 87(1), pages 178-190.
    10. Stock, James H. & Watson, Mark W., 1999. "Forecasting inflation," Journal of Monetary Economics, Elsevier, vol. 44(2), pages 293-335, October.
    11. Detken, Carsten & Weeken, Olaf & Alessi, Lucia & Bonfim, Diana & Boucinha, Miguel & Castro, Christian & Frontczak, Sebastian & Giordana, Gaston & Giese, Julia & Wildmann, Nadya & Kakes, Jan & Klaus, B, 2014. "Operationalising the countercyclical capital buffer: indicator selection, threshold identification and calibration options," ESRB Occasional Paper Series 5, European Systemic Risk Board.
    12. 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.
    13. Lang, Jan Hannes & Izzo, Cosimo & Fahr, Stephan & Ruzicka, Josef, 2019. "Anticipating the bust: a new cyclical systemic risk indicator to assess the likelihood and severity of financial crises," Occasional Paper Series 219, European Central Bank.
    14. 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.
    15. Rochelle M. Edge & Ralf R. Meisenzahl, 2011. "The unreliability of credit-to-GDP ratio gaps in real-time: Implications for countercyclical capital buffers," Finance and Economics Discussion Series 2011-37, Board of Governors of the Federal Reserve System (U.S.).
    16. Stijn Claessens & M. Ayhan Kose & Marco E. Terrones, 2011. "Financial Cycles: What? How? When?," NBER International Seminar on Macroeconomics, University of Chicago Press, vol. 7(1), pages 303-344.
    17. Lawrence J. Christiano & Terry J. Fitzgerald, 2003. "The Band Pass Filter," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 44(2), pages 435-465, May.
    18. 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.
    19. Morten O. Ravn & Harald Uhlig, 2002. "On adjusting the Hodrick-Prescott filter for the frequency of observations," The Review of Economics and Statistics, MIT Press, vol. 84(2), pages 371-375.
    20. 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.
    21. 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.
    22. André K. Anundsen & Karsten Gerdrup & Frank Hansen & Kasper Kragh‐Sørensen, 2016. "Bubbles and Crises: The Role of House Prices and Credit," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 31(7), pages 1291-1311, November.
    23. Claudio Borio, 2014. "The financial cycle and macroeconomics: what have we learned and what are the policy implications?," Chapters, in: Ewald Nowotny & Doris Ritzberger-Grünwald & Peter Backé (ed.), Financial Cycles and the Real Economy, chapter 2, pages 10-35, Edward Elgar Publishing.
    24. Rochelle M. Edge & Ralf R. Meisenzahl, 2011. "The Unreliability of Credit-to-GDP Ratio Gaps in Real Time: Implications for Countercyclical Capital Buffers," International Journal of Central Banking, International Journal of Central Banking, vol. 7(4), pages 261-298, December.
    25. 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.
    26. 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.
    27. Mathias Drehmann & Claudio Borio & Leonardo Gambacorta & Gabriel Jiminez & Carlos Trucharte, 2010. "Countercyclical capital buffers: exploring options," BIS Working Papers 317, Bank for International Settlements.
    28. Adriana Cornea-Madeira, 2017. "The Explicit Formula for the Hodrick-Prescott Filter in a Finite Sample," The Review of Economics and Statistics, MIT Press, vol. 99(2), pages 314-318, May.
    29. Borio, Claudio, 2014. "The financial cycle and macroeconomics: What have we learnt?," Journal of Banking & Finance, Elsevier, vol. 45(C), pages 182-198.
    30. Robert M. de Jong & Neslihan Sakarya, 2016. "The Econometrics of the Hodrick-Prescott Filter," The Review of Economics and Statistics, MIT Press, vol. 98(2), pages 310-317, May.
    31. Francesco Furlanetto & Kåre Hagelund & Frank Hansen & Ørjan Robstad, 2023. "Norges Bank Output Gap Estimates: Forecasting Properties, Reliability, Cyclical Sensitivity and Hysteresis," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 85(1), pages 238-267, February.
    32. Claudio Borio & Philip Lowe, 2002. "Assessing the risk of banking crises," BIS Quarterly Review, Bank for International Settlements, December.
    33. Carsten Detken & Olaf Weeken & Lucia Alessi & Diana Bonfim & Miguel M. Boucinha & Christian Castro & Sebastian Frontczak & Gaston Giordana & Julia Giese & Nadya Jahn & Jan Kakes & Benjamin Klaus & Jan, 2014. "Operationalising the countercyclical capital buffer: indicator selection, threshold identification and calibration options," ESRB Occasional Paper Series 05, European Systemic Risk Board.
    34. 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.
    35. Günes Kamber & James Morley & Benjamin Wong, 2018. "Intuitive and Reliable Estimates of the Output Gap from a Beveridge-Nelson Filter," The Review of Economics and Statistics, MIT Press, vol. 100(3), pages 550-566, July.
    36. Athanasios Orphanides & Simon van Norden, 2002. "The Unreliability of Output-Gap Estimates in Real Time," The Review of Economics and Statistics, MIT Press, vol. 84(4), pages 569-583, November.
    37. Jylhä, Petri & Lof, Matthijs, 2022. "Mind the Basel gap," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 79(C).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Hartwig, Benny & Meinerding, Christoph & Schüler, Yves S., 2021. "Identifying indicators of systemic risk," Journal of International Economics, Elsevier, vol. 132(C).
    2. Schüler, Yves S., 2020. "On the credit-to-GDP gap and spurious medium-term cycles," Economics Letters, Elsevier, vol. 192(C).
    3. Panizza, Ugo, 2025. "Do countries default in bad times? The role of alternative detrending techniques," Economics Letters, Elsevier, vol. 246(C).
    4. Coussin, Maximilien, 2022. "Singular spectrum analysis for real-time financial cycles measurement," Journal of International Money and Finance, Elsevier, vol. 120(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.

    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. Hartwig, Benny & Meinerding, Christoph & Schüler, Yves S., 2021. "Identifying indicators of systemic risk," Journal of International Economics, Elsevier, vol. 132(C).
    2. Zsuzsanna Hosszu & Gergely Lakos, 2022. "Early Warning Performance of Univariate Credit-to-GDP Gaps," MNB Occasional Papers 2022/142, Magyar Nemzeti Bank (Central Bank of Hungary).
    3. 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).
    4. Dutra, Tiago Mota & Dias, José Carlos & Teixeira, João C.A., 2022. "Measuring financial cycles: Empirical evidence for Germany, United Kingdom and United States of America," International Review of Economics & Finance, Elsevier, vol. 79(C), pages 599-630.
    5. 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.
    6. Schüler, Yves S., 2018. "On the cyclical properties of Hamilton's regression filter," Discussion Papers 03/2018, Deutsche Bundesbank.
    7. Mathias Drehmann & James Yetman, 2021. "Which Credit Gap Is Better at Predicting Financial Crises? A Comparison of Univariate Filters," International Journal of Central Banking, International Journal of Central Banking, vol. 17(70), pages 1-31, October.
    8. 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).
    9. Strohsal, Till & Proaño, Christian R. & Wolters, Jürgen, 2019. "Characterizing the financial cycle: Evidence from a frequency domain analysis," Journal of Banking & Finance, Elsevier, vol. 106(C), pages 568-591.
    10. O'Brien, Martin & Velasco, Sofia, 2020. "Unobserved components models with stochastic volatility for extracting trends and cycles in credit," Research Technical Papers 09/RT/20, Central Bank of Ireland.
    11. Jorge E. Galán, 2019. "Measuring credit-to-gdp gaps. The hodrick-prescott filter revisited," Occasional Papers 1906, Banco de España.
    12. 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.
    13. Jorge E. Galán & Javier Mencía, 2018. "Empirical assessment of alternative structural methods for identifying cyclical systemic risk in Europe," Working Papers 1825, Banco de España.
    14. Patrik Kupkovic & Martin Suster, 2020. "Identifying the Financial Cycle in Slovakia," Working and Discussion Papers WP 2/2020, Research Department, National Bank of Slovakia.
    15. Greg Farrell & Esti Kemp, 2020. "Measuring the Financial Cycle in South Africa," South African Journal of Economics, Economic Society of South Africa, vol. 88(2), pages 123-144, June.
    16. Jorge E. Galán & Javier Mencía, 2021. "Model-based indicators for the identification of cyclical systemic risk," Empirical Economics, Springer, vol. 61(6), pages 3179-3211, December.
    17. Gabor Katay & Lisa Kerdelhu & Matthieu Lequien, 2020. "Semi-Structural VAR and Unobserved Components Models to Estimate Finance-Neutral Output Gap," Working papers 791, Banque de France.
    18. Harendra Behera & Saurabh Sharma, 2022. "Characterizing India’s Financial Cycle," Journal of Emerging Market Finance, Institute for Financial Management and Research, vol. 21(2), pages 152-183, June.
    19. Jylhä, Petri & Lof, Matthijs, 2022. "Mind the Basel gap," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 79(C).
    20. Adél Bosch & Steven F. Koch, 2020. "The South African Financial Cycle and its Relation to Household Deleveraging," South African Journal of Economics, Economic Society of South Africa, vol. 88(2), pages 145-173, June.

    More about this item

    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
    • G01 - Financial Economics - - General - - - Financial Crises

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:zbw:bubdps:112020. 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: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://edirc.repec.org/data/dbbgvde.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.