Search arXivSearch

arXiv · 2601.03994

pintervals: an R package for model-agnostic prediction intervals

Abstract

The \pkg{pintervals} package aims to provide a unified framework for constructing prediction intervals and calibrating predictions in a model-agnostic setting using set-aside calibration data. It comprises routines to construct conformal as well as parametric and bootstrapped prediction intervals from any model that outputs point predictions. Several R packages and functions already exist for constructing prediction intervals, but they often focus on specific modeling frameworks or types of predictions, or require manual customization for different models or applications. By providing a consistent interface for a variety of prediction interval construction approaches (all model-agnostic), \pkg{pintervals} allows researchers to apply and compare them across different modeling frameworks and applications.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

David Randahl, Anders Hjort, Jonathan P. Williams. 2026-01-07. pintervals: an R package for model-agnostic prediction intervals. https://arxiv.org/abs/2601.03994

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Relegation, promotion and the components of scoring in water polo

Relegation, not the championship, decides the outcome of many European water polo leagues: one club has won every recent national title in Italy, Spain and Hungary. We make the relegation decision our object of inference. Serie A1 relegates one club for finishing last and a second through a three-match play-out, and we ask at each stage how much can be known and when. Promoted clubs arrive with no top-flight record, so we also compare four ways of setting their prior. These analyses rest on the first Bayesian hierarchical model of water polo, which splits scoring into even-strength, man-up and penalty components, models opportunities and conversions separately, and lets abilities evolve between seasons. Treating the components as independent proves untenable, since they compete for a common budget of possessions. Fitted to a new dataset of 940 matches, the model identifies the directly relegated club from the ninth round, before the league table does, predicts the play-out field better than the table, and shows the play-out itself to be close to a coin toss. Promoted clubs start below the league on every component except drawing exclusions: knowing a club was promoted improves forecasts; knowing how does not.

stat.AP

Geospatial Foundation Models Capture Health-Relevant Dimensions of Place Beyond Conventional Social Risk Indices

Area-based social risk indices summarize residents' socioeconomic conditions but incompletely capture physical features of place that may affect health. We evaluated whether numerical representations of physical place produced by four geospatial foundation model families from 2022 satellite data explained residual variance in tract-level associations between the Area Deprivation Index, Social Deprivation Index, and Social Vulnerability Index with health outcomes. We used LightGBM to predict variables from the American Community Survey and 40 chronic disease and health-behavior outcomes from CDC PLACES across 82,646 census tracts in the contiguous United States, evaluating performance across 10 held-out states. Among survey variables, models were moderately predictive of some variables including housing type (R-squared up to 0.54) but weak for disability, unemployment, and income disparity. For health outcomes, models explained up to 54% of variance left unexplained by social risk indices, with the largest gains for annual checkups, arthritis, and high blood pressure. Mean total variance explained by geospatial foundation models across the 40 health-related outcomes increased from 0.31 in the smallest tract-size decile to 0.39 in the largest. Geospatial foundation models capture health-relevant features of place not represented by conventional social risk indices and may usefully augment them in epidemiological analyses.

stat.AP

Transporting summary measures of relative effects from randomised trials to the treated patient population: an application to breast cancer endocrine therapy

Randomised trials often report relative treatment effects, such as risk ratios and hazard ratios, for trial populations. Clinical decision-making, however, often benefits from estimates of absolute treatment effects in the population eligible for treatment. Trial participants may not represent this target population well, and restrictions on access to individual participant trial data can further complicate absolute effect estimation. Routine care data are often representative of the target population but may be subject to uncontrolled confounding. We consider estimation of the average treatment effect on the treated (ATT), an absolute measure, by combining a representative sample of treated routine care patients with summary measures (i.e., estimated risk or hazard ratios) from either a randomised trial or a meta-analysis of trials. Under marginal or conditional transportability assumptions, the ATT is shown to be identifiable. The implications of collapsibility of the effect measure on transportability are discussed, and plug-in estimators of the ATT are presented. Simulation studies are used to assess finite sample performance of the estimators in a range of settings. The proposed methods are applied to estimate the ATT of endocrine therapy on 15-year breast cancer mortality using results from a meta-analysis of randomised trials and England's National Disease Registration Service.

stat.AP