{
  "_id": "6a1f2d72b401979e7342655a",
  "Package": "pintervals",
  "Type": "Package",
  "Title": "Model Agnostic Prediction Intervals",
  "Version": "1.1.4",
  "Description": "Provides tools for estimating model-agnostic prediction\nintervals using conformal prediction, bootstrapping, and\nparametric prediction intervals. The package is designed for\nease of use, offering intuitive functions for both binned and\nfull conformal prediction methods, as well as parametric\ninterval estimation with diagnostic checks. Currently only\nworking for continuous predictions. For details on the\nconformal and bin-conditional conformal prediction methods, see\nRandahl, Williams, and Hegre (2026)\n<DOI:10.1017/pan.2025.10010>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Authors@R": "c(\nperson(\"David\", \"Randahl\", , \"david.randahl@pcr.uu.se\", role = c(\"aut\", \"cre\")),\nperson(\"Jonathan P.\", \"Williams\", role = \"ctb\"),\nperson(\"Anders\", \"Hjort\", role = \"ctb\")\n)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://doktorandahl.r-universe.dev",
  "Date/Publication": "2026-03-16 12:06:19 UTC",
  "RemoteUrl": "https://github.com/doktorandahl/pintervals",
  "RemoteRef": "HEAD",
  "RemoteSha": "3d414d51b750666397072c06704762893b6ace2c",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-15 09:42:30 UTC",
    "User": "root"
  },
  "Author": "David Randahl [aut, cre],\nJonathan P. Williams [ctb],\nAnders Hjort [ctb]",
  "Maintainer": "David Randahl <david.randahl@pcr.uu.se>",
  "MD5sum": "b348e9f33a6e9aa2ef24e173ebbb7da7",
  "_user": "doktorandahl",
  "_type": "src",
  "_file": "pintervals_1.1.4.tar.gz",
  "_fileid": "dae480cdf23ac63f1d6a15cf46d44f34c150e8337da8b67763e360edc5c53520",
  "_filesize": 879059,
  "_sha256": "dae480cdf23ac63f1d6a15cf46d44f34c150e8337da8b67763e360edc5c53520",
  "_created": "2026-05-15T09:42:30.000Z",
  "_published": "2026-06-02T19:22:26.324Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79153375460,
      "time": 164,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7014348173"
    },
    {
      "job": 79153375529,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7014351930"
    },
    {
      "job": 79153375596,
      "time": 148,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7014343641"
    },
    {
      "job": 79153375920,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7014349584"
    },
    {
      "job": 79153375681,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7014334050"
    },
    {
      "job": 79153375834,
      "time": 252,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7014373569"
    },
    {
      "job": 79153375722,
      "time": 109,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7014333334"
    },
    {
      "job": 79153375829,
      "time": 413,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7014420691"
    },
    {
      "job": 79153374992,
      "time": 243,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014301701"
    },
    {
      "job": 79153374894,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367623734"
    },
    {
      "job": 79153375523,
      "time": 150,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7014344158"
    },
    {
      "job": 79153375512,
      "time": 135,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7014340184"
    },
    {
      "job": 79153375670,
      "time": 151,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7014344519"
    }
  ],
  "_buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/doktorandahl/pintervals",
  "_commit": {
    "id": "3d414d51b750666397072c06704762893b6ace2c",
    "author": "doktorandahl <david.randahl@pcr.uu.se>",
    "committer": "doktorandahl <david.randahl@pcr.uu.se>",
    "message": "Bugfixes\n",
    "time": 1773662779
  },
  "_maintainer": {
    "name": "David Randahl",
    "email": "david.randahl@pcr.uu.se",
    "login": "doktorandahl",
    "uuid": 16987256
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "doktorandahl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 2
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-45",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 6
    },
    {
      "week": "2026-01",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 9
    },
    {
      "week": "2026-09",
      "n": 11
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "doktorandahl",
      "count": 77,
      "uuid": 16987256
    }
  ],
  "_userbio": {
    "uuid": 16987256,
    "type": "user",
    "name": "David Randahl"
  },
  "_downloads": {
    "count": 179,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pintervals"
  },
  "_devurl": "https://github.com/doktorandahl/pintervals",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/pintervals.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/doktorandahl/pintervals",
  "_realowner": "doktorandahl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.7.5",
      "date": "2025-03-05"
    },
    {
      "version": "0.7.7",
      "date": "2025-05-06"
    },
    {
      "version": "1.0.1",
      "date": "2026-01-11"
    },
    {
      "version": "1.1.1",
      "date": "2026-03-03"
    }
  ],
  "_exports": [
    "interval_coverage",
    "interval_miscoverage",
    "interval_score",
    "interval_width",
    "pinterval_bccp",
    "pinterval_bootstrap",
    "pinterval_ccp",
    "pinterval_conformal",
    "pinterval_mondrian",
    "pinterval_parametric"
  ],
  "_datasets": [
    {
      "name": "county_turnout",
      "title": "U.S. County-Level Turnout and Demographic Context (MIT Election Lab 2018 Election Analysis Dataset + Additions)",
      "object": "county_turnout",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "state",
        "county",
        "fips",
        "turnout",
        "total_population",
        "nonwhite_pct",
        "foreignborn_pct",
        "female_pct",
        "age29andunder_pct",
        "age65andolder_pct",
        "median_hh_inc",
        "clf_unemploy_pct",
        "lesscollege_pct",
        "lesshs_pct",
        "rural_pct",
        "ruralurban_cc",
        "predicted_turnout",
        "division",
        "region",
        "geo_group",
        "longitude",
        "latitude"
      ],
      "rows": 3107,
      "table": true,
      "tojson": true
    },
    {
      "name": "elections",
      "title": "Election-Year Democracy Indicators from V-Dem (1946–2024)",
      "object": "elections",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "country_name",
        "year",
        "v2x_polyarchy",
        "v2x_libdem",
        "v2x_partipdem",
        "v2x_delibdem",
        "v2x_egaldem",
        "v2xel_frefair",
        "v2x_frassoc_thick",
        "v2x_elecoff",
        "v2eltrnout",
        "v2x_accountability",
        "v2xps_party",
        "v2x_civlib",
        "v2x_corr",
        "v2x_rule",
        "v2x_neopat",
        "v2x_suffr",
        "turnout",
        "hog_lost",
        "hog_lost_num"
      ],
      "rows": 2680,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "county_turnout",
      "title": "U.S. County-Level Turnout and Demographic Context (MIT Election Lab 2018 Election Analysis Dataset + Additions)",
      "topics": [
        "county_turnout"
      ]
    },
    {
      "page": "elections",
      "title": "Election-Year Democracy Indicators from V-Dem (1946–2024)",
      "topics": [
        "elections"
      ]
    },
    {
      "page": "interval_coverage",
      "title": "Empirical Coverage of Prediction Intervals",
      "topics": [
        "interval_coverage"
      ]
    },
    {
      "page": "interval_miscoverage",
      "title": "Empirical Miscoverage of Prediction Intervals",
      "topics": [
        "interval_miscoverage"
      ]
    },
    {
      "page": "interval_score",
      "title": "Mean Interval Score (MIS) for Prediction Intervals",
      "topics": [
        "interval_score"
      ]
    },
    {
      "page": "interval_width",
      "title": "Mean Width of Prediction Intervals",
      "topics": [
        "interval_width"
      ]
    },
    {
      "page": "pinterval_bccp",
      "title": "Bin-Conditional Conformal Prediction Intervals for Continuous Predictions",
      "topics": [
        "pinterval_bccp"
      ]
    },
    {
      "page": "pinterval_bootstrap",
      "title": "Bootstrap Prediction Intervals",
      "topics": [
        "pinterval_bootstrap"
      ]
    },
    {
      "page": "pinterval_ccp",
      "title": "Clustered Conformal Prediction Intervals for Continuous Predictions",
      "topics": [
        "pinterval_ccp"
      ]
    },
    {
      "page": "pinterval_conformal",
      "title": "Conformal Prediction Intervals of Continuous Values",
      "topics": [
        "pinterval_conformal"
      ]
    },
    {
      "page": "pinterval_mondrian",
      "title": "Mondrian Conformal Prediction Intervals for Continuous Predictions",
      "topics": [
        "pinterval_mondrian"
      ]
    },
    {
      "page": "pinterval_parametric",
      "title": "Parametric Prediction Intervals for Continuous Predictions",
      "topics": [
        "pinterval_parametric"
      ]
    }
  ],
  "_pkglogo": "https://github.com/doktorandahl/pintervals/raw/HEAD/man/figures/logo.png",
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "nnet",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_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": "pintervals.Rmd",
      "filename": "pintervals.html",
      "title": "pintervals: an R package for model-agnostic prediction intervals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Prediction intervals",
        "Conformal prediction",
        "Mondrian conformal prediction",
        "Clustered conformal prediction",
        "Distance weighted conformal prediction",
        "Bin-conditional conformal prediction",
        "Bootstrapped prediction intervals",
        "Parametric prediction intervals",
        "The pintervals package and main functions",
        "Conformal prediction intervals",
        "Mondrian and clustered conformal prediction intervals",
        "Bin-conditional conformal prediction intervals",
        "Distance weighted conformal prediction intervals",
        "Using pintervals: An example with predicting county-level turnout",
        "Subgroup coverage with Mondrian and clustered CP",
        "Coverage within ranges of the target with bin-conditional CP",
        "Conclusion",
        "References",
        "Appendix: Simulation-based evaluation of prediction interval methods",
        "Aggregate coverage simulations",
        "Subgroup-wise coverage simulations",
        "Coverage within ranges of the target simulations"
      ],
      "created": "2026-02-27 10:20:25",
      "modified": "2026-02-27 14:48:11",
      "commits": 3
    }
  ],
  "_score": 4.959041392321094,
  "_indexed": true,
  "_nocasepkg": "pintervals",
  "_universes": [
    "doktorandahl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.4",
      "date": "2026-05-15T09:44:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "1e34d8f8b31a68851f7cefcdd875cd9896ec235dcf753843e4c184d91737cfde",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.4",
      "date": "2026-05-15T09:45:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "c74cf53a62f4ee73b66b3229f44a0fc6a54dc8f3606796488a29d9033d4675a2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.4",
      "date": "2026-05-15T09:44:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "91002bac8f4af08da3e818b1e9a3b08e6b6d56071178a92d865d02e980e93d6d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.4",
      "date": "2026-05-15T09:44:51.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "4672210fec6148e51d0fbbd1a36642c68b2f73b4335c4ae7cb7c343afbe63af9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.4",
      "date": "2026-05-15T09:44:11.000Z",
      "arch": "aarch64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "083bc46ea140cebaad9c202a92fabd96b049f729226bef7e014efea2cb93dced",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.4",
      "date": "2026-05-15T09:45:47.000Z",
      "arch": "x86_64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "32398bde304433645da10b8ee8bc8640a47f168b8202fa123016310fd0919ed9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.4",
      "date": "2026-05-15T09:44:07.000Z",
      "arch": "aarch64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "bcfc71623a45844f2af285ad26db5277be1e8d57297bebf3cb2d74109c091830",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.4",
      "date": "2026-05-15T09:47:22.000Z",
      "arch": "x86_64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "0e6ec230ab229a17ea5ebb310e4a0431aed260e782fd64c0e39e941fd3d76987",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.4",
      "date": "2026-05-15T09:43:54.000Z",
      "arch": "x86_64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "9afd84deac333fa9d59c97d98f41e5d13f87010a89761ba4ee48e692a70d6c47",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.4",
      "date": "2026-05-15T09:43:54.000Z",
      "arch": "x86_64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "1735c314046c577de121cd50e84900a3c586cbf7c5d085d0b117dad6029ef70d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.4",
      "date": "2026-05-15T09:43:52.000Z",
      "arch": "x86_64",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "933fd058d3c2e672cd1d9df576c86257e920eae2710907cf2e2061af73c274cb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.4",
      "date": "2026-06-02T19:21:53.000Z",
      "arch": "emscripten",
      "commit": "3d414d51b750666397072c06704762893b6ace2c",
      "fileid": "24647037e4810946d52ac026e5ee570505da31bc5866603fb31bb84bf9b18ea1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/doktorandahl/actions/runs/25911022363"
    }
  ]
}