IDEAS home Printed from https://ideas.repec.org/p/ags/feemwp/344134.html
   My bibliography  Save this paper

A Hodrick-Prescott filter with automatically selected jumps

Author

Listed:
  • Maranzano, Paolo
  • Pelagatti, Matteo

Abstract

The Hodrick-Prescott filter is a popular tool in macroeconomics for decomposing a time series into a smooth trend and a business cycle component. The last few years have witnessed global events, such as the Global Financial Crisis, the COVID-19 pandemic, and the war in Ukraine, that have had abrupt structural impacts on many economic time series. Moreover, new regulations and policy changes generally lead to similar behaviours. Thus, those events should be absorbed by the trend component of the trend-cycle decomposition, but the Hodrick-Prescott filter does not allow for jumps. We propose a modification of the Hodrick-Prescott filter that contemplates jumps and automatically selects the time points in which the jumps occur. We provide an efficient implementation of the new filter in an R package. We use our modified filter to assess what Italian labour market reforms impacted employment in different age groups.

Suggested Citation

  • Maranzano, Paolo & Pelagatti, Matteo, 2024. "A Hodrick-Prescott filter with automatically selected jumps," FEEM Working Papers 344134, Fondazione Eni Enrico Mattei (FEEM).
  • Handle: RePEc:ags:feemwp:344134
    DOI: 10.22004/ag.econ.344134
    as

    Download full text from publisher

    File URL: https://ageconsearch.umn.edu/record/344134/files/NDL2024-18.pdf
    Download Restriction: no

    File URL: https://libkey.io/10.22004/ag.econ.344134?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. Lorenzo Cappellari & Carlo Dell’Aringa & Marco Leonardi, 2012. "Temporary Employment, Job Flows and Productivity: A Tale of Two Reforms," Economic Journal, Royal Economic Society, vol. 122(562), pages 188-215, August.
    2. Gnocato, Nicolò & Modena, Francesca & Tomasi, Chiara, 2020. "Labor market reforms and allocative efficiency in Italy," Labour Economics, Elsevier, vol. 67(C).
    3. Steven M. Fazzari, Ella Needler, 2021. "US employment inequality in the Great Recession and the COVID-19 pandemic," European Journal of Economics and Economic Policies: Intervention, Edward Elgar Publishing, vol. 18(2), pages 223–239-2, September.
    4. Koopman, Siem Jan & Harvey, Andrew, 2003. "Computing observation weights for signal extraction and filtering," Journal of Economic Dynamics and Control, Elsevier, vol. 27(7), pages 1317-1333, May.
    5. Emanuela Ciapanna & Sauro Mocetti & Alessandro Notarpietro, 2020. "The effects of structural reforms: Evidence from Italy," Temi di discussione (Economic working papers) 1303, Bank of Italy, Economic Research and International Relations Area.
    6. Elsa Fornero, 2015. "Economic-financial Literacy and (Sustainable) Pension Reforms: Why the Former is a Key Ingredient for the Latter," Bankers, Markets & Investors, ESKA Publishing, issue 134, pages 6-16, January-F.
    7. Marta Fana & Dario Guarascio & Valeria Cirillo, 2016. "Did Italy Need More Labour Flexibility?," Intereconomics: Review of European Economic Policy, Springer;ZBW - Leibniz Information Centre for Economics;Centre for European Policy Studies (CEPS), vol. 51(2), pages 79-86, March.
    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. Bratti, Massimiliano & Conti, Maurizio & Sulis, Giovanni, 2021. "Employment protection and firm-provided training in dual labour markets," Labour Economics, Elsevier, vol. 69(C).
    10. Shibata, Ippei, 2021. "The distributional impact of recessions: The global financial crisis and the COVID-19 pandemic recession," Journal of Economics and Business, Elsevier, vol. 115(C).
    11. 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.
    12. Eddelbuettel, Dirk & Francois, Romain, 2011. "Rcpp: Seamless R and C++ Integration," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 40(i08).
    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. Calcagnini, Giorgio & Marin, Giovanni & Perugini, Francesco, 2021. "Labour flexibility, internal migration and productivity in Italian regions," Structural Change and Economic Dynamics, Elsevier, vol. 57(C), pages 308-320.
    2. Alain Hecq & Elisa Voisin, 2023. "Predicting Crashes in Oil Prices During The Covid-19 Pandemic with Mixed Causal-Noncausal Models," Advances in Econometrics, in: Essays in Honor of Joon Y. Park: Econometric Methodology in Empirical Applications, volume 45, pages 209-233, Emerald Group Publishing Limited.
    3. Niţoi, Mihai & Pochea, Maria Miruna, 2016. "Testing financial markets convergence in Central and Eastern Europe: A non-linear single factor model," Economic Systems, Elsevier, vol. 40(2), pages 323-334.
    4. 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.
    5. Francesco Giancaterini & Alain Hecq & Claudio Morana, 2022. "Is Climate Change Time-Reversible?," Econometrics, MDPI, vol. 10(4), pages 1-18, December.
    6. Wolf, Elias & Mokinski, Frieder & Schüler, Yves, 2020. "On adjusting the one-sided Hodrick-Prescott filter," Discussion Papers 11/2020, Deutsche Bundesbank.
    7. Nghiem, Son & Tran, Bach & Afoakwah, Clifford & Byrnes, Joshua & Scuffham, Paul, 2021. "Wealthy, healthy and green: Are we there yet?," World Development, Elsevier, vol. 147(C).
    8. Weinert, Howard L., 2007. "Efficient computation for Whittaker-Henderson smoothing," Computational Statistics & Data Analysis, Elsevier, vol. 52(2), pages 959-974, October.
    9. 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.
    10. Lee, Sokbae & Liao, Yuan & Seo, Myung Hwan & Shin, Youngki, 2021. "Sparse HP filter: Finding kinks in the COVID-19 contact rate," Journal of Econometrics, Elsevier, vol. 220(1), pages 158-180.
    11. 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.
    12. Carneiro,Francisco Galrao & Garrido,Leonardo, 2015. "New evidence on the cyclicality of fiscal policy," Policy Research Working Paper Series 7293, The World Bank.
    13. Faria, Gonçalo & Verona, Fabio, 2020. "The yield curve and the stock market: Mind the long run," Journal of Financial Markets, Elsevier, vol. 50(C).
    14. Bottasso, Anna & Bratti, Massimiliano & Cardullo, Gabriele & Conti, Maurizio & Sulis, Giovanni, 2023. "Labor Market Regulation and Firm Adjustments in Skill Demand," IZA Discussion Papers 16262, Institute of Labor Economics (IZA).
    15. 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.
    16. Cassetta, Ernesto & Nava, Consuelo R. & Zoia, Maria Grazia, 2022. "A three-step procedure to investigate the convergence of electricity and natural gas prices in the European Union," Energy Economics, Elsevier, vol. 105(C).
    17. Yener Coskun & Nicholas Apergis & Esra Alp Coskun, 2022. "Nonlinear responses of consumption to wealth, income, and interest rate shocks," Empirical Economics, Springer, vol. 63(3), pages 1293-1335, September.
    18. Cassetta, Ernesto & Nava, Consuelo R. & Zoia, Maria Grazia, 2022. "EU electricity market integration and cross-country convergence in residential and industrial end-user prices," Energy Policy, Elsevier, vol. 165(C).
    19. Roberto Iannaccone & Edoardo Otranto, 2003. "Signal Extraction in Continuous Time and the Generalized Hodrick- Prescott Filter," Econometrics 0311002, University Library of Munich, Germany.
    20. Al-Zoubi, Haitham A., 2019. "Bond and option prices with permanent shocks," Journal of Empirical Finance, Elsevier, vol. 53(C), pages 272-290.

    More about this item

    Keywords

    Institutional and Behavioral Economics;

    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:ags:feemwp:344134. 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: AgEcon Search (email available below). General contact details of provider: https://edirc.repec.org/data/feemmit.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.