IDEAS home Printed from https://ideas.repec.org/p/rim/rimwps/46_11.html
   My bibliography  Save this paper

The Hodrick-Prescott (HP) Filter as a Bayesian Regression Model

Author

Listed:
  • Wolfgang Polasek

    (Institute for Advanced Studies, Vienna, Austria; University of Porto, Porto, Portugal)

Abstract

The Hodrick-Prescott (HP) method is a popular smoothing method for economic time series to get a smooth or long-term component of stationary series like growth rates. We show that the HP smoother can be viewed as a Bayesian linear model with a strong prior using differencing matrices for the smoothness component. The HP smoothing approach requires a linear regression model with a Bayesian conjugate multi-normal-gamma distribution. The Bayesian approach also allows to make predictions of the HP smoother on both ends of the time series. Furthermore, we show how Bayes tests can determine the order of smoothness in the HP smoothing model. The extended HP smoothing approach is demonstrated for the non-stationary (textbook) airline passenger time series. Thus, the Bayesian extension of the HP model defines a new class of model-based smoothers for (non-stationary) time series and spatial models.

Suggested Citation

  • Wolfgang Polasek, 2011. "The Hodrick-Prescott (HP) Filter as a Bayesian Regression Model," Working Paper series 46_11, Rimini Centre for Economic Analysis, revised Jan 2012.
  • Handle: RePEc:rim:rimwps:46_11
    as

    Download full text from publisher

    File URL: http://www.rcea.org/RePEc/pdf/wp46_11.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Polasek, Wolfgang, 2011. "The Hodrick-Prescott (HP) Filter as a Bayesian Regression Model," Economics Series 277, Institute for Advanced Studies.
    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. Wolfgang Polasek & Richard Sellner, 2013. "The Does Globalization Affect Regional Growth? Evidence for NUTS-2 Regions in EU-27," DANUBE: Law and Economics Review, European Association Comenius - EACO, issue 1, pages 23-65, March.
    4. Uhlig, H.F.H.V.S. & Ravn, M., 1997. "On Adjusting the H-P Filter for the Frequency of Observations," Discussion Paper 1997-50, Tilburg University, Center for Economic Research.
    5. Hodrick, Robert J & Prescott, Edward C, 1997. "Postwar U.S. Business Cycles: An Empirical Investigation," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 29(1), pages 1-16, February.
    6. Blackburn, Keith & Ravn, Morten O, 1992. "Business Cycles in the United Kingdom: Facts and Fictions," Economica, London School of Economics and Political Science, vol. 59(236), pages 383-401, November.
    7. 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.
    8. Wolfgang Polasek, 2012. "MCMC Estimation of Extended Hodrick-Prescott (HP) Filtering Models," DANUBE: Law and Economics Review, European Association Comenius - EACO, issue 1, pages 25-52, March.
    9. Ravn, Morten O., 1997. "International business cycles in theory and in practice," Journal of International Money and Finance, Elsevier, vol. 16(2), pages 255-283, April.
    10. 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.
    11. Finn E. Kydland & Edward C. Prescott, 1990. "Business cycles: real facts and a monetary myth," Quarterly Review, Federal Reserve Bank of Minneapolis, vol. 14(Spr), pages 3-18.
    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. David E. Giles, 2013. "Constructing confidence bands for the Hodrick--Prescott filter," Applied Economics Letters, Taylor & Francis Journals, vol. 20(5), pages 480-484, March.
    2. Wolfgang Polasek, 2011. "The Hodrick-Prescott (HP) Filter as a Bayesian Regression Model," Working Paper series 46_11, Rimini Centre for Economic Analysis, revised Jan 2012.

    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. Wolfgang Polasek, 2012. "MCMC Estimation of Extended Hodrick-Prescott (HP) Filtering Models," DANUBE: Law and Economics Review, European Association Comenius - EACO, issue 1, pages 25-52, March.
    2. Wolfgang Polasek, 2011. "The Extended Hodrick-Prescott (HP) Filter for Spatial Regression Smoothing," Working Paper series 45_11, Rimini Centre for Economic Analysis.
    3. Uhlig, H.F.H.V.S. & Ravn, M., 1997. "On Adjusting the H-P Filter for the Frequency of Observations," Discussion Paper 1997-50, Tilburg University, Center for Economic Research.
    4. João Sousa Andrade & António Portugal Duarte, 2012. "The Importance of a Good Indicator for Global Exciess Demand," Book Chapters, in: Paulino Teixeira & António Portugal Duarte & Srdjan Redzepagic & Dejan Eric (ed.), European Integration Process in Western Balkan Countries, edition 1, volume 1, chapter 1, pages 11-35, Institute of Economic Sciences.
    5. Eduardo Loría & Emmanuel Salas, 2014. "Ciclos, crecimiento económico y crisis en México, 1980.1-2013.4," Estudios Económicos, El Colegio de México, Centro de Estudios Económicos, vol. 29(2), pages 131-161.
    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. Woitek, Ulrich, 2003. "Height cycles in the 18th and 19th centuries," Economics & Human Biology, Elsevier, vol. 1(2), pages 243-257, June.
    8. Artis, Michael, 2002. "Dating the Business Cycle in Britain," National Institute Economic Review, National Institute of Economic and Social Research, vol. 182, pages 90-95, October.
    9. 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.
    10. Restrepo Ochoa, Sergio I. & Vázquez Pérez, Jesús, 2002. "Cyclical Features of Uzawa-Lucas Endogenous Growth Model," DFAEII Working Papers 1988-088X, University of the Basque Country - Department of Foundations of Economic Analysis II.
    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. Aadland, David, 2005. "Detrending time-aggregated data," Economics Letters, Elsevier, vol. 89(3), pages 287-293, December.
    13. Mark W. French, 2001. "Estimating changes in trend growth of total factor productivity: Kalman and H-P filters versus a Markov-switching framework," Finance and Economics Discussion Series 2001-44, Board of Governors of the Federal Reserve System (U.S.).
    14. Peter Brandner & Klaus Neusser, 1992. "Business cycles in open economies: Stylized facts for Austria and Germany," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 128(1), pages 67-87, March.
    15. Alessandra Iacobucci & Alain Noullez, 2005. "A Frequency Selective Filter for Short-Length Time Series," Computational Economics, Springer;Society for Computational Economics, vol. 25(1), pages 75-102, February.
    16. Robert Hart & James Malley & Ulrich Woitek, 2009. "Real earnings and business cycles: new evidence," Empirical Economics, Springer, vol. 37(1), pages 51-71, September.
    17. Odile Chagny & Jörg Döpke, 2001. "Measures of the Output Gap in the Euro-Zone: An Empirical Assessment of Selected Methods," Vierteljahrshefte zur Wirtschaftsforschung / Quarterly Journal of Economic Research, DIW Berlin, German Institute for Economic Research, vol. 70(3), pages 310-332.
    18. King, Robert G. & Rebelo, Sergio T., 1999. "Resuscitating real business cycles," Handbook of Macroeconomics, in: J. B. Taylor & M. Woodford (ed.), Handbook of Macroeconomics, edition 1, volume 1, chapter 14, pages 927-1007, Elsevier.
    19. Konstantakis, Konstantinos N. & Michaelides, Panayotis G., 2017. "Does technology cause business cycles in the USA? A Schumpeter-inspired approach," Structural Change and Economic Dynamics, Elsevier, vol. 43(C), pages 15-26, December.
    20. Lechman, Ewa & Dominiak, Piotr, 2016. "Entrepreneurship vulnerability to business cycle. A new methodology for identification pro-cyclical and counter-cyclical patterns of entrepreneurial activity," MPRA Paper 68793, University Library of Munich, Germany.

    More about this item

    Keywords

    Hodrick-Prescott (HP) smoothers; model selection by marginal likelihoods; multi-normal-gamma distribution; Spatial sales growth data; Bayesian econometrics;
    All these keywords.

    JEL classification:

    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • C15 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Statistical Simulation Methods: General
    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
    • E17 - Macroeconomics and Monetary Economics - - General Aggregative Models - - - Forecasting and Simulation: Models and Applications
    • R12 - Urban, Rural, Regional, Real Estate, and Transportation Economics - - General Regional Economics - - - Size and Spatial Distributions of Regional Economic Activity; Interregional Trade (economic geography)

    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:rim:rimwps:46_11. 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: Marco Savioli (email available below). General contact details of provider: https://edirc.repec.org/data/rcfeait.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.