Skip to content

neverhpfilter

An Alternative to the Hodrick-Prescott Filter

v0.5-0 · Aug 21, 2025 · GPL-3

Description

In the working paper titled "Why You Should Never Use the Hodrick-Prescott Filter", James D. Hamilton proposes a new alternative to economic time series filtering. The neverhpfilter package provides functions and data for reproducing his work. Hamilton (2017) <doi:10.3386/w23429>.

Downloads

434

Last 30 days

8736th

1.1K

Last 90 days

4.2K

Last year

Trend: +10.2% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies xts zoo neverhpfilter

Version History

new 0.5-0 Mar 10, 2026
updated 0.5-0 ← 0.4-0 diff Aug 20, 2025
updated 0.4-0 ← 0.3-1 diff Jun 17, 2021
updated 0.3-1 ← 0.2-0 diff Feb 8, 2020
new 0.2-0 Jan 23, 2018