Why You Should Never Use the Hodrick-Prescott Filter
James D. Hamilton
No 23429, NBER Working Papers from National Bureau of Economic Research, Inc
Abstract:
Here's why. (1) The HP filter produces series with spurious dynamic relations that have no basis in the underlying data-generating process. (2) Filtered values at the end of the sample are very different from those in the middle, and are also characterized by spurious dynamics. (3) A statistical formalization of the problem typically produces values for the smoothing parameter vastly at odds with common practice, e.g., a value for λ far below 1600 for quarterly data. (4) There's a better alternative. A regression of the variable at date t+h on the four most recent values as of date t offers a robust approach to detrending that achieves all the objectives sought by users of the HP filter with none of its drawbacks.
JEL-codes: C22 E32 E47 (search for similar items in EconPapers)
Date: 2017-05
New Economics Papers: this item is included in nep-dcm, nep-ecm, nep-ets and nep-mac
Note: EFG ME PR
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (176)
Published as James D. Hamilton, 2018. "Why You Should Never Use the Hodrick-Prescott Filter," The Review of Economics and Statistics, vol 100(5), pages 831-843.
Downloads: (external link)
http://www.nber.org/papers/w23429.pdf (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:nbr:nberwo:23429
Ordering information: This working paper can be ordered from
http://www.nber.org/papers/w23429
Access Statistics for this paper
More papers in NBER Working Papers from National Bureau of Economic Research, Inc National Bureau of Economic Research, 1050 Massachusetts Avenue Cambridge, MA 02138, U.S.A.. Contact information at EDIRC.
Bibliographic data for series maintained by ().