conformalForecast: An R package for sequential conformal prediction in time series
Abstract
Reliable uncertainty quantification is central to modern forecasting. Conformal prediction offers model-agnostic intervals with coverage guarantee under exchangeability, but existing software often targets general prediction problems or individual time series procedures rather than integrated workflows for multistep forecasting applications. We introduce conformalForecast, an open-source R package for constructing, updating, and evaluating conformal prediction intervals for multistep time series forecasts. The package separates point forecasting from calibration, accepts forecasts from diverse sources through a common interface, and preserves horizon-specific forecast errors and calibration states. It implements several conformal calibration schemes spanning empirical-quantile, feedback-based, and dependence-aware approaches, together with tools for assessing coverage, interval width, and interval scores over time and across horizons. Fitted objects can be extended as new observations arrive while retaining previously issued intervals and avoiding recomputation at earlier forecast origins. An application to short-term electricity price forecasting across five Australian regions illustrates the workflow. Aggregate coverage is generally close to the nominal level, while rolling coverage and interval efficiency vary across methods and horizons. In the reported experiment, incremental updating reproduces full-reconstruction intervals under identical forecasting and calibration settings while substantially reducing computation. conformalForecast provides a reproducible and extensible framework linking conformal methodology with sequential forecasting practice.
Create a lesson
Related papers
tsspiral: An R Package to Create Circular Versions of Time Series Plots
Shared title terminology · Thiyanga S. Talagala
dsp: An R Package for Bayesian Time Series Modeling with the Dynamic Shrinkage Process
Shared title terminology · Jason B. Cho, Daniel R. Kowal, Haoxuan Wu et al.
Locally Adaptive Conformal Prediction for Polynomial Chaos Expansions
Shared title terminology · Dimitrios Loukrezis, Arthur Hatstatt, Bruno Sudret et al.
Interval-valued circular time series: A cylindrical score-driven approach with an application to wind direction
Shared title terminology · Thasmika Mohan, Najmeh Nakhaei Rad, Sphiwe Skhosana et al.
fastC-GC and fastC-GC*: Efficient RCCP-Guided Graph Estimation for Time Series
Shared title terminology · S. A. Adedayo
Practical Advantages of Online Conformal Prediction for Data Streams
Shared title terminology · Stéphane Chrétien, Maryam Hoseini-Behbahani, Guillaume Metzler