IDEAS home Printed from https://ideas.repec.org/p/zbw/ifwkwp/2158.html
   My bibliography  Save this paper

Reliable real-time output gap estimates based on a modified Hamilton filter

Author

Listed:
  • Quast, Josefine
  • Wolters, Maik H.

Abstract

We propose a simple modification of Hamilton's (2018) time series filter that yields reliable and economically meaningful real-time output gap estimates. The original filter relies on 8 quarter ahead forecast errors of a simple autoregression of real GDP. While this approach yields a cyclical component that is hardly revised with new incoming data due to the one-sided filtering approach, it does not cover typical business cycle frequencies evenly, but mutes short and amplifies medium length cycles. Further, as the estimated trend contains high frequency noise, it can hardly be interpreted as potential GDP. A simple modification based on the mean of 4 to 12 quarter ahead forecast errors shares the favorable real-time properties of the Hamilton filter, but leads to a much better coverage of typical business cycle frequencies and a smooth estimated trend. Based on output growth and inflation forecasts and a comparison to revised output gap estimates from policy institutions, we find that real-time output gaps based on the modified and the original Hamilton filter are economically much more meaningful measures of the business cycle than those based on other simple statistical trend-cycle decomposition techniques, such as the HP or bandpass filter, and should thus be used preferably.

Suggested Citation

  • Quast, Josefine & Wolters, Maik H., 2020. "Reliable real-time output gap estimates based on a modified Hamilton filter," Kiel Working Papers 2158, Kiel Institute for the World Economy (IfW Kiel).
  • Handle: RePEc:zbw:ifwkwp:2158
    as

    Download full text from publisher

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

    Other versions of this item:

    References listed on IDEAS

    as
    1. Perron, Pierre & Wada, Tatsuma, 2009. "Let's take a break: Trends and cycles in US real GDP," Journal of Monetary Economics, Elsevier, vol. 56(6), pages 749-765, September.
    2. Orphanides, Athanasios & van Norden, Simon, 2005. "The Reliability of Inflation Forecasts Based on Output Gap Estimates in Real Time," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 37(3), pages 583-601, June.
    3. James H. Stock & Mark W. Watson, 2008. "Phillips curve inflation forecasts," Conference Series ; [Proceedings], Federal Reserve Bank of Boston.
    4. 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.
    5. Björn Richter & Moritz Schularick & Paul Wachtel, 2021. "When to Lean against the Wind," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 53(1), pages 5-39, February.
    6. Canova, Fabio, 1998. "Detrending and business cycle facts: A user's guide," Journal of Monetary Economics, Elsevier, vol. 41(3), pages 533-540, May.
    7. Canova, Fabio, 1998. "Detrending and business cycle facts," Journal of Monetary Economics, Elsevier, vol. 41(3), pages 475-512, May.
    8. Richter, Björn & Schularick, Moritz & Shim, Ilhyock, 2019. "The costs of macroprudential policy," Journal of International Economics, Elsevier, vol. 118(C), pages 263-282.
    9. 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.
    10. Stock, James H. & Watson, Mark W., 1999. "Forecasting inflation," Journal of Monetary Economics, Elsevier, vol. 44(2), pages 293-335, October.
    11. Baxter, Marianne & Stockman, Alan C., 1989. "Business cycles and the exchange-rate regime : Some international evidence," Journal of Monetary Economics, Elsevier, vol. 23(3), pages 377-400, May.
    12. Sven Langedijk & Martin Larch, 2011. "Testing EU fiscal surveillance: how sensitive is it to variations in output gap estimates?," International Review of Applied Economics, Taylor & Francis Journals, vol. 25(1), pages 39-60.
    13. 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.
    14. Alejandro Justiniano & Giorgio E. Primiceri, 2008. "The Time-Varying Volatility of Macroeconomic Fluctuations," American Economic Review, American Economic Association, vol. 98(3), pages 604-641, June.
    15. Perron, Pierre & Wada, Tatsuma, 2016. "Measuring business cycles with structural breaks and outliers: Applications to international data," Research in Economics, Elsevier, vol. 70(2), pages 281-303.
    16. Pierre St-Amant & Simon van Norden, 1997. "Measurement of the Output Gap: A Discussion of Recent Research at the Bank of Canada," Technical Reports 79, Bank of Canada.
    17. 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.
    18. Diego Comin & Mark Gertler, 2006. "Medium-Term Business Cycles," American Economic Review, American Economic Association, vol. 96(3), pages 523-551, June.
    19. Pierre-Olivier Beffy & Patrice Ollivaud & Pete Richardson & Franck Sédillot, 2006. "New OECD Methods for Supply-side and Medium-term Assessments: A Capital Services Approach," OECD Economics Department Working Papers 482, OECD Publishing.
    20. Maik H. Wolters, 2018. "How the baby boomers' retirement wave distorts model‐based output gap estimates," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 33(5), pages 680-689, August.
    21. Vetlov, Igor & Pisani, Massimiliano & Hlédik, Tibor & Jonsson, Magnus & Kucsera, Henrik, 2011. "Potential output in DSGE models," Working Paper Series 1351, European Central Bank.
    22. 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.
    23. Jon Danielsson & Marcela Valenzuela & Ilknur Zer, 2018. "Learning from History: Volatility and Financial Crises," The Review of Financial Studies, Society for Financial Studies, vol. 31(7), pages 2774-2805.
    24. Anthony Garratt & Kevin Lee & Emi Mise & Kalvinder Shields, 2008. "Real-Time Representations of the Output Gap," The Review of Economics and Statistics, MIT Press, vol. 90(4), pages 792-804, November.
    25. David Gruen & Tim Robinson & Andrew Stone, 2005. "Output Gaps In Real Time: How Reliable Are They?," The Economic Record, The Economic Society of Australia, vol. 81(252), pages 6-18, March.
    26. V. V. Chari & Patrick J. Kehoe & Ellen R. McGrattan, 2009. "New Keynesian Models: Not Yet Useful for Policy Analysis," American Economic Journal: Macroeconomics, American Economic Association, vol. 1(1), pages 242-266, January.
    27. Stock, James H. & Watson, Mark W., 1999. "Business cycle fluctuations in us macroeconomic time series," Handbook of Macroeconomics, in: J. B. Taylor & M. Woodford (ed.), Handbook of Macroeconomics, edition 1, volume 1, chapter 1, pages 3-64, Elsevier.
    28. 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.
    29. Jushan Bai & Pierre Perron, 1998. "Estimating and Testing Linear Models with Multiple Structural Changes," Econometrica, Econometric Society, vol. 66(1), pages 47-78, January.
    30. Simon van Norden, 2002. "Filtering for Current Analysis," Staff Working Papers 02-28, Bank of Canada.
    31. Harding, Don & Pagan, Adrian, 2002. "Dissecting the cycle: a methodological investigation," Journal of Monetary Economics, Elsevier, vol. 49(2), pages 365-381, March.
    32. 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.
    33. James H. Stock & Mark W. Watson, 2007. "Why Has U.S. Inflation Become Harder to Forecast?," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(s1), pages 3-33, February.
    34. Olivier Coibion & Yuriy Gorodnichenko & Mauricio Ulate, 2018. "The Cyclical Sensitivity in Estimates of Potential Output," Brookings Papers on Economic Activity, Economic Studies Program, The Brookings Institution, vol. 49(2 (Fall)), pages 343-441.
    35. 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.
    36. Cayen, Jean-Philippe & van Norden, Simon, 2005. "The reliability of Canadian output-gap estimates," The North American Journal of Economics and Finance, Elsevier, vol. 16(3), pages 373-393, December.
    37. Jan De Loecker & Jan Eeckhout & Gabriel Unger, 2020. "The Rise of Market Power and the Macroeconomic Implications [“Econometric Tools for Analyzing Market Outcomes”]," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 135(2), pages 561-644.
    38. James D. Hamilton, 2019. "Measuring Global Economic Activity," NBER Working Papers 25778, National Bureau of Economic Research, Inc.
    39. Nelson, Charles R., 2008. "The Beveridge-Nelson decomposition in retrospect and prospect," Journal of Econometrics, Elsevier, vol. 146(2), pages 202-206, October.
    40. Marcellino, Massimiliano & Musso, Alberto, 2011. "The reliability of real-time estimates of the euro area output gap," Economic Modelling, Elsevier, vol. 28(4), pages 1842-1856, July.
    41. Jushan Bai & Pierre Perron, 2003. "Computation and analysis of multiple structural change models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 18(1), pages 1-22.
    42. Gerhard Bry & Charlotte Boschan, 1971. "Programmed Selection of Cyclical Turning Points," NBER Chapters, in: Cyclical Analysis of Time Series: Selected Procedures and Computer Programs, pages 7-63, National Bureau of Economic Research, Inc.
    43. Tom Bernhardsen & ØYvind Eitrheim, 2005. "Real-time data for Norway: Output gap revisions and challenges for monetary policy," Computing in Economics and Finance 2005 274, Society for Computational Economics.
    44. Clark, Todd E. & McCracken, Michael W., 2006. "The Predictive Content of the Output Gap for Inflation: Resolving In-Sample and Out-of-Sample Evidence," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 38(5), pages 1127-1148, August.
    45. Michael D. Bordo & Pierre Siklos, 2017. "Central Banks: Evolution and Innovation in Historical Perspective," Economics Working Papers 17105, Hoover Institution, Stanford University.
    46. Blix, Mårten, 1999. "Forecasting Swedish Inflation With a Markov Switching VAR," Working Paper Series 76, Sveriges Riksbank (Central Bank of Sweden).
    47. Günter Coenen & Frank Smets & Igor Vetlov, 2009. "Estimation of the Euro Area Output Gap Using the NAWM," Bank of Lithuania Working Paper Series 5, Bank of Lithuania.
    48. David López-Salido & Jeremy C. Stein & Egon Zakrajšek, 2017. "Credit-Market Sentiment and the Business Cycle," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 132(3), pages 1373-1426.
    49. Edvinsson,Rodney & Jacobson,Tor & Waldenström,Daniel (ed.), 2018. "Sveriges Riksbank and the History of Central Banking," Cambridge Books, Cambridge University Press, number 9781107193109, September.
    50. Hie Ahn & James Hamilton, 2016. "Heterogeneity and Unemployment Dynamics," Working Papers id:11130, eSocialSciences.
    51. Mise, Emi & Kim, Tae-Hwan & Newbold, Paul, 2005. "On suboptimality of the Hodrick-Prescott filter at time series endpoints," Journal of Macroeconomics, Elsevier, vol. 27(1), pages 53-67, March.
    52. 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.
    53. Julien Champagne & Guillaume Poulin‐Bellisle & Rodrigo Sekkel, 2018. "The Real‐Time Properties of the Bank of Canada's Staff Output Gap Estimates," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 50(6), pages 1167-1188, September.
    54. James H. Stock & Mark W. Watson, 2007. "Erratum to "Why Has U.S. Inflation Become Harder to Forecast?"," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(7), pages 1849-1849, October.
    55. Ms. Paula De Masi, 1997. "IMF Estimates of Potential Output: Theory and Practice," IMF Working Papers 1997/177, International Monetary Fund.
    56. Arthur F. Burns & Wesley C. Mitchell, 1946. "Measuring Business Cycles," NBER Books, National Bureau of Economic Research, Inc, number burn46-1.
    57. Rochelle M. Edge & Jeremy B. Rudd, 2016. "Real-Time Properties of the Federal Reserve's Output Gap," The Review of Economics and Statistics, MIT Press, vol. 98(4), pages 785-791, October.
    58. Mark W. Watson, 2007. "How accurate are real-time estimates of output trends and gaps?," Economic Quarterly, Federal Reserve Bank of Richmond, vol. 93(Spr), pages 143-161.
    59. Gerhard Bry & Charlotte Boschan, 1971. "Foreword to "Cyclical Analysis of Time Series: Selected Procedures and Computer Programs"," NBER Chapters, in: Cyclical Analysis of Time Series: Selected Procedures and Computer Programs, pages -1, National Bureau of Economic Research, Inc.
    60. David Rosnick, 2016. "Potential for Trouble: The IMF's Estimates of Potential GDP," CEPR Reports and Issue Briefs 2016-08, Center for Economic and Policy Research (CEPR).
    61. Baxter, Marianne, 1991. "Business cycles, stylized facts, and the exchange rate regime: evidence from the United States," Journal of International Money and Finance, Elsevier, vol. 10(1), pages 71-88, March.
    62. Willem Van Zandweghe, 2017. "The Changing Cyclicality of Labor Force Participation," Economic Review, Federal Reserve Bank of Kansas City, issue Q III, pages 5-34.
    63. Bernhardsen, Tom & Eitrheim, Oyvind & Jore, Anne Sofie & Roisland, Oistein, 2005. "Real-time data for Norway: Challenges for monetary policy," The North American Journal of Economics and Finance, Elsevier, vol. 16(3), pages 333-349, December.
    64. Kilian,Lutz & Lütkepohl,Helmut, 2018. "Structural Vector Autoregressive Analysis," Cambridge Books, Cambridge University Press, number 9781107196575, September.
    65. Robert J. Hodrick, 2020. "An Exploration of Trend-Cycle Decomposition Methodologies in Simulated Data," NBER Working Papers 26750, National Bureau of Economic Research, Inc.
    66. Robert Shackleton, 2018. "Estimating and Projecting Potential Output Using CBO’s Forecasting Growth Model: Working Paper 2018-03," Working Papers 53558, Congressional Budget Office.
    67. Hie Joo Ahn & James D. Hamilton, 2020. "Heterogeneity and Unemployment Dynamics," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 38(3), pages 554-569, July.
    68. Gerhard Bry & Charlotte Boschan, 1971. "Cyclical Analysis of Time Series: Selected Procedures and Computer Programs," NBER Books, National Bureau of Economic Research, Inc, number bry_71-1.
    69. 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.
    70. Wolf, Elias & Mokinski, Frieder & Schüler, Yves, 2020. "On adjusting the one-sided Hodrick-Prescott filter," Discussion Papers 11/2020, Deutsche Bundesbank.
    71. Andrew Atkeson & Lee E. Ohanian, 2001. "Are Phillips curves useful for forecasting inflation?," Quarterly Review, Federal Reserve Bank of Minneapolis, vol. 25(Win), pages 2-11.
    72. James H. Stock & Mark W. Watson, 2007. "Why Has U.S. Inflation Become Harder to Forecast?," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(s1), pages 3-33, February.
    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. 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.
    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. 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.
    5. 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.
    6. Aastveit, Knut Are & Trovik, Tørres, 2014. "Estimating the output gap in real time: A factor model approach," The Quarterly Review of Economics and Finance, Elsevier, vol. 54(2), pages 180-193.
    7. Fukuda, Kosei, 2012. "Illustrating extraordinary shocks causing trend breaks," Economic Modelling, Elsevier, vol. 29(4), pages 1045-1052.
    8. 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.
    9. Á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.
    10. Camila Figueroa & Jorge Fornero & Pablo García, 2019. "Hindsight vs. Real time measurement of the output gap: Implications for the Phillips curve in the Chilean Case," Working Papers Central Bank of Chile 854, Central Bank of Chile.
    11. Morley, James & Panovska, Irina B., 2020. "Is Business Cycle Asymmetry Intrinsic In Industrialized Economies?," Macroeconomic Dynamics, Cambridge University Press, vol. 24(6), pages 1403-1436, September.
    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. Verbrugge, Randal & Zaman, Saeed, 2023. "The hard road to a soft landing: Evidence from a (modestly) nonlinear structural model," Energy Economics, Elsevier, vol. 123(C).
    14. Julien Champagne & Guillaume Poulin‐Bellisle & Rodrigo Sekkel, 2018. "The Real‐Time Properties of the Bank of Canada's Staff Output Gap Estimates," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 50(6), pages 1167-1188, September.
    15. James Morley, 2014. "Measuring Economic Slack: A Forecast-Based Approach with Applications to Economies in Asia and the Pacific," BIS Working Papers 451, Bank for International Settlements.
    16. Hilde Bjørnland & Leif Brubakk & Anne Jore, 2008. "Forecasting inflation with an uncertain output gap," Empirical Economics, Springer, vol. 35(3), pages 413-436, November.
    17. Ard den Reijer, 2006. "The Dutch business cycle: which indicators should we monitor?," DNB Working Papers 100, Netherlands Central Bank, Research Department.
    18. Bartoletto, Silvana & Chiarini, Bruno & Marzano, Elisabetta & Piselli, Paolo, 2019. "Business cycles, credit cycles, and asymmetric effects of credit fluctuations: Evidence from Italy for the period of 1861–2013," Journal of Macroeconomics, Elsevier, vol. 61(C), pages 1-1.
    19. João Sousa Andrade & António Portugal Duarte, 2014. "Output-gaps in the PIIGS Economies: An Ingredient of a Greek Tragedy," GEMF Working Papers 2014-06, GEMF, Faculty of Economics, University of Coimbra.
    20. 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.

    More about this item

    Keywords

    business cycle measurement; potential output; trend-cycle decomposition; real-time data; inflation forecasting; output growth forecasting;
    All these keywords.

    JEL classification:

    • C18 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Methodolical Issues: General
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • E37 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Forecasting and Simulation: Models and Applications

    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:ifwkwp:2158. 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/iwkiede.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.