IDEAS home Printed from https://ideas.repec.org/p/mar/magkse/202421.html
   My bibliography  Save this paper

On the Hamilton-HP Filter Controversy: Evidence from German Business Cycles

Author

Listed:
  • Lars-H. R. Siemers

    (University of Siegen, Department of Economics)

Abstract

James Hamilton put doubt on the quality of the HP filter estimates, and proposed an alternative regression approach to decompose trend and cycle of time series (H filter). We investigate the new H filter in detail and compare it to the HP filter. We apply both to German GDP time series. We find that in times of huge shocks the regular H filter produces unreliable trends. Its Quast-Wolters modification (QWH filter), in contrast, does not suffer from this issue. Checking expert benchmark congruency, we find that this modification outperforms all parameter constellations of the standard H filter. With a benchmark-specific adequate choice of the smoothing factor, in turn, the HP filter outperforms the H filter. The H filter, however, outperforms the HP filter with regard to correlation with expert benchmark recession dating. And the H filter uniquely outperforms the HP filter in capturing the gap-inflation link, an issue especially important for central banks. Overall, our results suggest using the QWH filter among the H filter options, and a smoothing factor of 38 for the HP filter.

Suggested Citation

  • Lars-H. R. Siemers, 2024. "On the Hamilton-HP Filter Controversy: Evidence from German Business Cycles," MAGKS Papers on Economics 202421, Philipps-Universität Marburg, Faculty of Business Administration and Economics, Department of Economics (Volkswirtschaftliche Abteilung).
  • Handle: RePEc:mar:magkse:202421
    as

    Download full text from publisher

    File URL: https://www.uni-marburg.de/en/fb02/research-groups/economics/macroeconomics/research/magks-joint-discussion-papers-in-economics/papers/2024/21-2024-lars-h-r-siemers.pdf
    File Function: First version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Graciela L. Kaminsky & Carmen M. Reinhart & Carlos A. Végh, 2005. "When It Rains, It Pours: Procyclical Capital Flows and Macroeconomic Policies," NBER Chapters, in: NBER Macroeconomics Annual 2004, Volume 19, pages 11-82, National Bureau of Economic Research, Inc.
    2. 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.
    3. Vadim Kufenko & Niels Geiger, 2017. "Stylized Facts of the Business Cycle: Universal Phenomenon, or Institutionally Determined?," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 13(2), pages 165-187, November.
    4. Beate Schirwitz, 2009. "A comprehensive German business cycle chronology," Empirical Economics, Springer, vol. 37(2), pages 287-301, October.
    5. Talvi, Ernesto & Vegh, Carlos A., 2005. "Tax base variability and procyclical fiscal policy in developing countries," Journal of Development Economics, Elsevier, vol. 78(1), pages 156-190, October.
    6. Regina Kaiser & Agustín Maravall, 1999. "Estimation of the business cycle: A modified Hodrick-Prescott filter," Spanish Economic Review, Springer;Spanish Economic Association, vol. 1(2), pages 175-206.
    7. Galí, Jordi & Perotti, Roberto, 2003. "Fiscal Policy and Monetary Integration in Europe," CEPR Discussion Papers 3933, C.E.P.R. Discussion Papers.
    8. Wesley C. Mitchell & Arthur F. Burns, 1936. "Production During the American Business Cycle of 1927-1933," NBER Chapters, in: Production during the American Business Cycle of 1927-1933, National Bureau of Economic Research, Inc.
    9. Agnieszka Gehringer & Thomas Mayer, 2021. "Measuring the Business Cycle Chronology with a Novel Business Cycle Indicator for Germany," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 17(1), pages 71-89, April.
    10. 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.
    11. 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.
    12. Arthur F. Burns & Wesley C. Mitchell, 1946. "Measuring Business Cycles," NBER Books, National Bureau of Economic Research, Inc, number burn46-1.
    13. Cooley, Thomas F. & Ohanian, Lee E., 1991. "The cyclical behavior of prices," Journal of Monetary Economics, Elsevier, vol. 28(1), pages 25-60, August.
    14. 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.
    15. Michael Woodford, 2009. "Convergence in Macroeconomics: Elements of the New Synthesis," American Economic Journal: Macroeconomics, American Economic Association, vol. 1(1), pages 267-279, January.
    16. 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.
    17. Pedersen, Torben Mark, 2001. "The Hodrick-Prescott filter, the Slutzky effect, and the distortionary effect of filters," Journal of Economic Dynamics and Control, Elsevier, vol. 25(8), pages 1081-1101, August.
    18. Lane, Philip R., 2003. "The cyclical behaviour of fiscal policy: evidence from the OECD," Journal of Public Economics, Elsevier, vol. 87(12), pages 2661-2675, December.
    19. 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.
    20. Ehlgen, Jurgen, 1998. "Distortionary effects of the optimal Hodrick-Prescott filter," Economics Letters, Elsevier, vol. 61(3), pages 345-349, December.
    21. repec:oup:ecpoli:v:18:y:2003:i:37:p:533-572 is not listed on IDEAS
    22. Harding, Don & Pagan, Adrian, 2002. "Dissecting the cycle: a methodological investigation," Journal of Monetary Economics, Elsevier, vol. 49(2), pages 365-381, March.
    23. Schüler, Yves S., 2018. "On the cyclical properties of Hamilton's regression filter," Discussion Papers 03/2018, Deutsche Bundesbank.
    24. 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.
    25. 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.
    26. Pollock, D. S. G., 2000. "Trend estimation and de-trending via rational square-wave filters," Journal of Econometrics, Elsevier, vol. 99(2), pages 317-334, December.
    27. Breuer Sebastian & Elstner Steffen, 2020. "Germany’s Growth Prospects against the Backdrop of Demographic Change," Journal of Economics and Statistics (Jahrbuecher fuer Nationaloekonomie und Statistik), De Gruyter, vol. 240(5), pages 565-605, October.
    28. Kevin J. Stiroh, 1998. "Long‐Run Growth Projections And The Aggregate Production Function: A Survey Of Models Used By The U.S. Government," Contemporary Economic Policy, Western Economic Association International, vol. 16(4), pages 467-479, October.
    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. James H. Stock & Mark W. Watson, 1989. "New Indexes of Coincident and Leading Economic Indicators," NBER Chapters, in: NBER Macroeconomics Annual 1989, Volume 4, pages 351-409, National Bureau of Economic Research, Inc.
    31. Jordi Galí & Roberto Perotti, 2003. "Fiscal policy and monetary integration in Europe [‘Consumption smoothing through fiscal policy in OECD and EU countries’]," Economic Policy, CEPR, CESifo, Sciences Po;CES;MSH, vol. 18(37), pages 533-572.
    32. Kristian Jönsson, 2020. "Real-time US GDP gap properties using Hamilton’s regression-based filter," Empirical Economics, Springer, vol. 59(1), pages 307-314, July.
    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. João T. Jalles, 2022. "Do credit rating agencies reward fiscal prudence?," International Finance, Wiley Blackwell, vol. 25(1), pages 2-22, April.
    3. 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.
    4. 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.
    5. Melina Dritsaki & Chaido Dritsaki, 2022. "Comparison of HP Filter and the Hamilton’s Regression," Mathematics, MDPI, vol. 10(8), pages 1-18, April.
    6. 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.
    7. Carnazza, Giovanni & Liberati, Paolo & Sacchi, Agnese, 2020. "The cyclically-adjusted primary balance: A novel approach for the euro area," Journal of Policy Modeling, Elsevier, vol. 42(5), pages 1123-1145.
    8. Ard den Reijer, 2006. "The Dutch business cycle: which indicators should we monitor?," DNB Working Papers 100, Netherlands Central Bank, Research Department.
    9. Papageorgiou, Theofanis & Michaelides, Panayotis G. & Tsionas, Efthymios G., 2016. "Business cycle determinants and fiscal policy: A Panel ARDL approach for EMU," The Journal of Economic Asymmetries, Elsevier, vol. 13(C), pages 57-68.
    10. Galimberti, Jaqueson K. & Moura, Marcelo L., 2016. "Improving the reliability of real-time output gap estimates using survey forecasts," International Journal of Forecasting, Elsevier, vol. 32(2), pages 358-373.
    11. Vadim Kufenko, 2020. "Hide-and-Seek with time-series filters: a model-based Monte Carlo study," Empirical Economics, Springer, vol. 59(5), pages 2335-2361, November.
    12. Combes, Jean-Louis & Minea, Alexandru & Sow, Moussé, 2017. "Is fiscal policy always counter- (pro-) cyclical? The role of public debt and fiscal rules," Economic Modelling, Elsevier, vol. 65(C), pages 138-146.
    13. Jaqueson K. Galimberti & Marcelo L. Moura, 2011. "Improving the reliability of real-time Hodrick-Prescott filtering using survey forecasts," Centre for Growth and Business Cycle Research Discussion Paper Series 159, Economics, The University of Manchester.
    14. Mr. Andreas Billmeier, 2004. "Ghostbusting: Which Output Gap Measure Really Matters?," IMF Working Papers 2004/146, International Monetary Fund.
    15. Robert J. Hodrick, 2020. "An Exploration of Trend-Cycle Decomposition Methodologies in Simulated Data," NBER Working Papers 26750, National Bureau of Economic Research, Inc.
    16. Zacharias Psaradakis & Martin Sola, 2003. "On detrending and cyclical asymmetry," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 18(3), pages 271-289.
    17. Michael Funke & Harm Bandholz, 2003. "In search of leading indicators of economic activity in Germany," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 22(4), pages 277-297.
    18. 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.
    19. Tawadros, George B., 2011. "The stylised facts of Australia's business cycle," Economic Modelling, Elsevier, vol. 28(1), pages 549-556.
    20. Arčabić, Vladimir & Panovska, Irina & Tica, Josip, 2024. "Business cycle synchronization and asymmetry in the European Union," Economic Modelling, Elsevier, vol. 139(C).

    More about this item

    Keywords

    Hamilton filter; HP filter; expert-benchmark congruency; gap-inflation link; spectral analysis.;
    All these keywords.

    JEL classification:

    • C18 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Methodolical Issues: General
    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes
    • E31 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Price Level; Inflation; Deflation
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • H60 - Public Economics - - National Budget, Deficit, and Debt - - - General

    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:mar:magkse:202421. 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: Bernd Hayo (email available below). General contact details of provider: https://edirc.repec.org/data/vamarde.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.