Conformal prediction intervals¶
In the app: Help → Help contents, Conformal prediction intervals.
A conformal interval covers a new outcome with a chosen probability without assuming anything about the model: it is calibrated on the model's own errors. Split conformal holds back the last part of the sample, estimates the model on the rest, and takes the interval as the prediction plus or minus the k-th smallest absolute error of the n held-back periods, k = ceil((n + 1)(1 - alpha)). If the held-back periods and the new one are exchangeable, the interval covers with probability at least 1 - alpha, and no more than 1 - alpha + 1/(n + 1). Conformalised quantile regression calibrates the band between two quantile learners in the same way, so its width follows the learners' estimate of the spread.
Exchangeability is the catch for time series: a trend, a break or changing volatility makes the past errors a poor guide to the next, and the coverage can fall short. Adaptive conformal inference moves the level after each outcome, alpha_t+1 = alpha_t + gamma (alpha - miss_t), so a run of misses widens the intervals until they cover again; over T periods the share of misses is within (max(alpha, 1 - alpha) + gamma) / (gamma T) of alpha whatever the data. That is coverage on average over time, not in each period, and the guarantee needs outcomes as they arrive: true forecasts beyond the data keep the last level.
See also¶
References¶
- Vovk, V., Gammerman, A. and Shafer, G. (2005). Algorithmic Learning in a Random World. Springer. (search)
- Lei, J., G'Sell, M., Rinaldo, A., Tibshirani, R. J. and Wasserman, L. (2018). Distribution-free predictive inference for regression. Journal of the American Statistical Association 113(523), 1094-1111. (search)
- Romano, Y., Patterson, E. and Candès, E. (2019). Conformalized quantile regression. Advances in Neural Information Processing Systems 32, 3543-3553. (search)
- Gibbs, I. and Candès, E. (2021). Adaptive conformal inference under distribution shift. Advances in Neural Information Processing Systems 34, 1660-1672. (search)