{
  "_id": "6ae4c45d95ca2370cc8d0204",
  "Package": "jumps",
  "Type": "Package",
  "Title": "Hodrick-Prescott Filter and Spline Smoothing with Jumps",
  "Version": "2.0.0",
  "Date": "2026-10-27",
  "Authors@R": "c(\nperson(\"Matteo\", \"Pelagatti\", , \"matteo.pelagatti@unimib.it\", role = c(\"aut\",\"cre\",\"cph\"),\ncomment = c(ORCID = \"0000-0002-1860-7535\")),\nperson(\"Paolo\", \"Maranzano\", , \"pmaranzano.ricercastatistica@gmail.com\", role = c(\"aut\",\"cph\"),\ncomment = c(ORCID = \"0000-0002-9228-2759\")),\nperson(\"Giulio Cesare\", \"Gatto Ronchieri\", role = \"ctb\")\n)",
  "Maintainer": "Matteo Pelagatti <matteo.pelagatti@unimib.it>",
  "Description": "A set of functions to compute the Hodrick-Prescott (HP)\nfilter and spline smoothing with automatically selected jumps.\nThe original HP filter and spline smoothing extract a smooth\nsignal, and our version allows for a small number of\nautomatically identified jumps. Smoothing splines with\ndiscontinuities are obtained either by time warping, or by the\ndynamic-programming algorithm of Storath and Weinmann (2024)\n<doi:10.1080/10618600.2023.2262000>. See Pelagatti, Maranzano\nand Gatto Ronchieri (2026) <doi:10.48550/arXiv.2610.33137> for\ndetails on the smoothing splines with discontinuities, and\nMaranzano and Pelagatti (2025)\n<doi:10.1016/j.econmod.2025.107132> for details on the HP\nfilter with jumps.",
  "License": "GPL-3",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/matteopelagatti/jumps",
  "BugReports": "https://github.com/matteopelagatti/jumps/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-30 16:16:36 UTC",
    "User": "root"
  },
  "Author": "Matteo Pelagatti [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-1860-7535>), Paolo Maranzano [aut,\ncph] (ORCID: <https://orcid.org/0000-0002-9228-2759>), Giulio\nCesare Gatto Ronchieri [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-30 14:24:22 UTC",
  "RemoteUrl": "https://github.com/cran/jumps",
  "RemoteRef": "HEAD",
  "RemoteSha": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
  "_user": "cran",
  "_type": "src",
  "_file": "jumps_2.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/61d7b7f6007e06626b0ff764026f34c205973aba11178a7542be11f0fa88f783",
  "_filesize": 1753704,
  "_sha256": "61d7b7f6007e06626b0ff764026f34c205973aba11178a7542be11f0fa88f783",
  "_expires": "2027-02-07T16:22:51.000Z",
  "_created": "2026-10-30T16:16:36.000Z",
  "_published": "2026-10-30T16:22:53.216Z",
  "_upstream": "https://github.com/cran/jumps",
  "_status": "success",
  "_maintainer": {
    "name": "Matteo Pelagatti",
    "email": "matteo.pelagatti@unimib.it",
    "login": "matteopelagatti",
    "description": "Professor of Economic and Business Statistics at the Department of Economics, Management and Statistics, University of Milano-Bicocca.",
    "uuid": 6666469,
    "orcid": "0000-0002-1860-7535"
  },
  "_jobs": [
    {
      "job": 124175934156,
      "time": 181,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12993156441"
    },
    {
      "job": 124175934091,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12993116152"
    },
    {
      "job": 124175934087,
      "time": 134,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12993036209"
    },
    {
      "job": 124175934108,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12992434047"
    },
    {
      "job": 124173340538,
      "time": 241,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12992513168"
    },
    {
      "job": 124175934376,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12993036177"
    },
    {
      "job": 124175934107,
      "time": 304,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12993805309"
    },
    {
      "job": 124175934117,
      "time": 199,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12992054248"
    },
    {
      "job": 124175934292,
      "time": 275,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12993296191"
    },
    {
      "job": 124175934373,
      "time": 121,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12993146067"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129",
  "_commit": {
    "id": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
    "author": "Matteo Pelagatti <matteo.pelagatti@unimib.it>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0.0\n",
    "time": 1793370262
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.10",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "xts",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.0",
      "date": "2026-10-30"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "matteopelagatti",
      "count": 2,
      "uuid": 6666469
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 234,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/jumps"
  },
  "_devurl": "https://github.com/matteopelagatti/jumps",
  "_searchresults": 2,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/jumps.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/matteopelagatti/jumps",
  "_realowner": "matteopelagatti",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2025-03-24"
    },
    {
      "version": "2.0.0",
      "date": "2026-10-30"
    }
  ],
  "_exports": [
    "auto_hpfj",
    "auto_hpfj_fix",
    "auto_hpfjx",
    "auto_ssj_atw",
    "auto_ssj_atw_cv",
    "auto_ssj_atw_gcv",
    "auto_ssj_cssd",
    "auto_ssj_fix",
    "auto_ssj_kfs",
    "auto_ssj_mle",
    "dummyseas",
    "hpfj",
    "hpfj_fix",
    "hpfjx",
    "hpj",
    "llt",
    "mse",
    "predict_cssd_dp",
    "ssj_atw",
    "ssj_breaks",
    "ssj_cssd",
    "ssj_cssd_dp",
    "ssj_fix",
    "ssj_kfs",
    "ssj_mle",
    "trigseas"
  ],
  "_datasets": [
    {
      "name": "demand_temp",
      "title": "Electricity demand and temperature: the analysis sample",
      "object": "demand_temp",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Temperature",
        "Load"
      ],
      "rows": 1691,
      "table": true,
      "tojson": true
    },
    {
      "name": "employed_IT",
      "title": "Employed people in Italy by age class",
      "object": "employed_IT",
      "class": [
        "mts",
        "ts",
        "matrix",
        "array"
      ],
      "fields": [
        "Y15.24",
        "Y15.64",
        "Y20.64",
        "Y25.54",
        "Y55.64",
        "Y15.29",
        "Y15.74",
        "Y25.29",
        "Y29.54",
        "Y29.74"
      ],
      "rows": 126,
      "table": true,
      "tojson": true
    },
    {
      "name": "load_temp",
      "title": "Hourly electricity load of Northern Italy and temperature of Milan",
      "object": "load_temp",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Datetime",
        "Load",
        "Temperature"
      ],
      "rows": 24092,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "auto_hpfj",
      "title": "Automatic selection of the optimal HP filter with jumps",
      "topics": [
        "auto_hpfj"
      ]
    },
    {
      "page": "auto_hpfj_fix",
      "title": "Automatic selection of the optimal HP filter with jumps and fixed smoothing constant",
      "topics": [
        "auto_hpfj_fix"
      ]
    },
    {
      "page": "auto_hpfjx",
      "title": "Automatic selection of the optimal HP filter with jumps and regressors",
      "topics": [
        "auto_hpfjx"
      ]
    },
    {
      "page": "auto_ssj_atw",
      "title": "Automatic selection of the optimal smoothing spline with jumps using the alternating time-warping algorithm",
      "topics": [
        "auto_ssj_atw"
      ]
    },
    {
      "page": "auto_ssj_atw_cv",
      "title": "Smoothing splines with jumps by alternating time warping, with the smoothing constant chosen by cross-validation",
      "topics": [
        "auto_ssj_atw_cv"
      ]
    },
    {
      "page": "auto_ssj_atw_gcv",
      "title": "Smoothing splines with jumps by alternating time warping, with the smoothing constant chosen by generalized cross-validation",
      "topics": [
        "auto_ssj_atw_gcv"
      ]
    },
    {
      "page": "auto_ssj_cssd",
      "title": "Automatic CSSD with K-fold cross-validation of the parameters",
      "topics": [
        "auto_ssj_cssd"
      ]
    },
    {
      "page": "auto_ssj_fix",
      "title": "Automatic selection of the optimal smoothing spline with jumps and fixed smoothing parameter",
      "topics": [
        "auto_ssj_fix"
      ]
    },
    {
      "page": "auto_ssj_kfs",
      "title": "Automatic selection of the optimal time-warping smoothing spline with jumps using the Kalman filter and smoother",
      "topics": [
        "auto_ssj_kfs"
      ]
    },
    {
      "page": "auto_ssj_mle",
      "title": "Automatic selection of the optimal time-warping smoothing spline with jumps using maximum-likelihood estimation",
      "topics": [
        "auto_ssj_mle"
      ]
    },
    {
      "page": "BIC.hpj",
      "title": "BIC method for the class hpj",
      "topics": [
        "BIC.hpj"
      ]
    },
    {
      "page": "demand_temp",
      "title": "Electricity demand and temperature: the analysis sample",
      "topics": [
        "demand_temp"
      ]
    },
    {
      "page": "dummyseas",
      "title": "Seasonal dummy variables",
      "topics": [
        "dummyseas"
      ]
    },
    {
      "page": "employed_IT",
      "title": "Employed people in Italy by age class",
      "topics": [
        "employed_IT"
      ]
    },
    {
      "page": "hpfj",
      "title": "HP filter with automatic jump detection",
      "topics": [
        "hpfj"
      ]
    },
    {
      "page": "hpfj_fix",
      "title": "HP filter with automatic jump detection and fixed smoothing constant",
      "topics": [
        "hpfj_fix"
      ]
    },
    {
      "page": "hpfjx",
      "title": "HP filter with jumps and regressors (still experimental)",
      "topics": [
        "hpfjx"
      ]
    },
    {
      "page": "hpj",
      "title": "Hodrick-Prescott filter with jumps",
      "topics": [
        "hpj"
      ]
    },
    {
      "page": "llt",
      "title": "Kalman filtering and smoothing for local linear trend plus noise",
      "topics": [
        "llt"
      ]
    },
    {
      "page": "load_temp",
      "title": "Hourly electricity load of Northern Italy and temperature of Milan",
      "topics": [
        "load_temp"
      ]
    },
    {
      "page": "logLik.hpj",
      "title": "logLik method for the class hpj",
      "topics": [
        "logLik.hpj"
      ]
    },
    {
      "page": "mse",
      "title": "Mean squared error",
      "topics": [
        "mse"
      ]
    },
    {
      "page": "nobs.hpj",
      "title": "nobs method for the class hpj",
      "topics": [
        "nobs.hpj"
      ]
    },
    {
      "page": "plot.hpj",
      "title": "Plot method for the class hpj",
      "topics": [
        "plot.hpj"
      ]
    },
    {
      "page": "plot.ssj",
      "title": "Plot method for the class ssj",
      "topics": [
        "plot.ssj"
      ]
    },
    {
      "page": "predict_cssd_dp",
      "title": "Predict from a fitted CSSD at new locations",
      "topics": [
        "predict_cssd_dp"
      ]
    },
    {
      "page": "predict.ssj",
      "title": "Predict from a smoothing spline with jumps",
      "topics": [
        "predict.ssj"
      ]
    },
    {
      "page": "print.hpj",
      "title": "Print method for the class hpj",
      "topics": [
        "print.hpj"
      ]
    },
    {
      "page": "print.ssj",
      "title": "Print method for the class ssj",
      "topics": [
        "print.ssj"
      ]
    },
    {
      "page": "ssj_atw",
      "title": "Smoothing splines with automatic jump detection using the alternating time-warping algorithm",
      "topics": [
        "ssj_atw"
      ]
    },
    {
      "page": "ssj_breaks",
      "title": "Discontinuities declared by a smoothing spline with jumps",
      "topics": [
        "ssj_breaks"
      ]
    },
    {
      "page": "ssj_cssd",
      "title": "Total-variation denoising for irregularly sampled signals",
      "topics": [
        "ssj_cssd"
      ]
    },
    {
      "page": "ssj_cssd_dp",
      "title": "Cubic smoothing spline with discontinuities (CSSD)",
      "topics": [
        "ssj_cssd_dp"
      ]
    },
    {
      "page": "ssj_fix",
      "title": "Smoothing splines with automatic jump detection and fixed smoothing parameter",
      "topics": [
        "ssj_fix"
      ]
    },
    {
      "page": "ssj_kfs",
      "title": "Smoothing splines with automatic jump detection via time warping and Kalman filter-smoother estimation",
      "topics": [
        "ssj_kfs"
      ]
    },
    {
      "page": "ssj_mle",
      "title": "Smoothing splines with automatic jump detection via time warping and maximum-likelihood estimation of the smoothing parameter",
      "topics": [
        "ssj_mle"
      ]
    },
    {
      "page": "trigseas",
      "title": "Trigonometric seasonal variables",
      "topics": [
        "trigseas"
      ]
    }
  ],
  "_readme": "https://github.com/cran/jumps/raw/HEAD/README.md",
  "_rundeps": [
    "nloptr",
    "Rcpp",
    "RcppEigen"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "formulae.Rmd",
      "filename": "formulae.html",
      "title": "Formulae",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Basic model for the HP filter with jumps",
        "Scalar Kalman filtering recursions",
        "Modifications when missing observations are present",
        "Diffuse initial conditions",
        "$t=1$",
        "$t=2$",
        "$t=3$",
        "Smoothing",
        "Weights for computing the effective degrees of freedom",
        "Analytical scores",
        "$\\lambda$ free",
        "$\\lambda$ fixed"
      ],
      "created": "2025-03-24 15:00:06",
      "modified": "2025-03-24 15:00:06",
      "commits": 1
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to the jumps package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Basic usage",
        "Examples",
        "Simulated time series",
        "Nile time series",
        "Employment in Italy",
        "Smoothing splines with jumps",
        "A simulated example",
        "Application: electricity demand and temperature"
      ],
      "created": "2025-03-24 15:00:06",
      "modified": "2026-10-30 14:24:22",
      "commits": 2
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "jumps",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://matteopelagatti.r-universe.dev/jumps",
  "_previous": "1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-30T16:19:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
      "fileid": "https://r2.ropensci.org/92504d1f04b7b5b7bf865c81bd04c941e268dc57a13d6011e3dd816cbbe19d57",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-30T16:19:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
      "fileid": "https://r2.ropensci.org/5796861a64562c37c59326cc63c1db83a0a77e81eee9b62fc04072593945e2f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-30T16:18:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
      "fileid": "https://r2.ropensci.org/4c9b490f99407f5fefec185371b49e00a5b83bef5ed9f957043a6d2d9fb35ca9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-30T16:19:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
      "fileid": "https://r2.ropensci.org/c30f8eb9ab5379b316e47f031adac22986b5374692663bfbcffb638b1a9eeb97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-10-30T16:19:10.000Z",
      "arch": "emscripten",
      "commit": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
      "fileid": "https://r2.ropensci.org/cf3e93d1677efdc3b8a989acdfce9338d77ba67152bdc3b3c61ac58766ee1722",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-30T16:21:01.000Z",
      "arch": "aarch64",
      "commit": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
      "fileid": "https://r2.ropensci.org/777ed82fd0222660cb8e418e9af9a6dd010554e91d82de17318bce923cac10d0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-30T16:18:24.000Z",
      "arch": "x86_64",
      "commit": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
      "fileid": "https://r2.ropensci.org/dcaab013b05f34bf72691e81e20e8613f82ec4fb3c4ad19901fa9cfb0794cc04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-30T16:20:43.000Z",
      "arch": "aarch64",
      "commit": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
      "fileid": "https://r2.ropensci.org/ed5dfa02e800380ac5d698c29d088966c94bc3e770f12bd62bcae0d99420a75d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-30T16:18:25.000Z",
      "arch": "x86_64",
      "commit": "716ebfc388243adb06cd399dcfbfef9b17d1f658",
      "fileid": "https://r2.ropensci.org/da647b02d3346e005ce252d4b5b732e7ccda3888761ce6177aa7649eb3e8df11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087071129"
    }
  ]
}