{
  "_id": "6b08551735d1c7861e972786",
  "Package": "pitw",
  "Title": "PIT-Wasserstein Metrics for Diagnosing Dispersion Miscalibration",
  "Version": "0.0.1",
  "Authors@R": "person(\"Rob\", \"Challen\", , \"rob.challen@bristol.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-5504-7768\"))",
  "Description": "Implements the PIT-Wasserstein family of metrics for\ndiagnosing dispersion miscalibration in probabilistic\nestimators. The package provides three nested metrics—B_pit\n(baseline), U_pit (bias-adjusted undirected), and D_pit\n(bias-adjusted signed, detecting overconfidence vs.\nunderconfidence)—each with a significance test based on a\nlarge-sample reference distribution for independent\npredictions. Also provides batch scoring, CRPS calculation,\nsimulation helpers, and diagnostic visualisation tools.",
  "License": "MIT + file LICENSE",
  "Config/roxygen2/version": "8.1.1",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE, packages = \"pkgtools\", roclets =\nc(\"collate\", \"namespace\", \"pkgtools::pkgtools_rd\",\n\"pkgtools::pkgtools_unit\"))",
  "URL": "https://ai4ci.github.io/pit-wasserstein,\nhttps://github.com/ai4ci/pit-wasserstein,\nhttps://doi.org/10.5281/zenodo.24555797",
  "Config/Needs/build": "terminological/pkgtools",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev\nlibfribidi-dev make libharfbuzz-dev texlive libicu-dev\nlibjpeg-dev libpng-dev librsvg2-dev libtiff-dev libuv1-dev\nlibwebp-dev libxml2-dev libssl-dev libpoppler-cpp-dev\npoppler-data libx11-dev",
  "Repository": "https://ai4ci.r-universe.dev",
  "Date/Publication": "2026-11-26 14:50:28 UTC",
  "RemoteUrl": "https://github.com/ai4ci/pit-wasserstein",
  "RemoteRef": "0.0.1",
  "RemoteSha": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-26 15:43:45 UTC",
    "User": "root"
  },
  "Author": "Rob Challen [aut, cre] (ORCID: <https://orcid.org/0000-0002-5504-7768>)",
  "Maintainer": "Rob Challen <rob.challen@bristol.ac.uk>",
  "_user": "ai4ci",
  "_type": "src",
  "_file": "pitw_0.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/582b4398e01dc2e652e978e0e95b9451971556b18903998dfe830d79bc50b619",
  "_filesize": 4896931,
  "_sha256": "582b4398e01dc2e652e978e0e95b9451971556b18903998dfe830d79bc50b619",
  "_expires": "2027-03-06T15:49:40.000Z",
  "_created": "2026-11-26T15:43:45.000Z",
  "_published": "2026-11-26T15:49:43.182Z",
  "_upstream": "https://github.com/ai4ci/pit-wasserstein",
  "_status": "success",
  "_maintainer": {
    "name": "Rob Challen",
    "email": "rob.challen@bristol.ac.uk",
    "login": "robchallen",
    "orcid": "0000-0002-5504-7768",
    "description": "",
    "uuid": 16591648
  },
  "_jobs": [
    {
      "job": 140020578453,
      "time": 255,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15133568753"
    },
    {
      "job": 140020578395,
      "time": 189,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15134920072"
    },
    {
      "job": 140020578591,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15133963653"
    },
    {
      "job": 140020578415,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15134770152"
    },
    {
      "job": 140015246384,
      "time": 562,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15134302693"
    },
    {
      "job": 140020580928,
      "time": 191,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15134750207"
    },
    {
      "job": 140020578483,
      "time": 120,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15133753399"
    },
    {
      "job": 140020578543,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15133154519"
    },
    {
      "job": 140020578889,
      "time": 111,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15134023097"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ai4ci/actions/runs/45850432657",
  "_commit": {
    "id": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
    "author": "Rob Challen <rob.challen@bristol.ac.uk>",
    "committer": "Rob Challen <rob.challen@bristol.ac.uk>",
    "message": "update to tests to skip on cran\n",
    "time": 1795704628
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "flextable",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "huxtable",
      "role": "Imports"
    },
    {
      "package": "interfacer",
      "version": ">= 0.4.2",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "officer",
      "role": "Imports"
    },
    {
      "package": "pdftools",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "ragg",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Imports"
    },
    {
      "package": "rstudioapi",
      "role": "Imports"
    },
    {
      "package": "rsvg",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "svglite",
      "role": "Imports"
    },
    {
      "package": "systemfonts",
      "role": "Imports"
    },
    {
      "package": "scoringRules",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "deSolve",
      "role": "Suggests"
    },
    {
      "package": "EpiEstim",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "ai4ci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 1
    },
    {
      "week": "2026-45",
      "n": 3
    },
    {
      "week": "2026-46",
      "n": 3
    },
    {
      "week": "2026-47",
      "n": 12
    },
    {
      "week": "2026-48",
      "n": 10
    }
  ],
  "_tags": [
    {
      "name": "0.0.0.9001",
      "date": "2026-11-26"
    },
    {
      "name": "0.0.1",
      "date": "2026-11-26"
    },
    {
      "name": "v0.0.1",
      "date": "2026-11-26"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "robchallen",
      "count": 30,
      "uuid": 16591648
    }
  ],
  "_userbio": {
    "uuid": 153937059,
    "type": "organization",
    "name": "AI for Collective Intelligence (AI4CI) ",
    "followers": 15,
    "description": "A UKRI AI Research Hub"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pitw"
  },
  "_devurl": "https://github.com/ai4ci/pit-wasserstein",
  "_pkgdown": "https://ai4ci.github.io/pit-wasserstein",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/pitw.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_authors": [
    {
      "name": "Rob Challen",
      "email": "rob.challen@bristol.ac.uk",
      "orcid": "0000-0002-5504-7768",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "%>%",
    "b_pit_significance",
    "calibrated_locations",
    "calibrated_locations_general",
    "configuration_plot",
    "crps_fn_generator",
    "d_pit_significance",
    "dbeta2",
    "dcgamma",
    "ddist",
    "dgamma2",
    "dgamma4",
    "dlnorm2",
    "dlnorm4",
    "dlogitnorm",
    "dlogitnorm2",
    "dnbinom2",
    "dnorm4",
    "dnull",
    "dwedge",
    "generate_simulation",
    "p_l1_bridge",
    "pbeta2",
    "pcgamma",
    "pdist",
    "pgamma2",
    "pgamma4",
    "pit_w",
    "plnorm2",
    "plnorm4",
    "plogitnorm",
    "plogitnorm2",
    "pnbinom2",
    "pnorm4",
    "pnull",
    "prediction_scores",
    "pwedge",
    "q_l1_bridge",
    "qbeta2",
    "qcgamma",
    "qdist",
    "qgamma2",
    "qgamma4",
    "qlnorm2",
    "qlnorm4",
    "qlogitnorm",
    "qlogitnorm2",
    "qnbinom2",
    "qnorm4",
    "qnull",
    "qwedge",
    "rbern",
    "rbeta2",
    "rcategorical",
    "rcgamma",
    "rdist",
    "reparam_fn",
    "rexpgrowth",
    "rexpgrowthI0",
    "rgamma2",
    "rgamma4",
    "rlnorm2",
    "rlnorm4",
    "rlogitnorm",
    "rlogitnorm2",
    "rnbinom2",
    "rnorm4",
    "rnull",
    "rwedge",
    "std_size",
    "u_pit_significance"
  ],
  "_help": [
    {
      "page": "b_pit_significance",
      "title": "Significance test for the baseline PIT-Wasserstein metric",
      "concept": [
        "significance"
      ],
      "topics": [
        "b_pit_significance"
      ]
    },
    {
      "page": "calibrated_locations",
      "title": "Uniform predictions for testing",
      "concept": [
        "simulations"
      ],
      "topics": [
        "calibrated_locations"
      ]
    },
    {
      "page": "calibrated_locations_general",
      "title": "Uniform predictions for testing (general)",
      "concept": [
        "simulations"
      ],
      "topics": [
        "calibrated_locations_general"
      ]
    },
    {
      "page": "configuration_plot",
      "title": "Produce a summary plot of a experimental configuration.",
      "concept": [
        "simulations"
      ],
      "topics": [
        "configuration_plot"
      ]
    },
    {
      "page": "crps_fn_generator",
      "title": "Generate a CRPS calculating function based on a parametrised distribution name",
      "concept": [
        "scores"
      ],
      "topics": [
        "crps_fn_generator"
      ]
    },
    {
      "page": "d_pit_significance",
      "title": "Significance test for the directed PIT-Wasserstein metric",
      "concept": [
        "significance"
      ],
      "topics": [
        "d_pit_significance"
      ]
    },
    {
      "page": "dbeta2",
      "title": "The Beta Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dbeta2"
      ]
    },
    {
      "page": "dcgamma",
      "title": "Density: gamma distribution constrained to have mean > sd",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dcgamma"
      ]
    },
    {
      "page": "ddist",
      "title": "Density function a named distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "ddist"
      ]
    },
    {
      "page": "dgamma2",
      "title": "The Gamma Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dgamma2"
      ]
    },
    {
      "page": "dgamma4",
      "title": "The Gamma Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dgamma4"
      ]
    },
    {
      "page": "dlnorm2",
      "title": "The Log-Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dlnorm2"
      ]
    },
    {
      "page": "dlnorm4",
      "title": "The Log-Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dlnorm4"
      ]
    },
    {
      "page": "dlogitnorm",
      "title": "Logit-normal distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dlogitnorm"
      ]
    },
    {
      "page": "dlogitnorm2",
      "title": "Logit-normal distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dlogitnorm2"
      ]
    },
    {
      "page": "dnbinom2",
      "title": "The Negative Binomial Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dnbinom2"
      ]
    },
    {
      "page": "dnorm4",
      "title": "The Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dnorm4"
      ]
    },
    {
      "page": "dnull",
      "title": "Null distributions always returns NA",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dnull"
      ]
    },
    {
      "page": "dwedge",
      "title": "Wedge distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "dwedge"
      ]
    },
    {
      "page": "generate_simulation",
      "title": "Generate an set of scenarios for testing scoring",
      "concept": [
        "simulations"
      ],
      "topics": [
        "generate_simulation"
      ]
    },
    {
      "page": "p_l1_bridge",
      "title": "Distribution of the L1 norm of the Brownian bridge",
      "concept": [
        "significance"
      ],
      "topics": [
        "p_l1_bridge",
        "q_l1_bridge"
      ]
    },
    {
      "page": "pbeta2",
      "title": "The Beta Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "pbeta2"
      ]
    },
    {
      "page": "pcgamma",
      "title": "Cumulative probability: gamma distribution constrained to have mean > sd",
      "concept": [
        "distributions"
      ],
      "topics": [
        "pcgamma"
      ]
    },
    {
      "page": "pdist",
      "title": "Cumulative probability from a named distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "pdist"
      ]
    },
    {
      "page": "pgamma2",
      "title": "The Gamma Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "pgamma2"
      ]
    },
    {
      "page": "pgamma4",
      "title": "The Gamma Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "pgamma4"
      ]
    },
    {
      "page": "pit_w",
      "title": "Calculate a pit-wasserstein value for a single estimator",
      "concept": [
        "scores"
      ],
      "topics": [
        "pit_w"
      ]
    },
    {
      "page": "plnorm2",
      "title": "The Log-Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "plnorm2"
      ]
    },
    {
      "page": "plnorm4",
      "title": "The Log-Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "plnorm4"
      ]
    },
    {
      "page": "plogitnorm",
      "title": "Logit-normal distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "plogitnorm"
      ]
    },
    {
      "page": "plogitnorm2",
      "title": "Logit-normal distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "plogitnorm2"
      ]
    },
    {
      "page": "pnbinom2",
      "title": "The Negative Binomial Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "pnbinom2"
      ]
    },
    {
      "page": "pnorm4",
      "title": "The Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "pnorm4"
      ]
    },
    {
      "page": "pnull",
      "title": "Null distributions always returns NA",
      "concept": [
        "distributions"
      ],
      "topics": [
        "pnull"
      ]
    },
    {
      "page": "prediction_scores",
      "title": "Score a parametrised probability distribution",
      "concept": [
        "scores"
      ],
      "topics": [
        "prediction_scores"
      ]
    },
    {
      "page": "pwedge",
      "title": "Wedge distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "pwedge"
      ]
    },
    {
      "page": "qbeta2",
      "title": "The Beta Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qbeta2"
      ]
    },
    {
      "page": "qcgamma",
      "title": "Quantile: gamma distribution constrained to have mean > sd",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qcgamma"
      ]
    },
    {
      "page": "qdist",
      "title": "Quantile function of a named distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qdist"
      ]
    },
    {
      "page": "qgamma2",
      "title": "The Gamma Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qgamma2"
      ]
    },
    {
      "page": "qgamma4",
      "title": "The Gamma Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qgamma4"
      ]
    },
    {
      "page": "qlnorm2",
      "title": "The Log-Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qlnorm2"
      ]
    },
    {
      "page": "qlnorm4",
      "title": "The Log-Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qlnorm4"
      ]
    },
    {
      "page": "qlogitnorm",
      "title": "Logit-normal distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qlogitnorm"
      ]
    },
    {
      "page": "qlogitnorm2",
      "title": "Logit-normal distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qlogitnorm2"
      ]
    },
    {
      "page": "qnbinom2",
      "title": "The Negative Binomial Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qnbinom2"
      ]
    },
    {
      "page": "qnorm4",
      "title": "The Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qnorm4"
      ]
    },
    {
      "page": "qnull",
      "title": "Null distributions always returns NA",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qnull"
      ]
    },
    {
      "page": "qwedge",
      "title": "Wedge distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "qwedge"
      ]
    },
    {
      "page": "rbern",
      "title": "A random Bernoulli sample as a logical value",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rbern"
      ]
    },
    {
      "page": "rbeta2",
      "title": "The Beta Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rbeta2"
      ]
    },
    {
      "page": "rcategorical",
      "title": "Sampling from the multinomial equivalent of the Bernoulli distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rcategorical"
      ]
    },
    {
      "page": "rcgamma",
      "title": "Sampling: gamma distribution constrained to have median > sd",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rcgamma"
      ]
    },
    {
      "page": "rdist",
      "title": "Random sample from a named distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rdist"
      ]
    },
    {
      "page": "reparam_fn",
      "title": "Get a converter that maps an unusual parametrisation to a canonical one.",
      "concept": [
        "distributions"
      ],
      "topics": [
        "reparam_fn"
      ]
    },
    {
      "page": "rexpgrowth",
      "title": "Randomly sample incident times in an exponentially growing process",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rexpgrowth"
      ]
    },
    {
      "page": "rexpgrowthI0",
      "title": "Randomly sample incident times in an exponentially growing process with initial case load",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rexpgrowthI0"
      ]
    },
    {
      "page": "rgamma2",
      "title": "The Gamma Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rgamma2"
      ]
    },
    {
      "page": "rgamma4",
      "title": "The Gamma Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rgamma4"
      ]
    },
    {
      "page": "rlnorm2",
      "title": "The Log-Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rlnorm2"
      ]
    },
    {
      "page": "rlnorm4",
      "title": "The Log-Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rlnorm4"
      ]
    },
    {
      "page": "rlogitnorm",
      "title": "Logit-normal distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rlogitnorm"
      ]
    },
    {
      "page": "rlogitnorm2",
      "title": "Logit-normal distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rlogitnorm2"
      ]
    },
    {
      "page": "rnbinom2",
      "title": "The Negative Binomial Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rnbinom2"
      ]
    },
    {
      "page": "rnorm4",
      "title": "The Normal Distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rnorm4"
      ]
    },
    {
      "page": "rnull",
      "title": "Null distributions always returns NA",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rnull"
      ]
    },
    {
      "page": "rwedge",
      "title": "Wedge distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "rwedge"
      ]
    },
    {
      "page": "std_size",
      "title": "Standard image and paper sizes",
      "concept": [
        "output"
      ],
      "topics": [
        "std_size"
      ]
    },
    {
      "page": "u_pit_significance",
      "title": "Significance test for the bias-adjusted undirected PIT-Wasserstein metric",
      "concept": [
        "significance"
      ],
      "topics": [
        "u_pit_significance"
      ]
    },
    {
      "page": "wedge",
      "title": "Wedge distribution",
      "concept": [
        "distributions"
      ],
      "topics": [
        "wedge"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ai4ci/pit-wasserstein/raw/0.0.1/man/figures/logo.png",
  "_readme": "https://github.com/ai4ci/pit-wasserstein/raw/0.0.1/README.md",
  "_rundeps": [
    "askpass",
    "assertthat",
    "base64enc",
    "bit",
    "bit64",
    "brew",
    "brio",
    "bslib",
    "cachem",
    "callr",
    "cli",
    "clipr",
    "commonmark",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "desc",
    "diffobj",
    "digest",
    "dplyr",
    "evaluate",
    "fansi",
    "farver",
    "fastmap",
    "flextable",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "forcats",
    "fs",
    "gdtools",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "hms",
    "htmltools",
    "huxtable",
    "interfacer",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "lobstr",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "officer",
    "openssl",
    "otel",
    "pdftools",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "praise",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "qpdf",
    "R6",
    "ragg",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rdtools",
    "readr",
    "rlang",
    "rmarkdown",
    "roxygen2",
    "rprojroot",
    "rstudioapi",
    "rsvg",
    "S7",
    "sass",
    "scales",
    "scoringRules",
    "stringi",
    "stringr",
    "svglite",
    "sys",
    "systemfonts",
    "testthat",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "vroom",
    "waldo",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "sir-epiestim-example.Rmd",
      "filename": "sir-epiestim-example.html",
      "title": "A PIT-Wasserstein study using SIR dynamics and EpiEstim",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Purpose",
        "1. Simulation setup",
        "Population sizes and observed counts",
        "2. Estimating $R_t$ with EpiEstim",
        "3. Scoring",
        "4. Results",
        "Interpretation",
        "Scope of the comparison"
      ],
      "created": "2026-11-18 12:28:29",
      "modified": "2026-11-25 22:17:31",
      "commits": 5
    },
    {
      "source": "pitw.Rmd",
      "filename": "pitw.html",
      "title": "Getting started with pitw",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Score a set of forecasts",
        "Read the vignettes in order"
      ],
      "created": "2026-11-20 23:52:09",
      "modified": "2026-11-25 22:17:31",
      "commits": 2
    },
    {
      "source": "introduction-to-pit.Rmd",
      "filename": "introduction-to-pit.html",
      "title": "Introduction to calibration and probability integral transforms",
      "engine": "knitr::rmarkdown",
      "headings": [
        "An estimator and its predictions",
        "Location bias and predictive spread",
        "Variation in predictive spread",
        "The probability integral transform",
        "Where next"
      ],
      "created": "2026-11-18 12:28:29",
      "modified": "2026-11-25 22:17:31",
      "commits": 6
    },
    {
      "source": "model-misspecification.Rmd",
      "filename": "model-misspecification.html",
      "title": "Model misspecification: what the metrics do when the predictive family is wrong",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Matching the median and coefficient of variation",
        "2. Scores by predictive family",
        "3. Comparing changes in shape and width",
        "4. Bias adjustment with skewed errors",
        "5. Scope of the comparison"
      ],
      "created": "2026-11-19 18:22:35",
      "modified": "2026-11-25 22:17:31",
      "commits": 3
    },
    {
      "source": "pit-w-metrics.Rmd",
      "filename": "pit-w-metrics.html",
      "title": "PIT-Wasserstein metrics for miscalibration diagnosis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. The simulation",
        "1.1 The error-function model",
        "1.2 The parameter sweep",
        "2. The metrics",
        "3. Figure 1",
        "3.5 Comparison with interval coverage"
      ],
      "created": "2026-11-18 16:30:31",
      "modified": "2026-11-25 22:17:31",
      "commits": 5
    },
    {
      "source": "significance-testing.Rmd",
      "filename": "significance-testing.html",
      "title": "Significance testing for the PIT-Wasserstein metrics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. The reference distribution for uniform PIT values",
        "1a. The empirical process",
        "1b. Comparing goodness-of-fit statistics",
        "1c. The effect of estimating a location shift",
        "2. The three metrics, and the three hypotheses",
        "3. The null of B_pit: an explicit formula",
        "4. The Gaussian limit of D_pit",
        "5. The reference distribution for adjusted PIT values",
        "6. Choosing a scale for the adjustment",
        "6a. Link-scale and probit adjustments",
        "6b. Directed scores after fitting the shift",
        "7. What exactly is the null hypothesis?",
        "8. Reading the three tests together",
        "9. In practice",
        "10. Caveats",
        "Summary"
      ],
      "created": "2026-11-17 11:44:40",
      "modified": "2026-11-25 22:17:31",
      "commits": 6
    },
    {
      "source": "sample-sizes-and-power.Rmd",
      "filename": "sample-sizes-and-power.html",
      "title": "Testing for bias, dispersion miscalibration and skill spread decoupling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Separation at fixed sample sizes (Figure 2)",
        "2. Power against sample size (Figure 3)"
      ],
      "created": "2026-11-18 16:30:31",
      "modified": "2026-11-25 22:17:31",
      "commits": 4
    }
  ],
  "_score": 4.3222192947339195,
  "_indexed": true,
  "_nocasepkg": "pitw",
  "_universes": [
    "ai4ci",
    "robchallen"
  ],
  "_previous": "0.0.0.9001",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-11-26T15:47:49.000Z",
      "distro": "resolute",
      "commit": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
      "fileid": "https://r2.ropensci.org/b1e77307b46eabe6549479d552331a3243b4bee01455f4a452ba8912d57aac50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/45850432657"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-11-26T15:46:49.000Z",
      "distro": "resolute",
      "commit": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
      "fileid": "https://r2.ropensci.org/0eec30eaf2dcb136d88957e9792118d8cd98778c9b54805075e0c7ca844f3de7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/45850432657"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-11-26T15:48:49.000Z",
      "commit": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
      "fileid": "https://r2.ropensci.org/36a095d01bb2f7c53a58e56dc2f798c743c164a5b477c8d4d53064250b53357d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/45850432657"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-11-26T15:46:39.000Z",
      "commit": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
      "fileid": "https://r2.ropensci.org/3ed2f954cae544be42253f4d504d76d203b56b714c4f8b241c6cc63435ac84b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/45850432657"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-11-26T15:47:14.000Z",
      "commit": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
      "fileid": "https://r2.ropensci.org/7b53e7b3723073df0357fed84f5a7558c63482b6e9b59c2f5c9ab18db25d0e38",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/45850432657"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-11-26T15:45:14.000Z",
      "commit": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
      "fileid": "https://r2.ropensci.org/c404c6f90cff9a8201ba5eb8b16741998ee700031787dfb458565c3469ff7a44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/45850432657"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-11-26T15:44:56.000Z",
      "commit": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
      "fileid": "https://r2.ropensci.org/263676ef8c6a4be3bc754d11f7328c1a19a7ce840f9b3764d62491eed997ddf2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/45850432657"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-11-26T15:45:09.000Z",
      "commit": "2dabde77a8f9f4ce8a671e343b08d2f74728a015",
      "fileid": "https://r2.ropensci.org/8bd5888cc771c9d3a821acd1989b04b54d728f87a0b04331407439254ccb744a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/45850432657"
    }
  ]
}