Abstract

We derive the exact expression for the weights of the Hodrick-Prescott (HP) filter in a finite sample without making any assumptions about the statistical properties of the time series. We use the results to give insights into the properties of the HP filter and to build a fast algorithm with computational improvements by a factor of up to three times in samples typical in economics.

Supplementary data

You do not currently have access to this content.