Trend-cycle filters¶
In the app: Help → Help contents, Trend-cycle filters.
Filters split a series into a slow-moving trend and a cycle. The HP filter penalises changes in the trend's growth (lambda sets the smoothness); band-pass filters (Baxter-King, Christiano-Fitzgerald) keep cycles between two lengths; Hamilton's filter uses the error in a two-year-ahead regression forecast. Two-sided filters revise the end of the sample as data arrive; one-sided versions use only the past.
References¶
- Hodrick, R. J. and Prescott, E. C. (1997). Postwar U.S. business cycles: an empirical investigation. Journal of Money, Credit and Banking 29(1), 1-16. doi:10.2307/2953682
- Hamilton, J. D. (2018). Why you should never use the Hodrick-Prescott filter. Review of Economics and Statistics 100(5), 831-843. doi:10.1162/rest_a_00706
- Christiano, L. and Fitzgerald, T. (2003). The band pass filter. International Economic Review 44(2), 435-465. doi:10.1111/1468-2354.t01-1-00076