New tsbootstrap Library Enhances Time Series Uncertainty Quantification

Sankalp Gilda· July 9, 2026 View original

Key takeaways

  • tsbootstrap provides advanced, dependence-aware methods for time series uncertainty quantification.
  • It offers various resampling techniques and adaptive conformal prediction calibrators.
  • The library improves prediction coverage for non-IID data, common in real-world applications.
  • Its efficient design allows for faster execution and reduced memory footprint.

Who benefits

FinanceManufacturingLogisticsIoTHealthcare

Summary

The tsbootstrap library offers distribution-free uncertainty quantification and conformal prediction for time series data, addressing limitations of traditional IID assumptions in finance and sensing. It provides various resampling methods and adaptive conformal calibrators through a unified API, demonstrating improved coverage for dependent data.

Researchers have introduced tsbootstrap, a novel Python library designed to improve uncertainty quantification and conformal prediction for time series data. Traditional methods often assume data independence, which is frequently violated in real-world applications like finance and sensor readings. This new tool offers a comprehensive suite of block, residual, sieve, and wild resampling techniques, alongside classical bootstrap confidence intervals and adaptive conformal calibrators. The library's design allows users to select methods via a single, typed API, making it accessible for practitioners. Performance studies indicate that tsbootstrap significantly reduces coverage deficits compared to IID bootstrap methods when dealing with dependent data, particularly with sieve resampling showing near-nominal coverage for short-memory linear dependencies. Furthermore, the compiled backend and streaming reduce capabilities ensure efficient execution, outperforming existing alternatives in speed and memory usage.

Why it matters

Professionals working with time series data in finance, IoT, or demand forecasting can leverage this library to achieve more accurate and reliable uncertainty estimates and predictions, crucial for robust decision-making.

How to implement this in your domain

  1. 1Integrate tsbootstrap into existing time series analysis pipelines for improved uncertainty quantification.
  2. 2Experiment with different resampling methods (block, sieve) to find the best fit for specific data dependencies.
  3. 3Apply adaptive conformal calibrators to generate more reliable prediction intervals for critical forecasts.
  4. 4Benchmark tsbootstrap's performance against current methods to assess gains in accuracy and computational efficiency.

Original post by Sankalp Gilda

"arXiv:2607.06690v1 Announce Type: cross Abstract: Finance, sensing, and demand streams violate the exchangeability that IID conformal prediction and the IID bootstrap assume, and existing libraries implement either a general resampling engine or conformal calibration without the…"

View on X

Originally posted by Sankalp Gilda on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses