IDEAS home Printed from https://ideas.repec.org/p/lmu/muenec/17940.html
   My bibliography  Save this paper

Reducing the Excess Variability of the Hodrick-Prescott Filter by Flexible Penalization

Author

Listed:
  • Bloechl, Andreas

Abstract

The Hodrick-Prescott filter is the probably most popular tool for trend estimation in economics. Compared to other frequently used methods like the Baxter-King filter it allows to estimate the trend for the most recent periods of a time series. However, the Hodrick- Prescott filter suffers from an increasing excess variability at the margins of the series inducing a too flexible trend function at the margins compared to the middle. This paper will tackle this problem using spectral analysis and a flexible penalization. It will show that the excess variability can be reduced immensely by a flexible penalization, while the gain function for the middle of the time series is used as a measure to determine the degree of the flexible penalization.

Suggested Citation

  • Bloechl, Andreas, 2014. "Reducing the Excess Variability of the Hodrick-Prescott Filter by Flexible Penalization," Discussion Papers in Economics 17940, University of Munich, Department of Economics.
  • Handle: RePEc:lmu:muenec:17940
    as

    Download full text from publisher

    File URL: https://epub.ub.uni-muenchen.de/17940/1/HP-filter%20with%20reduced%20excess%20variability.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Kauermann Goeran & Krivobokova Tatyana & Semmler Willi, 2011. "Filtering Time Series with Penalized Splines," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 15(2), pages 1-28, March.
    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. Danthine, Jean-Pierre & Girardin, Michel, 1989. "Business cycles in Switzerland : A comparative study," European Economic Review, Elsevier, vol. 33(1), pages 31-50, January.
    4. Schlicht, Ekkehart, 2004. "Estimating the Smoothing Parameter in the So-Called Hodrick-Prescott Filter," IZA Discussion Papers 1054, Institute of Labor Economics (IZA).
    5. Agustín Maravall & Ana del Río, 2001. "Time Aggregation and the Hodrick-Prescott Filter," Working Papers 0108, Banco de España.
    6. Bennett T. McCallum, 2000. "Alternative monetary policy rules : a comparison with historical settings for the United States, the United Kingdom, and Japan," Economic Quarterly, Federal Reserve Bank of Richmond, issue Win, pages 49-79.
    7. Flaig Gebhard, 2015. "Why We Should Use High Values for the Smoothing Parameter of the Hodrick-Prescott Filter," Journal of Economics and Statistics (Jahrbuecher fuer Nationaloekonomie und Statistik), De Gruyter, vol. 235(6), pages 518-538, December.
    8. Stamfort, Stefan, 2005. "Berechnung trendbereinigter Indikatoren für Deutschland mit Hilfe von Filterverfahren," Discussion Paper Series 1: Economic Studies 2005,19, Deutsche Bundesbank.
    9. Proietti, Tommaso, 2007. "Signal extraction and filtering by linear semiparametric methods," Computational Statistics & Data Analysis, Elsevier, vol. 52(2), pages 935-958, October.
    10. McElroy, Tucker, 2008. "Matrix Formulas For Nonstationary Arima Signal Extraction," Econometric Theory, Cambridge University Press, vol. 24(4), pages 988-1009, August.
    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. Blöchl, Andreas, 2014. "Penalized Splines as Frequency Selective Filters - Reducing the Excess Variability at the Margins," Discussion Papers in Economics 20687, University of Munich, Department of Economics.
    2. Bloechl, Andreas, 2014. "Penalized Splines, Mixed Models and the Wiener-Kolmogorov Filter," Discussion Papers in Economics 21406, University of Munich, Department of Economics.
    3. Blöchl, Andreas, 2014. "Trend Estimation with Penalized Splines as Mixed Models for Series with Structural Breaks," Discussion Papers in Economics 18446, University of Munich, Department of Economics.
    4. Miroslav Plašil, 2011. "Potenciální produkt, mezera výstupu a míra nejistoty spojená s jejich určením při použití Hodrick-Prescottova filtru [Potential Product, Output Gap and Uncertainty Rate Associated with Their Determ," Politická ekonomie, Prague University of Economics and Business, vol. 2011(4), pages 490-507.
    5. Göran Kauermann & Timo Teuber & Peter Flaschel, 2012. "Exploring US Business Cycles with Bivariate Loops Using Penalized Spline Regression," Computational Economics, Springer;Society for Computational Economics, vol. 39(4), pages 409-427, April.
    6. Dimitrios D. Thomakos, 2008. "Optimal Linear Filtering, Smoothing and Trend Extraction for Processes with Unit Roots and Cointegration," Working Paper series 14_08, Rimini Centre for Economic Analysis.
    7. Dermoune Azzouz & Djehiche Boualem & Rahmania Nadji, 2009. "Multivariate Extension of the Hodrick-Prescott Filter-Optimality and Characterization," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 13(3), pages 1-35, May.
    8. Andres, Javier & Domenech, Rafael & Fatas, Antonio, 2008. "The stabilizing role of government size," Journal of Economic Dynamics and Control, Elsevier, vol. 32(2), pages 571-593, February.
    9. Maravall, A. & del Rio, A., 2007. "Temporal aggregation, systematic sampling, and the Hodrick-Prescott filter," Computational Statistics & Data Analysis, Elsevier, vol. 52(2), pages 975-998, October.
    10. Botshekan, Mahmoud & Lucas, André, 2017. "Long-Term versus Short-Term Contingencies in Asset Allocation," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 52(5), pages 2277-2303, October.
    11. Aadland, David, 2005. "Detrending time-aggregated data," Economics Letters, Elsevier, vol. 89(3), pages 287-293, December.
    12. Michaelides, Panayotis G. & Papageorgiou, Theofanis, 2012. "On the transmission of economic fluctuations from the USA to EU-15 (1960–2011)," Journal of Economics and Business, Elsevier, vol. 64(6), pages 427-438.
    13. Joël CARIOLLE, 2012. "Measuring macroeconomic volatility - Applications to export revenue data, 1970-2005," Working Papers I14, FERDI.
    14. Junsheng Ha & Pei-Pei Tan & Kim-Leng Goh, 2018. "Linear and nonlinear causal relationship between energy consumption and economic growth in China: New evidence based on wavelet analysis," PLOS ONE, Public Library of Science, vol. 13(5), pages 1-21, May.
    15. Michael Tomz & Mark L. J. Wright, 2007. "Do Countries Default in "Bad Times" ?," Journal of the European Economic Association, MIT Press, vol. 5(2-3), pages 352-360, 04-05.
    16. Albert Marcet & Morte O. Ravn, "undated". "The HP-Filter in Cross-Country Comparisons," Studies on the Spanish Economy 100, FEDEA.
    17. Joël CARIOLLE, 2012. "Mesurer l’instabilité macroéconomique - Applications aux données de recettes d’exportation, 1970-2005," Working Papers I14, FERDI.
    18. 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.
    19. Ángel L. Martín‐Román & Jaime Cuéllar‐Martín & Alfonso Moral, 2020. "Labor supply and the business cycle: The “bandwagon worker effect”," Papers in Regional Science, Wiley Blackwell, vol. 99(6), pages 1607-1642, December.
    20. David E. Giles & Chad N. Stroomer, 2004. "Identifying the Cycle of a Macroeconomic Time-Series Using Fuzzy Filtering," Econometrics Working Papers 0406, Department of Economics, University of Victoria.

    More about this item

    Keywords

    Hodrick-Prescott filter; spectral analysis; trend estimation; gain function; flexible penalization;
    All these keywords.

    JEL classification:

    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes
    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection

    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:lmu:muenec:17940. 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: Tamilla Benkelberg (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.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.