jumps: Hodrick-Prescott Filter with Jumps

A set of functions to compute the Hodrick-Prescott (HP) filter with automatically selected jumps. The original HP filter extracts a smooth trend from a time series, and our version allows for a small number of automatically identified jumps. See Maranzano and Pelagatti (2024) <doi:10.2139/ssrn.4896170> for details.

Version: 1.0
Depends: R (≥ 3.5.0)
Imports: Rcpp (≥ 1.0.10), stats, nloptr
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), ggplot2, xts
Published: 2025-03-24
DOI: 10.32614/CRAN.package.jumps
Author: Matteo Pelagatti ORCID iD [aut, cre, cph], Paolo Maranzano ORCID iD [aut, cph]
Maintainer: Matteo Pelagatti <matteo.pelagatti at unimib.it>
License: GPL-3
NeedsCompilation: yes
Citation: jumps citation info
Materials: README
CRAN checks: jumps results

Documentation:

Reference manual: jumps.pdf
Vignettes: Formulae (source, R code)
Introduction to the jumps package (source, R code)

Downloads:

Package source: jumps_1.0.tar.gz
Windows binaries: r-devel: jumps_1.0.zip, r-release: jumps_1.0.zip, r-oldrel: jumps_1.0.zip
macOS binaries: r-devel (arm64): jumps_1.0.tgz, r-release (arm64): jumps_1.0.tgz, r-oldrel (arm64): jumps_1.0.tgz, r-devel (x86_64): jumps_1.0.tgz, r-release (x86_64): jumps_1.0.tgz, r-oldrel (x86_64): jumps_1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=jumps to link to this page.

mirror server hosted at Truenetwork, Russian Federation.