cumulcalib: Cumulative Calibration Assessment for Prediction Models

Tools for visualization of, and inference on, the calibration of prediction models on the cumulative domain. This provides a method for evaluating calibration of risk prediction models without having to group the data or use tuning parameters (e.g., loess bandwidth). This package implements the methodology described in Sadatsafavi and Petkau (2024) <doi:10.1002/sim.10138>. The core of the package is cumulcalib(), which takes in vectors of binary responses and predicted risks. The package also implements non-parametric assessment of the calibration of individualized treatment effect (ITE) models using data from a randomized trial, via cumulcalibITE(), as described in Sadatsafavi et al. (2025) <doi:10.48550/arXiv.2512.08140>. The plot() and summary() methods are implemented for the results returned by cumulcalib() and cumulcalibITE().

Version: 0.1.0
Imports: graphics, stats
Suggests: knitr, predtools, rmarkdown, markdown, spelling, testthat (≥ 3.0.0)
Published: 2026-07-25
DOI: 10.32614/CRAN.package.cumulcalib
Author: Mohsen Sadatsafavi ORCID iD [aut, cre]
Maintainer: Mohsen Sadatsafavi <mohsen.sadatsafavi at ubc.ca>
License: MIT + file LICENSE
URL: https://github.com/resplab/cumulcalib
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: cumulcalib results

Documentation:

Reference manual: cumulcalib.html , cumulcalib.pdf
Vignettes: Moderate calibration of individualized treatment effects (cumulcalibITE) (source, R code)
cumulcalib package tutorial (source, R code)

Downloads:

Package source: cumulcalib_0.1.0.tar.gz
Windows binaries: r-devel: cumulcalib_0.0.1.zip, r-release: cumulcalib_0.0.1.zip, r-oldrel: cumulcalib_0.0.1.zip
macOS binaries: r-release (arm64): cumulcalib_0.1.0.tgz, r-oldrel (arm64): cumulcalib_0.1.0.tgz, r-release (x86_64): cumulcalib_0.1.0.tgz, r-oldrel (x86_64): cumulcalib_0.1.0.tgz
Old sources: cumulcalib archive

Linking:

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