Date of This Version
7-11-2024
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.
Recommended Citation
Maranzano, Paolo and Pelagatti, Matteo M., "A Hodrick-Prescott filter with automatically selected jumps" (July 11, 2024). Fondazione Eni Enrico Mattei Working Papers. Paper 1445.
https://services.bepress.com/feem/paper1445