IDEAS home Printed from https://ideas.repec.org/p/ihs/ihsesp/277.html
   My bibliography  Save this paper

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

Author

Listed:
  • Polasek, Wolfgang

    (Department of Economics and Finance, Institute for Advanced Studies, Vienna, Austria and University of 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

  • Polasek, Wolfgang, 2011. "The Hodrick-Prescott (HP) Filter as a Bayesian Regression Model," Economics Series 277, Institute for Advanced Studies.
  • Handle: RePEc:ihs:ihsesp:277
    as

    Download full text from publisher

    File URL: https://irihs.ihs.ac.at/id/eprint/2096
    File Function: First version, 2011
    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. repec:bla:econom:v:59:y:1992:i:236:p:383-401 is not listed on IDEAS
    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. 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.
    2. 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.

    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. 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.
    4. 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.
    5. 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.
    6. Woitek, Ulrich, 2003. "Height cycles in the 18th and 19th centuries," Economics & Human Biology, Elsevier, vol. 1(2), pages 243-257, June.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. Aadland, David, 2005. "Detrending time-aggregated data," Economics Letters, Elsevier, vol. 89(3), pages 287-293, December.
    12. 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.).
    13. 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.
    14. Robert Hart & James Malley & Ulrich Woitek, 2009. "Real earnings and business cycles: new evidence," Empirical Economics, Springer, vol. 37(1), pages 51-71, September.
    15. 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.
    16. 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.
    17. 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.
    18. 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.
    19. Jorg Scheibe, 2003. "The Chinese Output Gap During the Reform Period 1978-2002," Economics Series Working Papers 179, University of Oxford, Department of Economics.
    20. Zsolt Darvas & Gábor Vadas, 2003. "Univariate Potential Output Estimations for Hungary," MNB Working Papers 2003/8, Magyar Nemzeti Bank (Central Bank of Hungary).

    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)

    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:ihs:ihsesp:277. 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: Doris Szoncsitz (email available below). General contact details of provider: https://edirc.repec.org/data/deihsat.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.