{
  "_id": "6a211ef5cd65a98ecbd1e2ae",
  "Package": "jumps",
  "Type": "Package",
  "Title": "Hodrick-Prescott Filter and Spline Smoothing with Jumps",
  "Version": "1.0.0.9000",
  "Date": "2025-03-20",
  "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\"))\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. See Maranzano and Pelagatti\n(2024) <doi:10.2139/ssrn.4896170> for details.",
  "License": "GPL-3",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://matteopelagatti.r-universe.dev",
  "Date/Publication": "2026-04-23 16:58:48 UTC",
  "RemoteUrl": "https://github.com/matteopelagatti/jumps",
  "RemoteRef": "HEAD",
  "RemoteSha": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-04 06:39:46 UTC",
    "User": "root"
  },
  "Author": "Matteo Pelagatti [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-1860-7535>),\nPaolo Maranzano [aut, cph] (ORCID:\n<https://orcid.org/0000-0002-9228-2759>)",
  "MD5sum": "57639b7a6e966fc52801d9f24e4e8121",
  "_user": "matteopelagatti",
  "_type": "src",
  "_file": "jumps_1.0.0.9000.tar.gz",
  "_fileid": "92c51d900c511c9ca8507b9ca20022df206fe6b291d1e4de71ea1bc2b76a61c7",
  "_filesize": 735108,
  "_sha256": "92c51d900c511c9ca8507b9ca20022df206fe6b291d1e4de71ea1bc2b76a61c7",
  "_created": "2026-06-04T06:39:46.000Z",
  "_published": "2026-06-04T06:45:09.577Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79463898772,
      "time": 147,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7404744003"
    },
    {
      "job": 79463898787,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7404741685"
    },
    {
      "job": 79463898729,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7404741938"
    },
    {
      "job": 79463898723,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7404739438"
    },
    {
      "job": 79463898836,
      "time": 141,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7404736551"
    },
    {
      "job": 79463898804,
      "time": 245,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7404765849"
    },
    {
      "job": 79463898819,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7404740135"
    },
    {
      "job": 79463898806,
      "time": 280,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7404776278"
    },
    {
      "job": 79463472702,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7404702103"
    },
    {
      "job": 79463898721,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7404735486"
    },
    {
      "job": 79463898730,
      "time": 150,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7404744223"
    },
    {
      "job": 79463898692,
      "time": 115,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7404734516"
    },
    {
      "job": 79463898742,
      "time": 185,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7404754272"
    }
  ],
  "_buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/matteopelagatti/jumps",
  "_commit": {
    "id": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
    "author": "Matteo Pelagatti <matteo.pelagatti@unimib.it>",
    "committer": "Matteo Pelagatti <matteo.pelagatti@unimib.it>",
    "message": "minimal\n",
    "time": 1776963528
  },
  "_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"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.10",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "datasets",
      "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": "matteopelagatti",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0",
      "date": "2025-10-26"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "matteopelagatti",
      "count": 30,
      "uuid": 6666469
    },
    {
      "user": "paolomaranzano",
      "count": 1,
      "uuid": 26416757
    },
    {
      "user": "boundlesstorch",
      "count": 1,
      "uuid": 4742044
    }
  ],
  "_userbio": {
    "uuid": 6666469,
    "type": "user",
    "name": "Matteo Pelagatti",
    "description": "Professor of Economic and Business Statistics at the Department of Economics, Management and Statistics, University of Milano-Bicocca."
  },
  "_downloads": {
    "count": 203,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/jumps"
  },
  "_devurl": "https://github.com/matteopelagatti/jumps",
  "_searchresults": 3,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/jumps.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/matteopelagatti/jumps",
  "_realowner": "matteopelagatti",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2025-03-24"
    }
  ],
  "_exports": [
    "auto_hpfj",
    "auto_hpfj_fix",
    "auto_hpfjx",
    "auto_ssj_fix",
    "BIC.hpj",
    "dummyseas",
    "hpfj",
    "hpfj_fix",
    "hpfjx",
    "hpj",
    "llt",
    "logLik.hpj",
    "mse",
    "nobs.hpj",
    "plot.hpj",
    "print.hpj",
    "ssj_fix",
    "trigseas"
  ],
  "_datasets": [
    {
      "name": "employed_IT",
      "title": "Dataset: employed_IT",
      "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
    }
  ],
  "_help": [
    {
      "page": "jumps-package",
      "title": "Hodrick-Prescott Filter with Jumps",
      "topics": [
        "jumps-package",
        "jumps"
      ]
    },
    {
      "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_fix",
      "title": "Automatic selection of the optimal smoothing spline function with jumps and fixed smoothing parameter",
      "topics": [
        "auto_ssj_fix"
      ]
    },
    {
      "page": "BIC",
      "title": "BIC method for the class hpj",
      "topics": [
        "BIC.hpj"
      ]
    },
    {
      "page": "da",
      "title": "Internal function for computing scores w/r to regression coefficients",
      "topics": [
        "da"
      ]
    },
    {
      "page": "dummyseas",
      "title": "Seasonal dummy variables",
      "topics": [
        "dummyseas"
      ]
    },
    {
      "page": "employed_IT",
      "title": "Dataset: employed_IT",
      "topics": [
        "employed_IT"
      ]
    },
    {
      "page": "hpfj",
      "title": "HP filter with automatic jumps detection.",
      "topics": [
        "hpfj"
      ]
    },
    {
      "page": "hpfj_fix",
      "title": "HP filter with automatic jumps 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": "logLik",
      "title": "logLik method for the class hpj",
      "topics": [
        "logLik.hpj"
      ]
    },
    {
      "page": "mse",
      "title": "Mean squared error",
      "topics": [
        "mse"
      ]
    },
    {
      "page": "nobs",
      "title": "nobs method for the class hpj",
      "topics": [
        "nobs.hpj"
      ]
    },
    {
      "page": "plot",
      "title": "Plot method for the class hpj",
      "topics": [
        "plot.hpj"
      ]
    },
    {
      "page": "print",
      "title": "Print method for the class hpj",
      "topics": [
        "print.hpj"
      ]
    },
    {
      "page": "ssj_fix",
      "title": "Smoothing splines with with automatic jumps detection and fixed smoothing parameter",
      "topics": [
        "ssj_fix"
      ]
    },
    {
      "page": "trigseas",
      "title": "Trigonometric seasonal variables",
      "topics": [
        "trigseas"
      ]
    }
  ],
  "_readme": "https://github.com/matteopelagatti/jumps/raw/HEAD/README.md",
  "_rundeps": [
    "nloptr",
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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": "2024-04-22 22:46:26",
      "modified": "2025-10-26 16:22:33",
      "commits": 8
    },
    {
      "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"
      ],
      "created": "2025-10-26 16:22:33",
      "modified": "2025-10-26 16:22:33",
      "commits": 1
    }
  ],
  "_score": 5.380211241711606,
  "_indexed": true,
  "_nocasepkg": "jumps",
  "_universes": [
    "matteopelagatti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:42:14.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "da364b488ba28fa3dfde8f78a1dbae1aceeb07b32db76c7e0fe8843e805a3c51",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:42:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "086e16aed0f26db6761af05f92f76269f31e01cced646250cda5bbef71bd7eb1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:42:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "01e1f08946267e87a09263d9eef173c0dcaa13eadd32bd1db1117bf3213ba6b1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:41:57.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "f5fc8da0b94dfdd9f35aa636a0dd26e59bb9aefbb6e08b93560a7e8b022f3177",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:41:50.000Z",
      "arch": "aarch64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "485a9542336fe9852f5f2bb97432bdb9e2ee119cfefbd8a96e56447717c9e492",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:43:16.000Z",
      "arch": "x86_64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "345c487ca406f95a1d9bbc9b473ab6fe14e458ae7fea75ae08fb143c30ef48cb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:42:00.000Z",
      "arch": "aarch64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "e15e0146a4026b18f8aa59600d1eb12116574c1a1b50e842b43f89c6c3e425ee",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:43:45.000Z",
      "arch": "x86_64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "7390f69e41dfd3bcee85e10c97ed675112fe03c8081e17dcbbe34148cb771135",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:42:00.000Z",
      "arch": "emscripten",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "f3cc4acad8c67ca8b13fc91cefd02c4fe605df3af18026d1cfa08deb9037639b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:41:36.000Z",
      "arch": "x86_64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "f6dc3f7b22634b1b48adbf5993fa39d9c9c9e9b2760bd15c1f142edd3aff00db",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:41:13.000Z",
      "arch": "x86_64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "4deb29b621aad39eafa7d3bf4cc63740a4783811c2118beec511d17f12810536",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-06-04T06:41:27.000Z",
      "arch": "x86_64",
      "commit": "34162bf44e1fa7a0f48844c4f76c3893f4638091",
      "fileid": "fca156a2b88e37f138354b9d4a7af0d1d112c7e3c6b12e3b94d4ac12b6635d43",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/matteopelagatti/actions/runs/26935278808"
    }
  ]
}