Prediction Intervals (PI)#
A range expected to contain the outcome with a stated probability.
Important
✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.
What it is#
A prediction interval is a range \([\,\text{lower},\ \text{upper}\,]\) expected to contain the future observation with a stated probability — its nominal coverage, e.g. 90%. It is typically built from a pair of quantiles, the \((1-\alpha)/2\) and \((1+\alpha)/2\) levels (the 5th and 95th percentiles for 90% coverage):
Coverage vs width#
Quality trades coverage — does the empirical fraction of actuals landing inside match the nominal level? — against width / sharpness — narrower is more useful, but only if coverage holds. (A PI is about a future value, distinct from a confidence interval, which is about a parameter.)
Calibrating them#
Conformal prediction is a model-agnostic wrapper that adjusts interval width on a held-out calibration set to guarantee the target coverage in finite samples, under mild assumptions.
Theme: Risk & Probabilistic Forecasting · All terminology
Hint
Mind map — connected ideas
Quantile Forecasts · Quantile Regression · Probabilistic Forecasts · Continuous Probabilistic Forecasts · Quantile Level · Strictly Proper Scoring Rules
Hint
More in Risk & Probabilistic Forecasting
Continuous Probabilistic Forecasts · Continuous Ranked Probability Score (CRPS) · Deterministic forecasts · Full Distribution · Pinball Loss (a.k.a. Quantile Loss) · Point Forecasts · Predicting Percentiles · Probabilistic Forecasts · Probabilistic Scoring · Probability Forecasts · Quantile Forecasts · Quantile Level · Quantile Regression · Return Distribution
See also
Source article Adapted (context, re-expressed) in our own words from: Prediction Intervals (PI) (insightful-data-lab.com).