IDEAS home Printed from https://ideas.repec.org/a/bla/jtsera/v43y2022i3p479-489.html
   My bibliography  Save this article

The spectral analysis of the Hodrick–Prescott filter

Author

Listed:
  • Neslihan Sakarya
  • Robert M. de Jong

Abstract

The Hodrick–Prescott (HP) filter is a commonly used tool in macroeconomics to obtain the HP filter trend of a macroeconomic variable. In macroeconomics, the difference between the original series and this trend is called the ‘cyclical component’. In this article, we derive the autocovariance function and the spectrum of the cyclical component of a series that consists of a constant, a linear time trend, a unit root process, and a weakly stationary process. We show that the autocovariance function of the cyclical component of such a series depends on (i) the autocovariance of the innovations of the unit root process; (ii) the autocovariance of the weakly stationary process and; (iii) a component of the weights of the HP filter that is important in the middle of a large sample. The result for the spectrum of the cyclical component matches with earlier results in the literature that were obtained by using an approximate approach. Lastly, we derive the cross‐covariance function and the cross‐spectrum of the cyclical components of two cointegrated series.

Suggested Citation

  • Neslihan Sakarya & Robert M. de Jong, 2022. "The spectral analysis of the Hodrick–Prescott filter," Journal of Time Series Analysis, Wiley Blackwell, vol. 43(3), pages 479-489, May.
  • Handle: RePEc:bla:jtsera:v:43:y:2022:i:3:p:479-489
    DOI: 10.1111/jtsa.12622
    as

    Download full text from publisher

    File URL: https://doi.org/10.1111/jtsa.12622
    Download Restriction: no

    File URL: https://libkey.io/10.1111/jtsa.12622?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Peter C. B. Phillips & Zhentao Shi, 2021. "Boosting: Why You Can Use The Hp Filter," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 62(2), pages 521-570, May.
    2. Dean Corbae & Sam Ouliaris & Peter C. B. Phillips, 2002. "Band Spectral Regression with Trending Data," Econometrica, Econometric Society, vol. 70(3), pages 1067-1109, May.
    3. 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.
    4. 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.
    5. 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.
    6. Kydland, Finn E & Prescott, Edward C, 1982. "Time to Build and Aggregate Fluctuations," Econometrica, Econometric Society, vol. 50(6), pages 1345-1370, 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. Robert M. de Jong & Neslihan Sakarya, 2016. "The Econometrics of the Hodrick-Prescott Filter," The Review of Economics and Statistics, MIT Press, vol. 98(2), pages 310-317, May.
    9. Sakarya, Neslihan & de Jong, Robert M., 2020. "A Property Of The Hodrick–Prescott Filter And Its Application," Econometric Theory, Cambridge University Press, vol. 36(5), pages 840-870, October.
    10. Peter C. B. Phillips & Sainan Jin, 2021. "Business Cycles, Trend Elimination, And The Hp Filter," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 62(2), pages 469-520, May.
    11. 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.
    12. 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.
    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. Peter C. B. Phillips & Zhentao Shi, 2021. "Boosting: Why You Can Use The Hp Filter," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 62(2), pages 521-570, May.
    4. 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.
    5. Ziwei Mei & Zhentao Shi & Peter C. B. Phillips, 2022. "The boosted HP filter is more general than you might think," Cowles Foundation Discussion Papers 2348, Cowles Foundation for Research in Economics, Yale University.
    6. Joseph G. Haubrich, 2020. "How Cyclical Is Bank Capital?," Journal of Financial Services Research, Springer;Western Finance Association, vol. 58(1), pages 27-38, August.
    7. Peter C.B. Phillips & Zhentao Shi, 2019. "Boosting the Hodrick-Prescott Filter," Cowles Foundation Discussion Papers 2192, Cowles Foundation for Research in Economics, Yale University.
    8. Melina Dritsaki & Chaido Dritsaki, 2022. "Comparison of HP Filter and the Hamilton’s Regression," Mathematics, MDPI, vol. 10(8), pages 1-18, April.
    9. Baffes, John & Kabundi, Alain, 2023. "Commodity price shocks: Order within chaos?," Resources Policy, Elsevier, vol. 83(C).
    10. 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.
    11. Wolf, Elias & Mokinski, Frieder & Schüler, Yves, 2020. "On adjusting the one-sided Hodrick-Prescott filter," Discussion Papers 11/2020, Deutsche Bundesbank.
    12. Omoshoro-Jones, Oyeyinka Sunday, 2021. "Asymmetry in Okun’s Law Revisited: New evidence on cyclical unemployment–cyclical output trade-off in the Free State Province using NARDL model," MPRA Paper 107126, University Library of Munich, Germany.
    13. 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.
    14. Haitham A. Al-Zoubi, 2024. "An affine model for short rates when monetary policy is path dependent," Review of Derivatives Research, Springer, vol. 27(2), pages 151-201, July.
    15. Ugo Panizza, 2022. "Do Countries Default in Bad Times? The Role of Alternative Detrending Techniques," IHEID Working Papers 06-2022, Economics Section, The Graduate Institute of International Studies.
    16. 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.
    17. Ye Lu & Adrian Pagan, 2023. "To Boost or Not to Boost? That is the Question," CAMA Working Papers 2023-12, Centre for Applied Macroeconomic Analysis, Crawford School of Public Policy, The Australian National University.
    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. Jylhä, Petri & Lof, Matthijs, 2022. "Mind the Basel gap," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 79(C).

    More about this item

    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:bla:jtsera:v:43:y:2022:i:3:p:479-489. 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: Wiley Content Delivery (email available below). General contact details of provider: http://www.blackwellpublishing.com/journal.asp?ref=0143-9782 .

    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.