Package: cumulcalib
Title: Cumulative Calibration Assessment for Prediction Models
Version: 0.1.0
Authors@R: 
    person("Mohsen", "Sadatsafavi", , "mohsen.sadatsafavi@ubc.ca", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-0419-7862"))
Description: 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().
License: MIT + file LICENSE
URL: https://github.com/resplab/cumulcalib
Imports: graphics, stats
Suggests: knitr, predtools, rmarkdown, markdown, spelling, testthat (>=
        3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
Config/roxygen2/version: 8.0.0
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-07-24 22:41:19 UTC; msafavi
Author: Mohsen Sadatsafavi [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-0419-7862>)
Maintainer: Mohsen Sadatsafavi <mohsen.sadatsafavi@ubc.ca>
Repository: CRAN
Date/Publication: 2026-07-25 17:10:08 UTC
