Package: neverhpfilter 0.4-2

neverhpfilter: An Alternative to the Hodrick-Prescott Filter

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>.

Authors:Justin M. Shea [aut, cre]

neverhpfilter_0.4-2.tar.gz
neverhpfilter_0.4-2.zip(r-4.5)neverhpfilter_0.4-2.zip(r-4.4)neverhpfilter_0.4-2.zip(r-4.3)
neverhpfilter_0.4-2.tgz(r-4.5-any)neverhpfilter_0.4-2.tgz(r-4.4-any)neverhpfilter_0.4-2.tgz(r-4.3-any)
neverhpfilter_0.4-2.tar.gz(r-4.5-noble)neverhpfilter_0.4-2.tar.gz(r-4.4-noble)
neverhpfilter_0.4-2.tgz(r-4.4-emscripten)neverhpfilter_0.4-2.tgz(r-4.3-emscripten)
neverhpfilter.pdf |neverhpfilter.html
neverhpfilter/json (API)
NEWS

# Install 'neverhpfilter' in R:
install.packages('neverhpfilter', repos = c('https://justinmshea.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/justinmshea/neverhpfilter/issues

Pkgdown site:https://justinmshea.github.io

Datasets:
  • EXPGSC1 - Real Exports of Goods and Services
  • FEDFUNDS - Effective Federal Funds Rate
  • GCEC1 - Real Government Consumption Expenditures and Gross Investment
  • GDPC1 - Gross Domestic Product
  • GDPDEF - Gross Domestic Product: Implicit Price Deflator
  • GPDIC1 - Real Gross Private Domestic Investment
  • GS10 - 10-Year Treasury Constant Maturity Rate
  • Hamilton_table_2 - Hamilton_table_2
  • IMPGSC1 - Real imports of goods and services
  • PAYEMS - Employment Situation
  • PCECC96 - Real Personal Consumption Expenditures
  • SP500 - U.S. Stock Markets and CAPE Ratio
  • UNRATENSA - Civilian Unemployment Rate
  • USREC - Recession Indicators Series

On CRAN:

Conda:

hamiltonhp-filtertime-series

5.93 score 14 stars 61 scripts 275 downloads 2 exports 3 dependencies

Last updated 2 years agofrom:49c2274328. Checks:3 OK, 5 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 27 2025
R-4.5-winNOTEFeb 27 2025
R-4.5-macNOTEFeb 27 2025
R-4.5-linuxNOTEFeb 27 2025
R-4.4-winNOTEFeb 27 2025
R-4.4-macNOTEFeb 27 2025
R-4.3-winOKFeb 27 2025
R-4.3-macOKFeb 27 2025

Exports:yth_filteryth_glm

Dependencies:latticextszoo

Getting started

Rendered fromGetting-started.mdusingsimplermarkdown::mdweave_to_htmlon Feb 27 2025.

Last update: 2022-12-10
Started: 2022-12-10

Reproducing Hamilton

Rendered fromReproducing-Hamilton.mdusingsimplermarkdown::mdweave_to_htmlon Feb 27 2025.

Last update: 2022-12-10
Started: 2022-12-10