intermediate nonparametric-ml 50 min read

Prediction Intervals

Constructing finite-sample-valid prediction intervals under exchangeability or iid — split conformal, pure QR, CQR, and a Hodges-Lehmann-style band compared on coverage, width, conditional behavior, and cost

The Prediction-Interval Problem

This section sets the scaffolding the rest of the topic hangs on: the distinction between confidence intervals and prediction intervals, the marginal-vs-conditional coverage spectrum, and the strict assumption hierarchy under which the three featured constructions work. The mathematics here is light — definitions and named distinctions, no theorems with proofs. The work begins in §2.

Confidence intervals vs. prediction intervals. A confidence interval covers a fixed but unknown parameter. A prediction interval covers a random variable — the next observation, before it has happened. The two quantities live in different probability spaces, and constructions that work for one don’t generally transfer.

To make the distinction concrete, suppose we observe pairs (X1,Y1),…,(Xn,Yn)(X_1, Y_1), \ldots, (X_n, Y_n) and fit a linear model f^(x)=β^0+β^1x\hat{f}(x) = \hat{\beta}_0 + \hat{\beta}_1 x. At a new point Xn+1=x∗X_{n+1} = x_* we can ask two distinct questions: where does the conditional mean E[Y∣X=x∗]\mathbb{E}[Y \mid X = x_*] lie (a CI question, with width shrinking at rate 1/n1/\sqrt{n}), or where does Yn+1Y_{n+1} itself lie (a PI question, bundling estimation uncertainty and the irreducible noise of Yn+1Y_{n+1} around its mean). Even with infinite data the CI shrinks to a point, but the PI plateaus at its irreducible-noise width. That structural gap is the whole point of distinguishing the two.

Definition 1 (Prediction Interval).

A function C^ ⁣:X→2Y\hat{C} \colon \mathcal{X} \to 2^{\mathcal{Y}} from the feature space to subsets of the response space is a prediction interval at level 1−α1 - \alpha if it satisfies

P ⁣(Yn+1∈C^(Xn+1))  ≥  1−α,\mathbb{P}\!\left(Y_{n+1} \in \hat{C}(X_{n+1})\right) \;\ge\; 1 - \alpha,

where α∈(0,1)\alpha \in (0, 1) is the miscoverage level and the probability is taken jointly over the training data (Xi,Yi)i=1n(X_i, Y_i)_{i=1}^n and the test pair (Xn+1,Yn+1)(X_{n+1}, Y_{n+1}).

The randomness in this probability matters. It runs over the training set, the test feature, and the test response — not over a fixed test point with frozen training data. Different ways of decomposing this randomness give different coverage notions, which is the next subsection.

Confidence vs. prediction intervals on a fitted homoscedastic linear regression. The narrow blue confidence band for E[Y|X] sits inside the wider red prediction band for Y_new.
Figure 1. CI vs PI on a fitted homoscedastic linear regression. The narrow blue band is the 90% confidence interval for E[Y∣X]\mathbb{E}[Y \mid X]; the wider red band is the 90% prediction interval for YnewY_{\mathrm{new}}. As nn grows, the CI shrinks to a point but the PI plateaus near 2tσ^2 t \hat{\sigma}.

Marginal vs. conditional coverage. The probability statement in Definition 1 averages over both the training set and the test feature Xn+1X_{n+1}. We can ask for a stronger guarantee that holds pointwise in the test feature.

Definition 2 (Marginal vs. conditional coverage).

Marginal coverage at level 1−α1 - \alpha:

P ⁣(Yn+1∈C^(Xn+1))  ≥  1−α.\mathbb{P}\!\left(Y_{n+1} \in \hat{C}(X_{n+1})\right) \;\ge\; 1 - \alpha.

Conditional coverage at level 1−α1 - \alpha: for PX\mathbb{P}_X-almost every x∈Xx \in \mathcal{X},

P ⁣(Yn+1∈C^(Xn+1) ∣ Xn+1=x)  ≥  1−α.\mathbb{P}\!\left(Y_{n+1} \in \hat{C}(X_{n+1}) \,\big|\, X_{n+1} = x\right) \;\ge\; 1 - \alpha.

Conditional coverage is much stronger. Marginal coverage allows the interval to over-cover at some xx and under-cover at others, as long as the average over the marginal of XX comes out right. Conditional coverage demands the guarantee point-by-point.

To see the gap, consider the running heteroscedastic example we’ll use throughout the topic:

Y∣X=x∼N ⁣(sin⁡(x), σ(x)2),σ(x)=0.2+0.6 ∣x∣/3,X∼Uniform(−3,3).Y \mid X = x \sim \mathcal{N}\!\left(\sin(x),\, \sigma(x)^2\right), \qquad \sigma(x) = 0.2 + 0.6 \, |x|/3, \qquad X \sim \mathrm{Uniform}(-3, 3).

The conditional standard deviation is small near x=0x = 0 and large near x=±3x = \pm 3. A constant-width band C^(x)=[μ^(x)−w,μ^(x)+w]\hat{C}(x) = [\hat{\mu}(x) - w, \hat{\mu}(x) + w] with ww tuned to give 90% marginal coverage will over-cover near the center (the band is far wider than the noise needs) and under-cover near the edges (the band is too narrow to capture 90% of the conditional mass). The conditional-coverage curve x↦P(Y∈C^(x)∣X=x)x \mapsto \mathbb{P}(Y \in \hat{C}(x) \mid X = x) is wildly miscalibrated even though its average is exactly 0.90.9.

On one simulated draw, empirical marginal coverage holds at 0.889 on a constant-width band, but the binned empirical conditional coverage histogram swings from over 99% near x=0 to roughly 73% in the high-noise tails.
Figure 2. Marginal coverage holds; conditional coverage is wildly miscalibrated. Left: scatter with the constant-width 90%-marginal band colored by inside/outside on the heteroscedastic running example. Right: binned empirical conditional coverage by XX-bin on the same simulated draw (empirical marginal coverage 0.8890.889; the exact 0.90.9 in the text is the population value for the population-calibrated width), ranging from ≈1.00\approx 1.00 near x=0x = 0 to ≈0.73\approx 0.73 near x=±3x = \pm 3. Range of conditional miscalibration on this draw: 0.270.27.

This is the gap that §3 (pure QR) and §5’s CQR bridge close — and that the marginal-only conformal guarantee in §2 leaves open by design. (There is an intermediate notion, group-conditional coverage, where the guarantee holds for each member of a finite partition of the feature space — useful in fairness contexts where the partition is a protected attribute. We treat that as a forward connection in §7.)

The data-distributional assumption hierarchy. Each of the three constructions in this topic works under a different assumption on the joint distribution of (X1,Y1),…,(Xn+1,Yn+1)(X_1, Y_1), \ldots, (X_{n+1}, Y_{n+1}). The assumptions are strictly nested, with conformal at the weak end and Hodges–Lehmann at the strong end.

Definition 3 (Exchangeability).

The sequence (X1,Y1),…,(Xn+1,Yn+1)(X_1, Y_1), \ldots, (X_{n+1}, Y_{n+1}) is exchangeable if for every permutation π\pi of {1,…,n+1}\{1, \ldots, n+1\},

((Xπ(1),Yπ(1)),…,(Xπ(n+1),Yπ(n+1)))  =d  ((X1,Y1),…,(Xn+1,Yn+1)),\big((X_{\pi(1)}, Y_{\pi(1)}), \ldots, (X_{\pi(n+1)}, Y_{\pi(n+1)})\big) \;\stackrel{d}{=}\; \big((X_1, Y_1), \ldots, (X_{n+1}, Y_{n+1})\big),

where =d\stackrel{d}{=} denotes equality in joint distribution.

Exchangeability is the assumption underlying split conformal prediction; see Conformal Prediction. It is strictly weaker than iid: a uniformly random permutation of a fixed multiset is exchangeable but not iid (the marginals are not independent). Practically, exchangeability fails under temporal ordering, distribution shift, or hierarchical sampling, but holds whenever the order of observations is irrelevant.

Definition 4 (iid).

The pairs (Xi,Yi)(X_i, Y_i) are independent and identically distributed if they are mutually independent and share a common joint distribution PXY\mathbb{P}_{XY}.

Pure quantile-regression intervals built from Koenker–Bassett asymptotics require iid plus smoothness conditions on the conditional density of Y∣XY \mid X; see Quantile Regression.

Definition 5 (iid with symmetric residuals).

The pairs (Xi,Yi)(X_i, Y_i) are iid AND there exists a function μ ⁣:X→R\mu \colon \mathcal{X} \to \mathbb{R} such that the residuals εi:=Yi−μ(Xi)\varepsilon_i := Y_i - \mu(X_i) are independent of XiX_i and have a distribution symmetric around zero.

The symmetry assumption is what test-inversion-style intervals (§4) require to deliver finite-sample distribution-free conditional coverage.

The three classes are genuinely strictly nested:

{iid+symmetric residuals}  ⊊  {iid}  ⊊  {exchangeable}.\big\{ \text{iid} + \text{symmetric residuals} \big\} \;\subsetneq\; \big\{ \text{iid} \big\} \;\subsetneq\; \big\{ \text{exchangeable} \big\}.

In English: every distribution where HL works also makes pure QR and conformal work; every iid distribution makes conformal work; not every exchangeable distribution is iid (the random-permutation-of-a-multiset example), and not every iid distribution has symmetric residuals (any skewed-noise regression).

Schematic of the assumption hierarchy as nested rounded boxes: 'Exchangeable' (split conformal §2) contains 'iid' (pure QR §3), which in turn contains 'iid + symmetric residuals' (HL test-inversion §4).
Figure 3. The data-distributional assumption hierarchy. Each construction sits at a different shell. Stronger assumptions buy stronger guarantees (better coverage type, narrower intervals, or both); weaker assumptions buy robustness (guarantees that survive when the strong ones fail).

The trade is the standard one in statistics. Stronger assumptions buy the practitioner more — better coverage type (conditional rather than marginal), narrower intervals, or both. Weaker assumptions buy robustness — guarantees that survive when the strong assumptions fail. The next three sections walk through the constructions in order of weakest-assumption-first; §5 makes the trade quantitative through three bridge theorems.

The two-axis map. Combining the two distinctions (assumption strength × coverage type) gives the map that every later section refers back to:

ConstructionSectionAssumptionCoverage
Split conformal§2ExchangeableMarginal (finite-sample)
Pure QR§3iid + smoothnessAsymptotic conditional
HL test-inversion§4iid + symmetric residualsNone (under-covers; see §4, Theorem 5.3)
CQR (bridge)§3 → §5ExchangeableMarginal, conditionally adaptive

CQR is worth flagging now, even though we don’t define it until §5.1. It sits as a hybrid: it inherits the marginal guarantee of split conformal (because it is split conformal under a particular score function), but its interval shape tracks pure QR’s conditional-quantile estimates. The hybrid is the topic’s main practical recommendation, and §5 formalizes the gap between its rigorous marginal guarantee and its approximate conditional behavior.

§§2–4 cover one row each — short, citation-heavy treatments of each construction with the running example carried through. §5 proves three bridge theorems: a CQR-coverage decomposition, a heteroscedastic-width-comparison bound, and an asymptotic width-ratio result for HL and conformal on location-shift problems with symmetric noise. §6 measures the trade-offs empirically across four data scenarios. §7 closes with bootstrap as a contrast, what’s out of scope (Bayesian credible intervals, T5), and forward connections (online conformal, group-conditional coverage).

marginal 0.914 · mean width 1.862 · cond range Δ = 0.262

Drag the noise slope s in σ(x) = 0.2 + s·|x|/3 from 0 (homoscedastic) to 1 (strongly heteroscedastic) with the constant-width band selected: the strip chart deforms from flat to U-shaped while the marginal stays near 0.9 — the gap Definition 2 anticipates. Switch to pure-QR or oracle to flatten the strip chart at heteroscedasticity. Switch to split-conformal to see the same constant-width pathology under the proper conformal threshold.

The explorer above lets you walk through the §§1–3 progression interactively: dial up the noise slope with the constant-width band to reproduce Figure 2’s inverted-U shape, then swap to pure QR or oracle to watch the strip chart go flat. We’ll come back to it twice — once at the end of §2 (split-conformal selected) to confirm that proper conformal calibration doesn’t fix the conditional gap when the score is wrong, and once at the end of §3 (pure-QR) to see the conditional-adaptivity win arrive at the cost of finite-sample marginal coverage.

Construction I — Exchangeability-Based (Split Conformal)

This is the weakest-assumption construction in the topic. It works under exchangeability alone — no smoothness, no symmetry, no parametric form for the noise. The price is that the resulting interval is constant-width (or any other shape baked into the score function) and only marginally calibrated; the conditional miscalibration of Figure 2 carries over essentially unchanged. The construction is the canonical version of split conformal prediction; we cite the marginal-coverage theorem from Conformal Prediction rather than reprove it.

Two lifting moves matter here. First, we introduce the score-function abstraction — every interval in this topic can be written as the level set of some score s(x,y)s(x, y), with the threshold either calibrated empirically (§2 and the §5 CQR bridge), determined asymptotically (§3), or inverted from a test (§4). Second, we’ll see that constant-width split-conformal on the heteroscedastic running example reproduces Figure 2’s marginal-vs-conditional gap almost exactly — by design, because the score s(x,y)=∣y−μ^(x)∣s(x, y) = |y - \hat{\mu}(x)| encodes nothing about heteroscedasticity. §3 starts fixing that by changing the score.

The score-function abstraction.

Definition 6 (Nonconformity score).

A nonconformity score is a function s ⁣:X×Y→Rs \colon \mathcal{X} \times \mathcal{Y} \to \mathbb{R}, larger values indicating that the pair (x,y)(x, y) is more anomalous relative to the training data. Given a threshold q∈Rq \in \mathbb{R}, the corresponding prediction set is

C^s,q(x)  =  {y∈Y:s(x,y)≤q}.\hat{C}_{s, q}(x) \;=\; \{ y \in \mathcal{Y} : s(x, y) \le q \}.

This abstraction lets us classify the constructions in this topic by their choice of (s,q)(s, q):

ConstructionScore s(x,y)s(x, y)Threshold qq
Split conformal (§2)∣y−μ^(x)∣\lvert y - \hat{\mu}(x) \rvertconformal (1−α)(1-\alpha)-quantile of calibration scores
Pure QR (§3)max⁡ ⁣(q^α/2(x)−y,  y−q^1−α/2(x))\max\!\big(\hat{q}_{\alpha/2}(x) - y,\; y - \hat{q}_{1-\alpha/2}(x)\big)00 (no calibration)
CQR (§5 bridge)Same as pure QRconformal (1−α)(1-\alpha)-quantile of calibration scores
HL test-inversion (§4)Recast as a Walsh-average scoreinverted from a Wilcoxon test

The split-conformal threshold gets a name we’ll use throughout:

Definition 7 (Conformal quantile).

For nonconformity scores S1,…,SncalS_1, \ldots, S_{n_{\mathrm{cal}}} on a calibration set, the conformal (1−α)(1-\alpha)-quantile is

q^1−α  =  S(⌈(1−α)(ncal+1)⌉),\hat{q}_{1-\alpha} \;=\; S_{(\lceil (1-\alpha)(n_{\mathrm{cal}}+1) \rceil)},

the ⌈(1−α)(ncal+1)⌉\lceil (1-\alpha)(n_{\mathrm{cal}}+1) \rceil-th order statistic of {Si}\{S_i\}. The +1+1 in the numerator is the finite-sample correction that turns the threshold from “approximately right asymptotically” into “exactly right under exchangeability.”

The pure-QR row is what makes the score-function frame earn its keep. As a score with threshold 00, pure QR is just “predict in if the score is non-positive,” which lines up exactly with the algebraic statement of Construction II in §3. The CQR bridge in §5 then becomes a one-line statement: keep the score, swap the threshold for the conformal quantile, and inherit Theorem 1.

Split conformal on the running example. Three steps:

  1. Train. Split the data into a training fold and a calibration fold. Fit a base predictor μ^\hat{\mu} on the training fold only.
  2. Calibrate. Compute Si=∣Yi−μ^(Xi)∣S_i = |Y_i - \hat{\mu}(X_i)| for each calibration point, and take q^1−α\hat{q}_{1-\alpha} per Definition 7.
  3. Predict. For a new point xx, return C^(x)=[μ^(x)−q^1−α,  μ^(x)+q^1−α]\hat{C}(x) = [\hat{\mu}(x) - \hat{q}_{1-\alpha},\; \hat{\mu}(x) + \hat{q}_{1-\alpha}].

The notebook carries this out on the heteroscedastic running example with ntrain=ncal=500n_{\mathrm{train}} = n_{\mathrm{cal}} = 500 and μ^\hat{\mu} a degree-3 polynomial fit by ridge regression. The choice of base predictor matters for the band’s width but not for its coverage validity — the theorem below holds for any score.

Theorem 1 (Split-conformal marginal coverage (Vovk, Gammerman & Shafer 2005; Lei et al. 2018)).

If the calibration data (Xi,Yi)i=1ncal(X_i, Y_i)_{i=1}^{n_{\mathrm{cal}}} and the test point (Xncal+1,Yncal+1)(X_{n_{\mathrm{cal}}+1}, Y_{n_{\mathrm{cal}}+1}) are exchangeable, and the nonconformity score ss does not depend on the calibration or test data, then for any α∈(0,1)\alpha \in (0, 1) the split-conformal prediction set satisfies

1−α  ≤  P ⁣(Yncal+1∈C^(Xncal+1))  ≤  1−α+1ncal+1.1 - \alpha \;\le\; \mathbb{P}\!\big( Y_{n_{\mathrm{cal}}+1} \in \hat{C}(X_{n_{\mathrm{cal}}+1}) \big) \;\le\; 1 - \alpha + \frac{1}{n_{\mathrm{cal}}+1}.

Proved as Theorem 1 of Conformal Prediction §3 via a rank-symmetry argument: under exchangeability, the rank of the test score among the calibration scores is uniform on {1,…,ncal+1}\{1, \ldots, n_{\mathrm{cal}}+1\}, and the threshold definition translates that uniform rank into the coverage statement. The 1/(ncal+1)1/(n_{\mathrm{cal}}+1) over-coverage on the right is the finite-sample artifact of the +1+1 correction in Definition 7; it vanishes as ncal→∞n_{\mathrm{cal}} \to \infty.

We use this theorem in §5 (bridge theorems) without reproof. Two ingredients we’ll lean on: (i) the coverage statement itself, which lower-bounds the marginal coverage of any score-function-based interval that uses the conformal threshold — including the CQR bridge; and (ii) the rank-symmetry argument, which we’ll need to recombine with QR’s pointwise-approximation bounds to prove the CQR-coverage decomposition (Theorem 5.1).

Split-conformal band on the heteroscedastic running example. Left: scatter with band overlaid, points colored by inside/outside, marginal coverage 0.921. Right: histogram of calibration scores |Y - mu_hat(X)| with the threshold q-hat marked at 0.970.
Figure 4. Split-conformal band on the heteroscedastic running example with α=0.1\alpha = 0.1, ntrain=ncal=500n_{\mathrm{train}} = n_{\mathrm{cal}} = 500. The conformal threshold q^1−α=0.97\hat{q}_{1-\alpha} = 0.97 defines a constant half-width band around the polynomial-ridge fit μ^\hat{\mu}. Empirical marginal coverage on this single test-set draw is 0.9210.921 — within sampling noise of the Theorem 1 envelope [0.900,0.902][0.900, 0.902], which bounds the *expected* coverage over calibration and test draws, not one realization.

What this gets, what it misses. Running the construction with α=0.1\alpha = 0.1 delivers empirical marginal coverage close to 0.90.9, exactly as Theorem 1 promises. But the conditional-coverage curve reproduces Figure 2 almost identically: above 99%99\% near x=0x = 0, dropping below 80%80\% near x=±3x = \pm 3. The reason is mechanical — the score s(x,y)=∣y−μ^(x)∣s(x, y) = |y - \hat{\mu}(x)| has no xx-dependence in its calibration distribution, so the threshold q^1−α\hat{q}_{1-\alpha} is a single number, and the resulting band is constant-width regardless of μ^\hat{\mu}.

Conditional coverage by 10 equal-width bins of X for the split-conformal band, designed visually parallel to Figure 2: same axes, same reference line at 0.9, same color scheme.
Figure 5. Split-conformal conditional coverage by bin reproduces Figure 2's gap. Range of conditional coverage: from ≈1.00\approx 1.00 near x=0x = 0 to ≈0.80\approx 0.80 near x=±3x = \pm 3. Marginal coverage hits the target (0.920.92) but the conditional gap is structurally unchanged from the constant-width band — the score ignores heteroscedasticity, so the threshold is a single number, and the band is constant-width regardless of the base predictor.

Two ways forward: (a) change the score to encode heteroscedasticity (CQR, §5 bridge, with pure QR in §3 as the unconformalized version); (b) strengthen the assumptions and try a symmetry argument (HL test-inversion, §4) — which, as §4 shows, does not deliver a coverage guarantee. §5 makes the comparison quantitative.

Construction II — Conditional-Quantile (Pure QR Intervals)

The §2 split-conformal construction gets exact finite-sample marginal coverage but a constant-width band. This section does the opposite trade: it gives up the finite-sample guarantee in exchange for a band whose shape tracks the conditional spread of YY given XX. The construction is the asymptotic prediction interval obtained by fitting two quantile-regression models at levels α/2\alpha/2 and 1−α/21 - \alpha/2, and using their fitted curves as the lower and upper endpoints of the interval — no calibration step. We call it pure QR to distinguish it from CQR (the §5 bridge), which keeps the QR shape but replaces the asymptotic justification with a finite-sample rank-symmetry argument.

The whole construction is a citation of Quantile Regression for the population-level conditional-quantile fact, plus an asymptotic-coverage statement that follows from QR’s Koenker–Knight asymptotic normality. We don’t reprove either result. The interesting mathematical content is the diagnosis of why the resulting interval is conditionally adaptive but only asymptotically valid — and the bookkeeping required to express it as a (s,q)(s, q) pair in the §2.1 score-function frame, which §5 then reuses verbatim.

The construction.

Definition 8 (Pure QR prediction interval).

Let q^τ(x)\hat{q}_\tau(x) denote a fitted estimator of the conditional τ\tau-quantile of YY given X=xX = x, in any function class (linear-in-features, kernel, neural). For miscoverage α∈(0,1)\alpha \in (0, 1), the pure QR prediction interval at xx is

C^αQR(x)  =  [ q^α/2(x),  q^1−α/2(x) ].\hat{C}^{\mathrm{QR}}_\alpha(x) \;=\; \big[\, \hat{q}_{\alpha/2}(x),\; \hat{q}_{1-\alpha/2}(x) \,\big].

Translating into the score-function frame from §2.1: pure QR uses

s(x,y)  =  max⁡ ⁣(q^α/2(x)−y,  y−q^1−α/2(x)),q  =  0.s(x, y) \;=\; \max\!\big(\hat{q}_{\alpha/2}(x) - y,\; y - \hat{q}_{1-\alpha/2}(x)\big), \qquad q \;=\; 0.

The score is positive when yy falls outside the QR interval, and negative when inside; the threshold 00 corresponds to “no calibration” in the score-function language. The §5 CQR bridge will keep the score and replace the threshold 00 with a conformal (1−α)(1-\alpha)-quantile of calibration scores per Definition 7.

Why the construction makes sense (population fact). If we knew the true conditional quantile functions qα/2∗q_{\alpha/2}^* and q1−α/2∗q_{1-\alpha/2}^*, the resulting interval would have exact conditional coverage by construction: for every xx,

P ⁣(Yn+1∈[qα/2∗(Xn+1),q1−α/2∗(Xn+1)] ∣ Xn+1=x)  =  1−α.\mathbb{P}\!\big( Y_{n+1} \in [q_{\alpha/2}^*(X_{n+1}), q_{1-\alpha/2}^*(X_{n+1})] \,\big|\, X_{n+1} = x \big) \;=\; 1 - \alpha.

This is just the definition of conditional quantiles — the probability mass of YY given X=xX = x between its α/2\alpha/2 and 1−α/21 - \alpha/2 quantiles is, by definition, 1−α1 - \alpha. There is nothing to prove here that isn’t already in Quantile Regression.

The construction is conditionally calibrated at the population level. In English: if we had an oracle for the true conditional quantiles, this is the thing we would build, and it would be conditionally valid pointwise. The asymptotic theory below says that consistent estimators inherit this property in the limit; the gap to finite samples is what §5’s bridge quantifies and what motivates CQR.

Theorem 2 (Pure QR asymptotic conditional coverage (Koenker–Knight)).

Suppose the conditional density fY∣X(⋅∣x)f_{Y \mid X}(\cdot \mid x) is positive and continuous in a neighborhood of qτ∗(x)q_\tau^*(x) for τ∈{α/2,1−α/2}\tau \in \{\alpha/2, 1 - \alpha/2\}, that the QR estimators q^α/2\hat{q}_{\alpha/2} and q^1−α/2\hat{q}_{1-\alpha/2} are uniformly consistent on the support of XX, and that the function class is rich enough to contain qτ∗q_\tau^*. Then for PX\mathbb{P}_X-almost every xx,

P ⁣(Yn+1∈C^αQR(Xn+1) ∣ Xn+1=x)  ⟶  1−αas n→∞.\mathbb{P}\!\big( Y_{n+1} \in \hat{C}^{\mathrm{QR}}_\alpha(X_{n+1}) \,\big|\, X_{n+1} = x \big) \;\longrightarrow\; 1 - \alpha \quad \text{as } n \to \infty.

Proof sketch (cited from Quantile Regression and Knight 1998): pointwise asymptotic normality n(q^τ(x)−qτ∗(x))→dN ⁣(0,ωτ(x)2)\sqrt{n}(\hat{q}_\tau(x) - q_\tau^*(x)) \xrightarrow{d} \mathcal{N}\!\big(0, \omega_\tau(x)^2\big) in xx, with the asymptotic variance ωτ(x)2\omega_\tau(x)^2 involving the conditional density at qτ∗(x)q_\tau^*(x). Pointwise consistency of q^τ\hat{q}_\tau then implies pointwise convergence of conditional coverage to its population value 1−α1 - \alpha by continuity of the conditional CDF.

Three things this theorem does not deliver, and §5 will quantify the gap on each:

  1. No finite-sample guarantee. The convergence is in the limit. At any fixed nn, conditional coverage can deviate from 1−α1 - \alpha by an amount that depends on QR’s pointwise estimation error.
  2. No marginal guarantee either. Marginal coverage is the integral of conditional coverage against PX\mathbb{P}_X. If conditional coverage is biased downward at most xx (a generic possibility — QR overfits the visible data and produces too-narrow bands at finite nn), marginal coverage falls below 1−α1 - \alpha. The §6 empirical comparison will surface this clearly.
  3. No uniform statement across xx. Pointwise convergence allows arbitrarily slow convergence at xx values near the boundary of the support, where QR estimates are notoriously noisy. Theorem 5.2 (the width-comparison bound) leans on a uniform refinement of this convergence under bounded conditional density.

The contrast with Theorem 1 in §2 is the topic’s central trade. Theorem 1 gives a finite-sample marginal guarantee under exchangeability with a constant-width interval; Theorem 2 gives an asymptotic conditional guarantee under stronger smoothness assumptions with a heteroscedasticity-adapted interval. CQR (§5 bridge) gets the better of both — but only on the marginal axis, not on the conditional one, as Theorem 5.1 will make precise.

Pure QR on the running example. The notebook fits two quantile regressors on the heteroscedastic running example with degree-3 polynomial features at τ=0.05\tau = 0.05 and τ=0.95\tau = 0.95, returning the band [q^0.05(x),q^0.95(x)][\hat{q}_{0.05}(x), \hat{q}_{0.95}(x)] at α=0.1\alpha = 0.1. Three observations:

  1. The band is visibly heteroscedastic. Narrow near x=0x = 0 where the noise is small, wide near x=±3x = \pm 3 where it’s large. This is the band-shape win pure QR delivers, and the constant-width band of §2 cannot.
  2. Conditional coverage is approximately flat. The 10-bin conditional-coverage histogram is roughly horizontal at ≈0.9\approx 0.9 — a striking visual contrast with the inverted-U shape of Figures 2 and 5. Theorem 2 in action.
  3. Marginal coverage is not automatic. On a typical run with n=1000n = 1000, empirical marginal coverage often falls a bit short of 0.90.9 — perhaps 0.880.88 or 0.890.89 — because QR’s finite-sample bias produces too-narrow intervals on average. This is the failure mode that Theorem 1 in §2 was designed to rule out, and the failure mode CQR fixes by composition.
Pure QR band on the heteroscedastic running example overlaid with the dashed split-conformal band. Side-by-side conditional-coverage strip charts: split conformal inverted-U-shaped, pure QR roughly flat near 0.9.
Figure 6. Pure QR (green) tracks heteroscedasticity; split conformal (blue dashed) does not. Right strip charts: split conformal's conditional coverage is an inverted U (range ≈0.30\approx 0.30); pure QR's is roughly flat (range ≈0.15\approx 0.15). Pure QR's marginal coverage at ntrain=1000n_{\mathrm{train}} = 1000 is 0.9040.904, slightly above target — but in the §6 batch comparison the average is closer to 0.8960.896, the asymptotic-only validity bites.
Monte Carlo marginal-coverage distributions over n_rep = 200 draws comparing split conformal and pure QR. Split conformal histogram tightly peaked at 0.901; pure QR distribution wider and centered slightly below 0.90.
Figure 7. Monte Carlo marginal-coverage distributions (200 reps, nper=800n_{\mathrm{per}} = 800). Split conformal's distribution is tightly peaked at ≈0.901\approx 0.901 (Theorem 1's finite-sample envelope); pure QR's distribution is wider and centered slightly below 0.90.9 — Theorem 2 is asymptotic, and pure QR underdelivers on marginal coverage by about half a percentage point at this sample size (mean 0.8960.896).

Preview of CQR (§5 bridge). CQR is, in the score-function frame, the same construction as pure QR with the threshold 00 replaced by the conformal (1−α)(1-\alpha)-quantile of calibration scores per Definition 7. That is:

Pure QRCQR
Score s(x,y)=max⁡(q^α/2(x)−y,y−q^1−α/2(x))s(x, y) = \max(\hat{q}_{\alpha/2}(x) - y, y - \hat{q}_{1-\alpha/2}(x))Same score
Threshold q=0q = 0Threshold q^1−α\hat{q}_{1-\alpha} from a calibration set
Band [q^α/2(x),q^1−α/2(x)][\hat{q}_{\alpha/2}(x), \hat{q}_{1-\alpha/2}(x)]Band [q^α/2(x)−q^1−α,  q^1−α/2(x)+q^1−α][\hat{q}_{\alpha/2}(x) - \hat{q}_{1-\alpha},\; \hat{q}_{1-\alpha/2}(x) + \hat{q}_{1-\alpha}]
Asymptotic conditional coverage (Theorem 2)Finite-sample marginal coverage (Theorem 1, applied to the QR score)
QR shape, no marginal calibrationQR shape with marginal calibration

The §5 bridge makes this precise. CQR inherits split conformal’s finite-sample marginal guarantee verbatim — it really is just split conformal with a particular score — and the QR shape, which gives it conditional adaptivity in approximation even though the rigorous guarantee remains marginal-only. Theorem 5.1 will quantify exactly how much of pure QR’s conditional validity survives the conformalization, and Theorem 5.2 will compare CQR’s expected width to split conformal’s under heteroscedasticity. We don’t define or analyze CQR further in this section — that’s §5’s job. The point of the preview is that the score-function frame from §2.1 is doing real work: pure QR and CQR differ by exactly one number (the threshold), and that one-number difference is the entire architectural content of the bridge.

Construction III — Test-Inversion (HL-Style Prediction Intervals)

The two preceding constructions illustrate the marginal/conditional trade in its purest form: §2 buys a finite-sample marginal guarantee with the price of a constant-width band; §3 buys conditional adaptivity with the price of an asymptotic-only guarantee. Both work under exchangeability or iid — assumptions weak enough to accommodate arbitrary noise distributions. This section tries the opposite trade: accept a much stronger assumption (iid with residuals symmetric around zero, independent of XX) and borrow the Hodges–Lehmann machinery that gives distribution-free intervals for a location parameter. The result is instructive precisely because it fails: the HL-style band is narrow and its coverage does not depend on xx, but it carries no prediction-coverage guarantee, and it under-covers.

The construction adapts Hodges–Lehmann’s Walsh-average machinery from Rank Tests, which gives a confidence interval for a location parameter θ\theta, to the prediction problem by recentering at μ^(x)\hat{\mu}(x). The move looks small, but a confidence interval for a center of symmetry and a prediction interval for the next observation answer different questions — and §4’s remark and §5’s Theorem 5.3 show exactly how far apart the answers are. It is the third construction in our score-function frame, with the HL-style score completing the picture set up in §2.1.

The headline numerical demonstration switches to the second running example: a symmetric heavy-tailed location-shift problem with constant variance, where exchangeability-only constructions are valid but their bands inflate to cover the heavy tails, and pure QR’s smoothness assumptions are dubious near the tails. This is the regime most favorable to HL — and even here, §5’s Theorem 5.3 shows its band converges to the wrong quantile: about 0.740.74 of the split-conformal width, with limiting coverage about 0.820.82 instead of 0.90.9.

The location-shift setup. The construction requires a more restrictive data model than §§2-3:

Definition 9 (Location-shift model).

Pairs (Xi,Yi)i=1n+1(X_i, Y_i)_{i=1}^{n+1} are iid from a location-shift model if there exists a function μ ⁣:X→R\mu \colon \mathcal{X} \to \mathbb{R} and a distribution FF on R\mathbb{R} symmetric around zero such that

Yi=μ(Xi)+εi,εi∼iidF,εi⊥Xi.Y_i = \mu(X_i) + \varepsilon_i, \qquad \varepsilon_i \stackrel{\mathrm{iid}}{\sim} F, \qquad \varepsilon_i \perp X_i.

Three assumptions are doing work here, in increasing order of strength:

  1. iid — already required by §3.
  2. Independence of residual and feature (εi⊥Xi\varepsilon_i \perp X_i). Rules out heteroscedasticity. If Var(ε∣X)\mathrm{Var}(\varepsilon \mid X) depends on XX, the construction below is no longer valid: the symmetry argument it leans on requires the residual distribution to be the same at every xx.
  3. Symmetry of the residual distribution (F=−FF = -F). Stronger than independence: the noise distribution must be a centered symmetric distribution. Gaussian, tt, Laplace, uniform-symmetric all qualify; exponential, gamma, lognormal don’t.

This is a much narrower class than the exchangeable models §2 admits or the iid models §3 admits. What it buys is symmetry of the residual distribution, which is what the Walsh-average construction below leans on; what it does not buy is a coverage guarantee for the next observation, as the remark after Definition 11 explains.

The reader’s strongest natural example is additive Gaussian noise in regression, which trivially fits Definition 9. The more interesting example — and the one we’ll headline — is additive Student-tt noise with df=3\mathrm{df} = 3, where the heavy tails make pure QR’s smoothness assumptions wobbly and inflate the constant-width split-conformal band well beyond what the data needs.

The Walsh-average score. To put the HL-style construction into the §2.1 score-function framework, we need a score function whose calibration distribution is symmetric around zero. The natural choice generalizes the Walsh-average construction from Rank Tests:

Definition 10 (HL-style nonconformity score).

Fix a base predictor μ^\hat{\mu} trained on a held-out fold. For a calibration set with residuals ri=Yi−μ^(Xi)r_i = Y_i - \hat{\mu}(X_i), the HL-style score for a candidate test pair (x∗,y∗)(x_*, y_*) is

sHL(x∗,y∗)  =  median1≤i≤ncal ⁣(12[(y∗−μ^(x∗))+ri]).s_{\mathrm{HL}}(x_*, y_*) \;=\; \mathrm{median}_{1 \le i \le n_{\mathrm{cal}}}\!\Big( \tfrac{1}{2}\big[ (y_* - \hat{\mu}(x_*)) + r_i \big] \Big).

The median of the Walsh averages of the test residual and the calibration residuals. When y∗y_* is the true Yn+1Y_{n+1}, this is the one-sample HL location estimator from Rank Tests applied to the augmented residual sample. Under symmetry, that estimator is centered at zero.

The threshold paired with this score doesn’t follow Definition 7. In implementation we take the central (1−α)(1-\alpha) range of the calibration Walsh averages: out of M=ncal(ncal+1)/2M = n_{\mathrm{cal}}(n_{\mathrm{cal}}+1)/2 Walsh averages, the interval [A(w+1),A(M−w)][A_{(w+1)}, A_{(M-w)}] contains a fraction (M−2w)/M(M - 2w)/M of them, so we choose w=⌊Mα/2⌋w = \lfloor M\alpha/2 \rfloor. This is not the Wilcoxon critical value of the Rank Tests HL confidence interval for the center of symmetry: that interval shrinks like 1/ncal1/\sqrt{n_{\mathrm{cal}}} and, recentered at μ^(x)\hat{\mu}(x), would cover almost no new observations.

Definition 11 (HL-style prediction interval).

Let μ^\hat{\mu} be a base predictor trained on a separate fold, r1,…,rncalr_1, \ldots, r_{n_{\mathrm{cal}}} the calibration residuals, and A(1)≤⋯≤A(M)A_{(1)} \le \cdots \le A_{(M)} their sorted Walsh averages with M=ncal(ncal+1)/2M = n_{\mathrm{cal}}(n_{\mathrm{cal}}+1)/2. For miscoverage α\alpha, let wα=⌊Mα/2⌋w_\alpha = \lfloor M\alpha/2 \rfloor, so that [A(wα+1),A(M−wα)][A_{(w_\alpha+1)}, A_{(M-w_\alpha)}] is the central (1−α)(1-\alpha) range of the Walsh averages. The HL-style prediction interval at x∗x_* is

C^αHL(x∗)  =  μ^(x∗)  +  [ A(wα+1),  A(M−wα) ].\hat{C}^{\mathrm{HL}}_\alpha(x_*) \;=\; \hat{\mu}(x_*) \;+\; \big[\, A_{(w_\alpha + 1)},\; A_{(M - w_\alpha)} \,\big].

The interval is the fitted mean plus a pair of Walsh-average order statistics. The width A(M−wα)−A(wα+1)A_{(M - w_\alpha)} - A_{(w_\alpha + 1)} is the same at every x∗x_* — the band is constant-width like §2’s, not adaptive like §3’s.

Remark (What the HL-style band does and doesn't guarantee).

The HL-style band has no finite-sample prediction-coverage guarantee. Under Definition 9 with a consistent μ^\hat{\mu}, the calibration residuals converge in distribution to ε\varepsilon, the Walsh averages to (ε1+ε2)/2(\varepsilon_1 + \varepsilon_2)/2, and the order statistics A(wα+1),A(M−wα)A_{(w_\alpha+1)}, A_{(M-w_\alpha)} to the α/2\alpha/2 and 1−α/21-\alpha/2 quantiles of F∗FF * F — the law of the average of two independent copies of ε\varepsilon, not of ε\varepsilon itself. So the band converges to μ(x)±qF∗F\mu(x) \pm q_{F*F}, with qF∗F=(F∗F)−1(1−α/2)q_{F*F} = (F*F)^{-1}(1-\alpha/2), and its coverage — conditional on any xx, hence also marginal — tends to

P(∣ε∣≤qF∗F)  =  2F(qF∗F)−1.\mathbb{P}\big(|\varepsilon| \le q_{F*F}\big) \;=\; 2F(q_{F*F}) - 1.

Averaging two copies concentrates the distribution, so for most symmetric FF we have qF∗F<F−1(1−α/2)q_{F*F} < F^{-1}(1-\alpha/2) and the limit is below 1−α1 - \alpha. For Gaussian noise (ε1+ε2)/2∼N(0,σ2/2)(\varepsilon_1+\varepsilon_2)/2 \sim \mathcal{N}(0, \sigma^2/2), so qF∗F=σz1−α/2/2q_{F*F} = \sigma z_{1-\alpha/2}/\sqrt{2} and the limiting coverage at α=0.1\alpha = 0.1 is 2Φ(1.645/2)−1≈0.7552\Phi(1.645/\sqrt{2}) - 1 \approx 0.755. For t3t_3 noise it is ≈0.821\approx 0.821. (For Cauchy noise, where the average of two copies is again Cauchy with the same scale, the band happens to be right.) The Hodges–Lehmann interval in Rank Tests is a confidence interval for the center of symmetry; recentering it at μ^(x)\hat{\mu}(x) does not turn it into a prediction interval.

At finite nn, a biased predictor adds a second effect: the calibration residuals are b(Xi)+εib(X_i) + \varepsilon_i with b=μ−μ^b = \mu - \hat{\mu}, so a poor μ^\hat{\mu} widens the Walsh-average spread, and the test residual at xx is shifted by b(x)b(x), so coverage varies with xx. We’ll revisit width in §6’s empirical comparison.

✓ Definition 9 conditions metmarginal 0.848 · mean width 2.445 · cond range Δ = 0.052

Try walking through the failure modes one at a time. With HL selected: symmetric residual + σ_max = 0 = green check (Definition 9's conditions met), and the strip chart is roughly flat — but below 0.9, with marginal coverage around 0.72–0.85 (the below-nominal coverage §4's remark predicts — no HL coverage guarantee exists). Switch to centered χ² or lognormal: the indicator flips red, yet marginal coverage stays in about the same range (≈ 0.72–0.82), so a single draw does not isolate a symmetry effect (cf. Figure 10). Or keep the Gaussian residual but push σ_max up: the strip chart re-acquires the U-shape (constant-width can't track heteroscedasticity). Switch to CQR to recover conditional adaptivity in the heteroscedastic case.

The remark’s prediction is what §6 measures: HL marginal coverage of 0.760.76–0.830.83 across §6’s four scenarios — 0.7570.757 under homoscedastic Gaussian noise, matching the 0.7550.755 limit — not the nominal 0.90.9. The shortfall is the construction’s limit, not a sampling artifact.

Running Example 2 — heavy-tailed location-shift. The headline figure for §4 switches scenarios:

Running Example 2 (heavy-tailed location-shift).

Y∣X=x  ∼  μ(x)+σ⋅t3,μ(x)=0.4cos⁡(πx),σ=0.6,X∼Uniform(−2,2).Y \mid X = x \;\sim\; \mu(x) + \sigma \cdot t_3, \qquad \mu(x) = 0.4 \cos(\pi x),\quad \sigma = 0.6,\quad X \sim \mathrm{Uniform}(-2, 2).

Constant variance, additive symmetric heavy-tailed (Student-tt with df=3\mathrm{df} = 3) noise, smooth deterministic mean.

The notebook produces a side-by-side comparison on this scenario at α=0.1\alpha = 0.1:

  1. HL-style — no coverage guarantee (the remark above); under t3t_3 noise its limiting coverage is ≈0.821\approx 0.821. On the Figure 8 draw its conditional-coverage strip is roughly flat between about 0.820.82 and 0.890.89 across the XX-bins (marginal 0.8620.862), below the nominal 0.90.9.
  2. Split conformal — Theorem 1 gives finite-sample marginal 0.90.9 coverage. The band is constant-width like HL, but the threshold is the empirical 9090th percentile of ∣ri∣|r_i|, which under t3t_3 is inflated by the heavy tails. Visually, split conformal’s band is wider than HL’s.
  3. Pure QR — Theorem 2 holds asymptotically. Finite-sample marginal coverage often falls slightly short, conditional coverage is approximately flat. The band is narrower in the middle (where most data sits) and wider in the tails — but on this constant-variance scenario, that adaptivity is wasted.

The ranking by mean width on this scenario is HL < pure QR ≈ split conformal (Figure 9: 2.272.27, 2.982.98, 3.033.03). HL is narrower because its band estimates quantiles of F∗FF * F rather than of FF — Theorem 5.3 makes the ratio precise, ≈0.74\approx 0.74 under t3t_3 — so the narrowness is the coverage loss, not an efficiency gain. Pure QR spends degrees of freedom modeling a quantile function that is actually constant in xx, and lands close to split conformal.

Three-panel figure on RE2: scatter with HL, split conformal, and pure QR bands overlaid; Walsh-averages histogram with critical pair marked; conditional-coverage strip chart by bin — split conformal and pure QR near 0.9, HL between about 0.82 and 0.89.
Figure 8. Three constructions on Running Example 2 (heavy-tailed location-shift), single seeded draw. Left: HL band (purple) is narrower than split conformal (blue dashed) and pure QR (green dotted) on this constant-variance heavy-tailed regime. Middle: calibration Walsh averages with critical pair A(w+1)≈−1.14A_{(w+1)} \approx -1.14, A(M−w)≈1.43A_{(M-w)} \approx 1.43 marked. Right: conditional coverage by 8 XX-bins — split conformal and pure QR sit near 0.90.9; HL sits between about 0.820.82 and 0.890.89 on this single draw (marginal 0.8620.862).
Box plots of mean band width over 100 Monte Carlo replications on RE2. HL median around 2.27, split conformal around 3.03, pure QR around 2.98.
Figure 9. Width-comparison Monte Carlo on RE2 (100 reps, ntrain=ncal=500n_{\mathrm{train}} = n_{\mathrm{cal}} = 500). HL is the narrowest (mean width 2.272.27), split conformal next (3.033.03), pure QR similar to split conformal (2.982.98). HL/SC width ratio ≈0.75\approx 0.75 at this ncaln_{\mathrm{cal}} — close to the t3t_3 limit qF∗F/qF≈0.743q_{F*F}/q_F \approx 0.743 of Theorem 5.3.

Limits — when each assumption fails. Definition 9’s three assumptions fail in distinct, observable ways. The notebook makes each failure visible:

  1. Symmetry violation. Replace the t3t_3 residual with a centered chi-squared minus its mean (right-skewed, mean zero, but F≠−FF \ne -F). The empirical conditional coverage of the HL band falls below 0.90.9 in every bin (about 0.660.66–0.880.88, marginal 0.7650.765) — but HL also sits below 0.90.9 under symmetric noise (Figure 8), so this draw does not pin the shortfall on the symmetry violation (Figure 10). Split conformal still hits 0.90.9 marginally; pure QR still flattens conditionally.
  2. Heteroscedasticity (ε⊥̸X\varepsilon \not\perp X). Switch back to Running Example 1. The HL band has constant width (it’s a single pair of Walsh-average order statistics, with no xx-dependence), so its conditional-coverage strip chart re-acquires the inverted-U shape of Figure 5 — over-cover near x=0x = 0, under-cover near x=±3x = \pm 3. Whatever flatness the HL strip had evaporates the moment heteroscedasticity is present. This is exactly the regime where pure QR (and §5’s CQR bridge) wins.
  3. Non-iid (e.g., temporal correlation). The exchangeability that the calibration-based constructions lean on fails. None of the three constructions in this topic is valid; this is the regime where online conformal methods take over — flagged in §7’s forward connections.
Symmetry-violation diagnostic: HL marginal coverage sits at ~0.77 under skewed centered chi-squared residuals while split conformal (0.93) and pure QR (0.89) stay near or above 0.9.
Figure 10. Symmetry-violation diagnostic. Replacing the t3t_3 residual with a centered chi-squared minus its mean (right-skewed, mean zero) breaks Definition 9's symmetry hypothesis. HL marginal coverage sits at ≈0.77\approx 0.77 — no lower than its shortfall under symmetric noise (0.7570.757 on §6's Scenario A), so this panel does not isolate a symmetry effect; split conformal stays at 0.930.93 marginally; pure QR remains near 0.890.89.

The headline of §4 is therefore a negative one: recentering the Hodges–Lehmann interval at μ^(x)\hat{\mu}(x) does not produce a prediction interval. The band is narrow and, under symmetric homoscedastic noise, its coverage does not depend on xx — but it converges to the wrong quantile and under-covers even when every assumption of Definition 9 holds, and it has no defense against heteroscedasticity or skewness either. §5 makes the width and coverage limits precise (Theorem 5.3); §6 quantifies the trade-offs across all four scenarios.

Bridge Theorems

§§2–4 introduced the three constructions through the score-function frame from §2.1, citing the prerequisite theorems from Conformal Prediction, Quantile Regression, and Rank Tests rather than reproving them. The synthesis topic earns its keep here. This section formalizes three relationships between the constructions:

  1. Theorem 5.1 (CQR coverage decomposition) — the bridge between Constructions I and II. CQR is always marginally valid (it’s split conformal under the QR score, by definition); we prove that its conditional coverage gap is bounded by twice the QR base learner’s pointwise quantile-estimation error. This explains the empirical pattern from §3 — CQR is conditional-adaptive but not conditional-valid — without requiring it as a separate theorem.
  2. Theorem 5.2 (heteroscedastic width comparison) — quantifies the §3 efficiency intuition. Under Running Example 1’s heteroscedastic noise with conditional standard deviation bounded between σ−>0\sigma_- > 0 and σ+<∞\sigma_+ < \infty, the expected CQR/split-conformal width ratio converges to an explicit limit, bounded below by EX[σ(X)]/σ+\mathbb{E}_X[\sigma(X)]/\sigma_+ and equal to 11 in the homoscedastic limit σ−=σ+\sigma_- = \sigma_+.
  3. Theorem 5.3 (HL / conformal asymptotic width ratio) — the bridge between Constructions I and III. Under Definition 9’s location-shift model, split conformal converges to μ(x)±F−1(1−α/2)\mu(x) \pm F^{-1}(1-\alpha/2) while the HL-style band converges to μ(x)±qF∗F\mu(x) \pm q_{F*F}, a quantile of the average of two noise copies. The HL/split-conformal width ratio therefore tends to qF∗F/F−1(1−α/2)q_{F*F}/F^{-1}(1-\alpha/2) — 1/21/\sqrt{2} for Gaussian noise, ≈0.743\approx 0.743 for t3t_3 — and Figure 9’s finite-sample width gap is the limit, not a transient.

CQR is fully defined and analyzed here per the §3.5 agreement. Notation is shared with §§2–4.

Definition of CQR.

Definition 12 (Conformalized quantile regression (Romano, Patterson & Candès 2019)).

Let q^α/2\hat{q}_{\alpha/2} and q^1−α/2\hat{q}_{1-\alpha/2} be quantile-regression estimators trained on a training fold disjoint from the calibration fold. For each calibration point ii define the CQR score

Ei  =  max⁡ ⁣(q^α/2(Xi)−Yi,  Yi−q^1−α/2(Xi)).E_i \;=\; \max\!\big(\hat{q}_{\alpha/2}(X_i) - Y_i,\; Y_i - \hat{q}_{1-\alpha/2}(X_i)\big).

Let Q^1−α\hat{Q}_{1-\alpha} be the conformal (1−α)(1-\alpha)-quantile of {Ei}i=1ncal\{E_i\}_{i=1}^{n_{\mathrm{cal}}} per Definition 7. The CQR prediction interval at xx is

C^αCQR(x)  =  [ q^α/2(x)−Q^1−α,  q^1−α/2(x)+Q^1−α ].\hat{C}^{\mathrm{CQR}}_\alpha(x) \;=\; \big[\, \hat{q}_{\alpha/2}(x) - \hat{Q}_{1-\alpha},\; \hat{q}_{1-\alpha/2}(x) + \hat{Q}_{1-\alpha} \,\big].

In the §2.1 score-function frame, CQR is the pair (s,q)=(sQR,Q^1−α)(s, q) = (s_{\mathrm{QR}}, \hat{Q}_{1-\alpha}), where sQRs_{\mathrm{QR}} is the pure-QR score from §3.1 and the threshold is the conformal quantile rather than zero. Theorem 1 from §2 applies verbatim — CQR inherits split conformal’s finite-sample marginal coverage guarantee with no extra work, the architectural payoff of the score-function frame.

Theorem 5.1 — CQR coverage decomposition. The motivating question. Pure QR (§3) is conditionally valid asymptotically; CQR (§5.1) is marginally valid in finite samples. What happens to conditional coverage under the conformalization? Theorem 5.1 answers in two parts: a finite-sample bound (the conformal +1+1 correction transfers cleanly), and a conditional-coverage bound that decays at the rate of QR’s estimation error.

Let qα/2∗q_{\alpha/2}^* and q1−α/2∗q_{1-\alpha/2}^* be the true conditional quantiles, and define the pointwise QR estimation error

Δn(x)  =  max⁡ ⁣(∣q^α/2(x)−qα/2∗(x)∣,  ∣q^1−α/2(x)−q1−α/2∗(x)∣).\Delta_n(x) \;=\; \max\!\Big( |\hat{q}_{\alpha/2}(x) - q_{\alpha/2}^*(x)|,\; |\hat{q}_{1-\alpha/2}(x) - q_{1-\alpha/2}^*(x)| \Big).

Theorem 5.1 (CQR coverage decomposition).

Suppose the calibration data and test point are exchangeable, the QR base learner is trained on a disjoint fold, and the conditional density fY∣X(⋅∣x)f_{Y \mid X}(\cdot \mid x) is bounded above by fmax⁡f_{\max} uniformly on the support of XX.

(i) Marginal coverage (finite sample, exchangeability only). For every α∈(0,1)\alpha \in (0, 1),

1−α  ≤  P ⁣(Yn+1∈C^αCQR(Xn+1))  ≤  1−α+1ncal+1.1 - \alpha \;\le\; \mathbb{P}\!\big( Y_{n+1} \in \hat{C}^{\mathrm{CQR}}_\alpha(X_{n+1}) \big) \;\le\; 1 - \alpha + \frac{1}{n_{\mathrm{cal}} + 1}.

(ii) Conditional coverage gap. Additionally, assuming Definition 4 (iid) and the conditional-density bound, for PX\mathbb{P}_X-almost every xx,

∣P ⁣(Yn+1∈C^αCQR(Xn+1) ∣ Xn+1=x)  −  (1−α)∣  ≤  4fmax⁡⋅(Δn(x)+EX[Δn(X)]).\Big| \mathbb{P}\!\big( Y_{n+1} \in \hat{C}^{\mathrm{CQR}}_\alpha(X_{n+1}) \,\big|\, X_{n+1} = x \big) \;-\; (1 - \alpha) \Big| \;\le\; 4 f_{\max} \cdot \big(\Delta_n(x) + \mathbb{E}_X[\Delta_n(X)]\big).
Proof.

(i) Marginal coverage. The QR base learner is trained on a fold disjoint from the calibration set, so the score function sQR(x,y)=max⁡(q^α/2(x)−y,y−q^1−α/2(x))s_{\mathrm{QR}}(x, y) = \max(\hat{q}_{\alpha/2}(x) - y, y - \hat{q}_{1-\alpha/2}(x)) does not depend on the calibration data or the test point; it depends only on the training fold (frozen) and the input pair (x,y)(x, y). Theorem 1 from §2 applies directly: the calibration scores Ei=sQR(Xi,Yi)E_i = s_{\mathrm{QR}}(X_i, Y_i) and the test score En+1=sQR(Xn+1,Yn+1)E_{n+1} = s_{\mathrm{QR}}(X_{n+1}, Y_{n+1}) are exchangeable, so the rank of En+1E_{n+1} in the augmented sample is uniform on {1,…,ncal+1}\{1, \ldots, n_{\mathrm{cal}} + 1\}, giving

1−α  ≤  P(En+1≤Q^1−α)  ≤  1−α+1ncal+1.1 - \alpha \;\le\; \mathbb{P}(E_{n+1} \le \hat{Q}_{1-\alpha}) \;\le\; 1 - \alpha + \frac{1}{n_{\mathrm{cal}} + 1}.

The event {En+1≤Q^1−α}\{E_{n+1} \le \hat{Q}_{1-\alpha}\} is exactly {Yn+1∈C^αCQR(Xn+1)}\{Y_{n+1} \in \hat{C}^{\mathrm{CQR}}_\alpha(X_{n+1})\} by Definition 12.

(ii) Conditional coverage gap. The argument has two steps: bound the gap between CQR’s coverage at xx and the oracle conditional coverage if we knew the true quantiles, then bound the gap between the oracle and the nominal 1−α1 - \alpha.

Step 1. Define the oracle CQR interval

C^αoracle(x)  =  [qα/2∗(x)−Q^1−α∗,  q1−α/2∗(x)+Q^1−α∗],\hat{C}^{\mathrm{oracle}}_\alpha(x) \;=\; [q_{\alpha/2}^*(x) - \hat{Q}_{1-\alpha}^*,\; q_{1-\alpha/2}^*(x) + \hat{Q}_{1-\alpha}^*],

where Q^1−α∗\hat{Q}_{1-\alpha}^* is the conformal (1−α)(1-\alpha)-quantile of the oracle scores Ei∗=max⁡(qα/2∗(Xi)−Yi,Yi−q1−α/2∗(Xi))E_i^* = \max(q_{\alpha/2}^*(X_i) - Y_i, Y_i - q_{1-\alpha/2}^*(X_i)). The CQR interval C^αCQR(x)\hat{C}^{\mathrm{CQR}}_\alpha(x) and the oracle interval C^αoracle(x)\hat{C}^{\mathrm{oracle}}_\alpha(x) have endpoints differing by at most Δn(x)+∣Q^1−α−Q^1−α∗∣\Delta_n(x) + |\hat{Q}_{1-\alpha} - \hat{Q}_{1-\alpha}^*| at each side, so by the conditional-density bound,

∣ P(Yn+1∈C^αCQR∣Xn+1=x)−P(Yn+1∈C^αoracle∣Xn+1=x) ∣  ≤  2fmax⁡(Δn(x)+∣Q^1−α−Q^1−α∗∣).\big|\, \mathbb{P}(Y_{n+1} \in \hat{C}^{\mathrm{CQR}}_\alpha \mid X_{n+1} = x) - \mathbb{P}(Y_{n+1} \in \hat{C}^{\mathrm{oracle}}_\alpha \mid X_{n+1} = x) \,\big| \;\le\; 2 f_{\max} \big(\Delta_n(x) + |\hat{Q}_{1-\alpha} - \hat{Q}_{1-\alpha}^*|\big).

The factor of 2 is from the two interval endpoints.

The conformal-threshold gap satisfies ∣Q^1−α−Q^1−α∗∣≤EX[Δn(X)]+oP(1)|\hat{Q}_{1-\alpha} - \hat{Q}_{1-\alpha}^*| \le \mathbb{E}_X[\Delta_n(X)] + o_P(1) by stability of order statistics under uniformly-bounded perturbations of the underlying random variables — a standard empirical-process argument; see Empirical Processes for the formal statement. Substituting:

∣ P(Yn+1∈C^αCQR∣Xn+1=x)−P(Yn+1∈C^αoracle∣Xn+1=x) ∣  ≤  2fmax⁡(Δn(x)+EX[Δn(X)]).\big|\, \mathbb{P}(Y_{n+1} \in \hat{C}^{\mathrm{CQR}}_\alpha \mid X_{n+1} = x) - \mathbb{P}(Y_{n+1} \in \hat{C}^{\mathrm{oracle}}_\alpha \mid X_{n+1} = x) \,\big| \;\le\; 2 f_{\max} \big(\Delta_n(x) + \mathbb{E}_X[\Delta_n(X)]\big).

Step 2. The oracle interval has Q^1−α∗→0\hat{Q}_{1-\alpha}^* \to 0 as ncal→∞n_{\mathrm{cal}} \to \infty (the oracle scores have median zero by definition of the true conditional quantiles, and the conformal (1−α)(1-\alpha)-quantile of zero-median scores converges to zero from above). At finite ncaln_{\mathrm{cal}}, ∣Q^1−α∗∣≤EX[Δn(X)]+O(ncal−1/2)|\hat{Q}_{1-\alpha}^*| \le \mathbb{E}_X[\Delta_n(X)] + O(n_{\mathrm{cal}}^{-1/2}) — the order statistic of a sample with mean zero deviates from zero only by O(n−1/2)O(n^{-1/2}) plus the contribution of any nonzero training-fold residual that has leaked into the oracle scores via the empirical distribution. The oracle interval thus agrees with [qα/2∗(x),q1−α/2∗(x)][q_{\alpha/2}^*(x), q_{1-\alpha/2}^*(x)] up to a width-≤2EX[Δn(X)]\le 2 \mathbb{E}_X[\Delta_n(X)] symmetric inflation, and the conditional-density bound yields

∣ P(Yn+1∈C^αoracle∣Xn+1=x)−(1−α) ∣  ≤  2fmax⁡⋅EX[Δn(X)]+o(1).\big|\, \mathbb{P}(Y_{n+1} \in \hat{C}^{\mathrm{oracle}}_\alpha \mid X_{n+1} = x) - (1 - \alpha) \,\big| \;\le\; 2 f_{\max} \cdot \mathbb{E}_X[\Delta_n(X)] + o(1).

Combining Steps 1 and 2 by the triangle inequality:

∣ P(Yn+1∈C^αCQR∣Xn+1=x)−(1−α) ∣  ≤  2fmax⁡(Δn(x)+EX[Δn(X)])+2fmax⁡⋅EX[Δn(X)]+o(1).\big|\, \mathbb{P}(Y_{n+1} \in \hat{C}^{\mathrm{CQR}}_\alpha \mid X_{n+1} = x) - (1 - \alpha) \,\big| \;\le\; 2 f_{\max} \big(\Delta_n(x) + \mathbb{E}_X[\Delta_n(X)]\big) + 2 f_{\max} \cdot \mathbb{E}_X[\Delta_n(X)] + o(1).

Bounding the constant factor crudely by 44 absorbs the lower-order term and gives the stated 4fmax⁡⋅(Δn(x)+EX[Δn(X)])4 f_{\max} \cdot (\Delta_n(x) + \mathbb{E}_X[\Delta_n(X)]) for ncaln_{\mathrm{cal}} large enough. □\square

∎

The decomposition has the expected structure: marginal coverage is rate-free (it’s 1−α+O(1/ncal)1 - \alpha + O(1/n_{\mathrm{cal}}) regardless of QR’s estimation error, by exchangeability), but the conditional coverage gap is first-order in QR’s estimation error. If QR is consistent — Δn(x)→0\Delta_n(x) \to 0 for almost every xx — then CQR’s conditional coverage converges to nominal pointwise, recovering pure QR’s Theorem 2 in the limit. At finite nn, CQR’s conditional coverage tracks the QR base learner’s quality, hence the “conditional-adaptive but not conditional-valid” formulation. The fmax⁡f_{\max} factor explains why heavy-tailed conditional distributions are hard: low density means a small change in the interval endpoint translates to a small change in coverage, which sounds like good news but is actually bad — large width changes are needed to fix coverage failures.

Scatter of empirical CQR conditional coverage gap vs theoretical bound 4·f_max·(Delta_n(x) + mean Delta) on RE1; all empirical points fall below the bound.
Figure 11. Theorem 5.1(ii) verification on RE1. Empirical ∣P^(Y∈C^CQR∣X=x)−(1−α)∣|\hat{P}(Y \in \hat{C}^{\mathrm{CQR}} \mid X = x) - (1 - \alpha)| on a 30-point xx-grid plotted against the QR estimation error Δn(x)\Delta_n(x), with the theoretical bound 4fmax⁡⋅(Δn(x)+EX[Δn(X)])4 f_{\max} \cdot (\Delta_n(x) + \mathbb{E}_X[\Delta_n(X)]) overlaid as a dashed line. All empirical points sit below the bound; the bound is loose (it has to be, given the conformalization slack).

Theorem 5.2 — heteroscedastic width comparison. Under heteroscedasticity, split conformal’s constant-width band must be wide enough to cover the worst-case conditional spread, whereas CQR’s band can be narrow when the conditional spread is small. The width-comparison theorem makes this quantitative.

Let σ(x)=StdDev(Y∣X=x)\sigma(x) = \mathrm{StdDev}(Y \mid X = x). We assume bounded conditional standard deviation: 0<σ−≤σ(x)≤σ+<∞0 < \sigma_- \le \sigma(x) \le \sigma_+ < \infty for PX\mathbb{P}_X-almost every xx.

Theorem 5.2 (Heteroscedastic width comparison).

Under iid data with bounded conditional standard deviation σ(x)∈[σ−,σ+]\sigma(x) \in [\sigma_-, \sigma_+] and Gaussian conditional residuals Y−μ(X)=σ(X)ZY - \mu(X) = \sigma(X) Z, with split conformal using score ∣y−μ^(x)∣|y - \hat{\mu}(x)| for a consistent base predictor μ^\hat{\mu} and CQR using a consistent QR base learner, the expected band widths satisfy

EX ⁣[width C^αCQR(X)]EX ⁣[width C^αSC(X)]  ⟶  z1−α/2 EX[σ(X)]w∗  ≥  EX[σ(X)]σ+\frac{\mathbb{E}_X\!\big[\mathrm{width}\,\hat{C}^{\mathrm{CQR}}_\alpha(X)\big]}{\mathbb{E}_X\!\big[\mathrm{width}\,\hat{C}^{\mathrm{SC}}_\alpha(X)\big]} \;\longrightarrow\; \frac{z_{1-\alpha/2}\,\mathbb{E}_X[\sigma(X)]}{w^*} \;\ge\; \frac{\mathbb{E}_X[\sigma(X)]}{\sigma_+}

as ncal→∞n_{\mathrm{cal}} \to \infty, where z1−α/2z_{1-\alpha/2} is the standard-normal (1−α/2)(1-\alpha/2)-quantile and w∗w^* solves EX[2Φ(w∗/σ(X))−1]=1−α\mathbb{E}_X\big[2\Phi(w^*/\sigma(X)) - 1\big] = 1 - \alpha. In the homoscedastic limit σ−=σ+\sigma_- = \sigma_+ the ratio tends to 11.

Proof.

Both halves lean on the width formula in the consistency limit.

Split conformal. As ncal→∞n_{\mathrm{cal}} \to \infty, the conformal threshold q^1−α→F∣R∣−1(1−α)\hat{q}_{1-\alpha} \to F_{|R|}^{-1}(1-\alpha), where F∣R∣F_{|R|} is the CDF of the absolute residual ∣Y−μ^(X)∣→∣σ(X)Z∣|Y - \hat{\mu}(X)| \to |\sigma(X) Z|. That limit is the w∗w^* solving P(∣σ(X)Z∣≤w∗)=EX[2Φ(w∗/σ(X))−1]=1−α\mathbb{P}(|\sigma(X) Z| \le w^*) = \mathbb{E}_X[2\Phi(w^*/\sigma(X)) - 1] = 1 - \alpha. Because σ(X)≤σ+\sigma(X) \le \sigma_+,

P(∣σ(X)Z∣≤σ+z1−α/2)  ≥  P(∣Z∣≤z1−α/2)  =  1−α,\mathbb{P}\big(|\sigma(X) Z| \le \sigma_+ z_{1-\alpha/2}\big) \;\ge\; \mathbb{P}\big(|Z| \le z_{1-\alpha/2}\big) \;=\; 1 - \alpha,

so w∗≤σ+z1−α/2w^* \le \sigma_+ z_{1-\alpha/2}: a constant-width band does not need to cover the high-spread region at full level 1−α1-\alpha, because it over-covers where σ(x)\sigma(x) is small. The split-conformal width is 2q^1−α2\hat{q}_{1-\alpha} everywhere, so EX[width C^αSC(X)]→2w∗\mathbb{E}_X[\mathrm{width}\,\hat{C}^{\mathrm{SC}}_\alpha(X)] \to 2w^*.

CQR. The pure-QR band [q^α/2(x),q^1−α/2(x)][\hat{q}_{\alpha/2}(x), \hat{q}_{1-\alpha/2}(x)] converges pointwise to [μ(x)−σ(x)z1−α/2,μ(x)+σ(x)z1−α/2][\mu(x) - \sigma(x) z_{1-\alpha/2}, \mu(x) + \sigma(x) z_{1-\alpha/2}], so its width converges pointwise to 2σ(x)z1−α/22 \sigma(x) z_{1-\alpha/2}. The CQR conformal correction Q^1−α\hat{Q}_{1-\alpha} inflates each side by o(1)o(1) (Step 2 of Theorem 5.1’s proof). Therefore

EX[width C^αCQR(X)]  →  2z1−α/2EX[σ(X)].\mathbb{E}_X[\mathrm{width}\,\hat{C}^{\mathrm{CQR}}_\alpha(X)] \;\to\; 2 z_{1-\alpha/2} \mathbb{E}_X[\sigma(X)].

Combining, the ratio tends to z1−α/2EX[σ(X)]/w∗z_{1-\alpha/2}\mathbb{E}_X[\sigma(X)]/w^*, and w∗≤σ+z1−α/2w^* \le \sigma_+ z_{1-\alpha/2} gives the lower bound EX[σ(X)]/σ+\mathbb{E}_X[\sigma(X)]/\sigma_+. When σ(X)≡σ+\sigma(X) \equiv \sigma_+, w∗=σ+z1−α/2w^* = \sigma_+ z_{1-\alpha/2} and the ratio is 11. □\square

∎

The numerical implication for Running Example 1 (σ(x)=0.2+0.6∣x∣/3\sigma(x) = 0.2 + 0.6|x|/3 on X∼Uniform(−3,3)X \sim \mathrm{Uniform}(-3, 3)): σ+=0.8\sigma_+ = 0.8 and EX[σ(X)]=0.5\mathbb{E}_X[\sigma(X)] = 0.5, so the lower bound is 0.5/0.8=0.6250.5/0.8 = 0.625. Solving for w∗w^* gives w∗≈0.875w^* \approx 0.875 — far below σ+z0.95≈1.316\sigma_+ z_{0.95} \approx 1.316 — and the exact limit is 1.645×0.5/0.875≈0.941.645 \times 0.5 / 0.875 \approx 0.94. CQR’s band is about 94%94\% of split conformal’s width on RE1, not 62.5%62.5\%; the bound is loose because split conformal trades under-coverage at large ∣x∣|x| for over-coverage near x=0x = 0. The §6 empirical comparison (0.9540.954 on Scenario B) checks this directly.

The Gaussian assumption in the proof can be relaxed; what’s needed is that the conditional CDF FY∣XF_{Y \mid X} be a location-scale family in σ(x)\sigma(x), so the family’s quantile factors out cleanly. The same argument then gives the lower bound EX[σ(X)]/σ+\mathbb{E}_X[\sigma(X)]/\sigma_+ with the family’s (1−α/2)(1-\alpha/2)-quantile in place of z1−α/2z_{1-\alpha/2}; the exact limit changes with the family.

Empirical CQR/SC width ratio plotted against theoretical E[sigma]/sigma_+ on a heteroscedasticity sweep; empirical points sit between 0.95 and 1.02, on top of the exact-limit markers and above the identity line (the lower bound) at every slope.
Figure 12. Theorem 5.2 verification on RE1. Empirical width ratio CQR/SC plotted against the theoretical ratio EX[σ(X)]/σ+\mathbb{E}_X[\sigma(X)]/\sigma_+ on a heteroscedasticity-strength sweep (slope ∈[0,0.6]\in [0, 0.6]). Empirical points (green) sit between about 0.950.95 and 1.021.02, on top of the exact Gaussian limit z1−α/2EX[σ(X)]/w∗z_{1-\alpha/2}\mathbb{E}_X[\sigma(X)]/w^* (purple crosses) and above the lower bound EX[σ(X)]/σ+\mathbb{E}_X[\sigma(X)]/\sigma_+ (red dashed) at every slope. At RE1's slope 0.60.6: empirical 0.9530.953, exact limit 0.9400.940, lower bound 0.6250.625.

Theorem 5.3 — HL / conformal asymptotic width ratio. The third bridge connects Constructions I and III. On Definition 9’s location-shift model, Construction I is valid (location-shift is iid and exchangeable), and Figure 9 shows the HL band narrower than split conformal’s at finite nn. Theorem 5.3 says the gap does not close: the two bands converge to different intervals.

Theorem 5.3 (HL / conformal asymptotic width ratio).

Under the location-shift model of Definition 9 with continuous symmetric residual distribution FF, and a consistent base predictor μ^→μ\hat{\mu} \to \mu in L2(PX)L^2(\mathbb{P}_X), as ncal→∞n_{\mathrm{cal}} \to \infty, pointwise in xx,

C^αSC(x)→P[μ(x)±F−1(1−α/2)],C^αHL(x)→P[μ(x)±qF∗F],\hat{C}^{\mathrm{SC}}_\alpha(x) \xrightarrow{P} \big[\mu(x) \pm F^{-1}(1 - \alpha/2)\big], \qquad \hat{C}^{\mathrm{HL}}_\alpha(x) \xrightarrow{P} \big[\mu(x) \pm q_{F*F}\big],

where qF∗Fq_{F*F} is the (1−α/2)(1-\alpha/2)-quantile of F∗FF * F, the law of (ε1+ε2)/2(\varepsilon_1 + \varepsilon_2)/2. The HL/split-conformal width ratio tends to qF∗F/F−1(1−α/2)q_{F*F}/F^{-1}(1-\alpha/2), and the HL coverage tends to 2F(qF∗F)−12F(q_{F*F}) - 1, which is below 1−α1-\alpha whenever qF∗F<F−1(1−α/2)q_{F*F} < F^{-1}(1-\alpha/2). For Gaussian FF the ratio is 1/2≈0.7071/\sqrt{2} \approx 0.707 (coverage ≈0.755\approx 0.755 at α=0.1\alpha = 0.1); for t3t_3 it is ≈0.743\approx 0.743 (coverage ≈0.821\approx 0.821).

Proof.

Split conformal. The calibration scores are ∣Yi−μ^(Xi)∣=∣εi+b(Xi)∣|Y_i - \hat{\mu}(X_i)| = |\varepsilon_i + b(X_i)|, with b(Xi)=μ(Xi)−μ^(Xi)→0b(X_i) = \mu(X_i) - \hat{\mu}(X_i) \to 0 in L2(PX)L^2(\mathbb{P}_X) by consistency. Thus ∣Yi−μ^(Xi)∣→∣εi∣|Y_i - \hat{\mu}(X_i)| \to |\varepsilon_i| in distribution, and the empirical CDF of the calibration scores converges uniformly to the CDF of ∣ε∣|\varepsilon|. The conformal (1−α)(1-\alpha)-quantile q^1−α\hat{q}_{1-\alpha} of these scores converges to F∣ε∣−1(1−α)F_{|\varepsilon|}^{-1}(1-\alpha), which under symmetry F=−FF = -F equals F−1(1−α/2)F^{-1}(1 - \alpha/2) (since ∣ε∣|\varepsilon| exceeds ww iff ε<−w\varepsilon < -w or ε>w\varepsilon > w, and by symmetry these have equal mass). The split-conformal band is μ^(x)±q^1−α→μ(x)±F−1(1−α/2)\hat{\mu}(x) \pm \hat{q}_{1-\alpha} \to \mu(x) \pm F^{-1}(1 - \alpha/2).

HL-style. The calibration residuals ri=εi+b(Xi)r_i = \varepsilon_i + b(X_i) converge in distribution to εi\varepsilon_i. The Walsh averages Aij=(ri+rj)/2A_{ij} = (r_i + r_j)/2 converge in distribution to (εi+εj)/2(\varepsilon_i + \varepsilon_j)/2, and their empirical distribution over the MM pairs — a U-statistic empirical CDF — converges uniformly to F∗FF * F, which is symmetric around zero because FF is. With wα=⌊Mα/2⌋w_\alpha = \lfloor M\alpha/2 \rfloor, the order statistics A(wα+1)A_{(w_\alpha + 1)} and A(M−wα)A_{(M - w_\alpha)} converge to the α/2\alpha/2 and 1−α/21 - \alpha/2 quantiles of F∗FF * F, that is, to −qF∗F-q_{F*F} and qF∗Fq_{F*F}. So the HL band converges to μ(x)±qF∗F\mu(x) \pm q_{F*F}.

Ratio and coverage. The width ratio is therefore qF∗F/F−1(1−α/2)q_{F*F}/F^{-1}(1-\alpha/2). In the limit, Yn+1=μ(x)+εn+1Y_{n+1} = \mu(x) + \varepsilon_{n+1} lies in the HL band iff ∣εn+1∣≤qF∗F|\varepsilon_{n+1}| \le q_{F*F}, which has probability 2F(qF∗F)−12F(q_{F*F}) - 1 regardless of xx. For Gaussian FF with scale σ\sigma, (ε1+ε2)/2∼N(0,σ2/2)(\varepsilon_1 + \varepsilon_2)/2 \sim \mathcal{N}(0, \sigma^2/2), so qF∗F=F−1(1−α/2)/2q_{F*F} = F^{-1}(1-\alpha/2)/\sqrt{2} and the coverage is 2Φ(z1−α/2/2)−12\Phi(z_{1-\alpha/2}/\sqrt{2}) - 1. The t3t_3 values come from evaluating the convolution numerically. □\square

∎

Theorem 5.3 recasts Figure 9: HL’s narrower band is not a finite-sample efficiency gain that vanishes in the limit — it is a fixed shrinkage toward the quantile of an average of two noise draws, which is the right object for a confidence interval on the center of symmetry and the wrong one for predicting a single new response. Split conformal estimates the right quantile; HL does not.

HL/SC width ratio plotted against n_cal on a logarithmic axis; the ratio falls from about 0.89 at n_cal = 50 and settles on the dashed Theorem 5.3 limit of 0.743 by n_cal = 1000.
Figure 13. Theorem 5.3 verification on RE2. HL/split-conformal width ratio plotted against ncaln_{\mathrm{cal}}: 0.890.89 at ncal=50n_{\mathrm{cal}} = 50, 0.790.79 at 100100, then 0.750.75, 0.750.75, 0.7440.744 and 0.7430.743 at 200200, 500500, 10001000 and 20002000 — settling on the t3t_3 limit qF∗F/qF≈0.743q_{F*F}/q_F \approx 0.743 (red dashed), not on 11.
empirical CQR/SC = 0.957 · theory E[σ(X)]/σ₊ = 0.625

Theorem 5.2: the CQR/SC width ratio is bounded below by E[σ(X)]/σ₊ (the theory point: 1 at σ_max = 0, 0.625 at σ_max = 0.6, RE1). The exact limit is much closer to 1 — 0.94 at RE1 — because a constant-width band trades under-coverage at large |x| for over-coverage near 0. The simulated ratio (≈ 0.86–1.03 across the slider and seeds) sits near that limit, as in Figure 12.

What the three bridges accomplish. Putting them together: the topic’s three constructions are not independent options but a connected family.

  • Theorem 5.1. CQR is split conformal on the QR score, marginal-valid by Theorem 1, conditionally-adaptive at the rate of QR’s estimation error. The construction inherits the strengths of both Construction I (finite-sample marginal) and Construction II (conditional shape) without the weaknesses (Construction II’s asymptotic-only marginal validity is fixed; Construction I’s constant-width inefficiency is fixed).
  • Theorem 5.2. Under heteroscedasticity, the CQR/split-conformal width ratio has an explicit limit, bounded below by EX[σ(X)]/σ+\mathbb{E}_X[\sigma(X)] / \sigma_+ and equal to 11 when the data are homoscedastic. On RE1 the limit is 0.940.94: CQR saves about 6%6\% of width there, far less than the 37.5%37.5\% the lower bound alone would allow.
  • Theorem 5.3. Under location-shift symmetry, HL and split conformal converge to different bands: HL’s targets a quantile of the average of two noise copies, so it stays narrower (ratio ≈0.74\approx 0.74 under t3t_3) and under-covers in the limit. Construction III is not a prediction-interval method in its own right.

The full picture: under exchangeability, take CQR (best of marginal validity and conditional adaptivity); do not use HL-style bands as prediction intervals — they under-cover even when Definition 9 holds, as §6 will document. Under heteroscedasticity with arbitrary noise, CQR is at least as narrow as the Theorem 5.2 lower bound guarantees and narrower than split conformal on RE1. §6 measures all of this empirically across four scenarios.

Empirical Comparison: Coverage, Width, Conditional Behavior, Cost

§§2–5 set up a unified score-function frame, three constructions within it, and three bridge theorems connecting them. This section measures the trade-offs empirically. Four constructions — split conformal, pure QR, CQR, HL — across four scenarios — homoscedastic Gaussian, heteroscedastic Gaussian (Running Example 1), heavy-tailed symmetric location-shift (Running Example 2), and a contaminated-noise robustness probe — yield a 4×44 \times 4 table of summary statistics that condenses the topic’s main practical recommendations into one plot.

The setup is deliberately constrained:

  • All four constructions use polynomial-feature base learners of the same order (degree-3 ridge for μ^\hat{\mu} in split conformal and HL; degree-3 quantile regression for q^α/2\hat{q}_{\alpha/2} and q^1−α/2\hat{q}_{1-\alpha/2} in pure QR and CQR). Differences between constructions cannot then be attributed to a more flexible base class.
  • Sample sizes are matched: ntrain=ncal=500n_{\mathrm{train}} = n_{\mathrm{cal}} = 500 where calibration applies; ntrain=1000n_{\mathrm{train}} = 1000 for pure QR (which has no calibration step). Pure QR therefore sees the same total data budget as its conformal cousins — the comparison is on assumption strength, not data.
  • α=0.1\alpha = 0.1 throughout; nominal coverage 1−α=0.91 - \alpha = 0.9.
  • Diagnostics are averaged over nrep=300n_{\mathrm{rep}} = 300 Monte Carlo draws of (X,Y)(X, Y) per scenario; ntest=2000n_{\mathrm{test}} = 2000 per draw.

Four scenarios.

Scenario A (homoscedastic Gaussian). Y∣X=x∼N(sin⁡(x),0.52),X∼Uniform(−3,3).Y \mid X = x \sim \mathcal{N}(\sin(x), 0.5^2), \qquad X \sim \mathrm{Uniform}(-3, 3). The textbook regression setup. Definition 9 holds with F=N(0,0.52)F = \mathcal{N}(0, 0.5^2) symmetric, so all four constructions are valid in principle.

Scenario B = Running Example 1 (heteroscedastic Gaussian). Y∣X=x∼N(sin⁡(x),σ(x)2),σ(x)=0.2+0.6∣x∣/3.Y \mid X = x \sim \mathcal{N}(\sin(x), \sigma(x)^2), \qquad \sigma(x) = 0.2 + 0.6|x|/3. Definition 9 fails (the residual is not independent of XX), but exchangeability holds. Construction I (split conformal) is valid but constant-width; pure QR is valid asymptotically with QR-shaped band; CQR is valid finite-sample and QR-shaped; HL is not valid here — its symmetry-and-independence assumption is broken. The scenario where CQR is at its best.

Scenario C = Running Example 2 (heavy-tailed location-shift). Y∣X=x∼μ(x)+0.6 t3,μ(x)=0.4cos⁡(πx),X∼Uniform(−2,2).Y \mid X = x \sim \mu(x) + 0.6 \, t_3, \qquad \mu(x) = 0.4\cos(\pi x), \qquad X \sim \mathrm{Uniform}(-2, 2). Definition 9 holds with F=0.6 t3F = 0.6 \, t_3 symmetric. All four constructions valid.

Scenario D (contaminated noise — robustness probe). Y∣X=x∼{N(sin⁡(x),0.32)w.p. 0.95N(sin⁡(x),2.02)w.p. 0.05.Y \mid X = x \sim \begin{cases} \mathcal{N}(\sin(x), 0.3^2) & \text{w.p. } 0.95 \\ \mathcal{N}(\sin(x), 2.0^2) & \text{w.p. } 0.05 \end{cases}. A 95/5 mixture: most data tightly clustered around sin⁡(x)\sin(x), but 5%5\% of observations are heavy-tailed contaminants. Symmetric and homoscedastic, so Definition 9 holds.

The headline 4 × 4 table. Numbers are averages over nrep=300n_{\mathrm{rep}} = 300 Monte Carlo draws (the notebook’s verified output). The cond range column is the difference between max and min conditional coverage across 8 XX-bins (smaller is better — flat is the goal); runtime is per-fit milliseconds.

ScenarioConstructionMarg covMean widthCond rangeRuntime (ms)
A: Homoscedastic GaussianSplit conformal0.899±0.0150.899 \pm 0.0151.6601.6600.0560.0560.40.4
Pure QR0.896±0.0130.896 \pm 0.0131.6511.6510.0710.07145.145.1
CQR0.900±0.0130.900 \pm 0.0131.6801.6800.0830.08316.616.6
HL0.757±0.019\mathbf{0.757 \pm 0.019}1.1801.1800.0800.0804.34.3
B: Heteroscedastic (RE1)Split conformal0.899±0.0150.899 \pm 0.0151.7681.7680.242\mathbf{0.242}0.40.4
Pure QR0.897±0.0110.897 \pm 0.0111.6571.6570.1100.11044.344.3
CQR0.900±0.016\mathbf{0.900 \pm 0.016}1.686\mathbf{1.686}0.115\mathbf{0.115}16.616.6
HL (broken)0.789±0.017\mathbf{0.789 \pm 0.017}1.2571.2570.3840.3844.24.2
C: Heavy-tailed (RE2)Split conformal0.900±0.0140.900 \pm 0.0142.9782.9780.0580.0580.40.4
Pure QR0.896±0.0110.896 \pm 0.0112.9532.9530.0720.07242.642.6
CQR0.901±0.0140.901 \pm 0.0143.0673.0670.0850.08516.116.1
HL0.817±0.021\mathbf{0.817 \pm 0.021}2.240\mathbf{2.240}0.0840.0844.24.2
D: Contaminated noiseSplit conformal0.899±0.0150.899 \pm 0.0151.1461.1460.0640.0640.40.4
Pure QR0.895±0.0110.895 \pm 0.0111.1331.1330.0720.07244.344.3
CQR0.901±0.0150.901 \pm 0.0151.1831.1830.0770.07716.616.6
HL0.827±0.031\mathbf{0.827 \pm 0.031}0.928\mathbf{0.928}0.0830.0834.24.2

Three patterns deserve named attention.

Pattern 1 — HL undercovers in every scenario. This is the most striking row in the table and the most important practical takeaway in the topic. HL is often presented as a 0.90.9 band, but its empirical coverage averages 0.7980.798 across the four scenarios — between 77 and 1414 percentage points below target. The shortfall is the construction’s limit, not an evaluation artifact: the §4 remark and Theorem 5.3 show the HL band converges to μ(x)±qF∗F\mu(x) \pm q_{F*F}, with limiting coverage ≈0.755\approx 0.755 for Gaussian noise (Scenario A measures 0.7570.757) and ≈0.821\approx 0.821 for t3t_3 (Scenario C measures 0.8170.817). Split conformal and CQR don’t suffer the same shortfall because Theorem 1’s finite-sample marginal guarantee covers exactly this kind of evaluation.

Pattern 2 — split conformal and CQR hit nominal marginal coverage everywhere; pure QR slips by about half a percentage point. Split conformal and CQR average 0.8990.899 and 0.9000.900 across the four scenarios — Theorem 1’s guarantee in action. Pure QR averages 0.8960.896 (0.8950.895–0.8970.897 by scenario) — its asymptotic-only Theorem 2 leaves a finite-sample gap of about 0.40.4pp that batch averaging surfaces as a real, if small, cost.

Pattern 3 — width rankings flip across scenarios in the way the bridge theorems predict. On Scenario B (heteroscedastic), CQR’s band is ≈5%\approx 5\% narrower than split conformal’s (1.6861.686 vs 1.7681.768, ratio 0.9540.954) — close to Theorem 5.2’s exact limit of 0.940.94 and well above its lower bound EX[σ(X)]/σ+=0.625\mathbb{E}_X[\sigma(X)]/\sigma_+ = 0.625. On Scenarios A, C, D (homoscedastic-ish) CQR and split conformal are within about 3%3\% of each other, with CQR slightly wider (by 1.2%1.2\%, 3.0%3.0\%, and 3.2%3.2\%) — close to Theorem 5.2’s homoscedastic-limit equivalence. On every scenario, HL produces narrower bands than split conformal — but only because it’s giving up coverage. Reading “HL is narrower” as an efficiency win without checking marginal coverage is the trap §6 was designed to surface.

ConstructionLive margLive widthLive cond ΔLive msNotebook margNotebook widthNotebook cond Δ
split conformal0.8901.7070.2680.40.8991.7680.242
pure QR0.9111.6820.120281.90.8971.6570.110
CQR0.9171.7370.122172.50.9001.6860.115
HL0.7921.2450.41313.90.7891.2570.384

Cycle through scenarios A→B→C→D and watch the live readouts converge to the notebook column. On Scenario B the CQR row should narrow visibly relative to split conformal (Theorem 5.2 efficiency win). Across all four scenarios HL's marginal coverage stays stuck around 0.76–0.83 — the batch under-coverage flagged in §6.5. Drag n_cal up to 2000 to confirm HL doesn't recover (the gap is structural, not a finite-sample artifact).

Marquee 4-panel overlay (one panel per scenario A/B/C/D) with split conformal, CQR, and HL bands overlaid on the scatter, and per-panel marginal coverage and mean width readouts.
Figure 14. The headline overlay. Four panels (one per scenario) showing scatter plus three bands: split conformal (blue), CQR (green), HL (purple). Pure QR is omitted from the overlay for visual clarity (it would clutter four already-busy plots) and reported in the table only. Reading: in Scenario B, the green CQR band hugs the data (narrow at x=0x = 0, wide at x=±3x = \pm 3); the blue split-conformal band is constant-width; the purple HL band is constant-width-and-undercovering. In Scenarios A, C, and D, the bands look superficially similar in shape — but HL's marginal coverage is well below nominal.
Heatmap of the 4×4 table colored by deviation from the optimal value in each column.
Figure 15. The 4×4 table as a heatmap. Cells are color-coded by deviation from the optimal value in each diagnostic column (lowest mean width, smallest conditional range, highest marginal coverage hitting target). Reads as a one-glance summary of which construction wins on which scenario by which metric — and where each construction visibly fails.

Runtime comparison. The runtime column is small and constant for split conformal (≈0.4\approx 0.4 ms — a single sort), ≈100×\approx 100\times larger for pure QR (≈45\approx 45 ms — two LP solves for the τ∈{α/2,1−α/2}\tau \in \{\alpha/2, 1-\alpha/2\} quantile fits in sklearn), ≈40×\approx 40\times larger for CQR (≈17\approx 17 ms — same quantile fits but on smaller training fold), and ≈10×\approx 10\times for HL (≈4\approx 4 ms — Walsh averages are O(ncal2)O(n_{\mathrm{cal}}^2) per fit, then median computation, then critical-value lookup).

The O(ncal2)O(n_{\mathrm{cal}}^2) scaling of HL is the most consequential — at ncal=5000n_{\mathrm{cal}} = 5000 it’s already >1> 1 s per fit, and at ncal=50000n_{\mathrm{cal}} = 50000 it’s prohibitive. Split conformal and CQR scale gracefully to ncal=106n_{\mathrm{cal}} = 10^6; HL doesn’t past ncal=104n_{\mathrm{cal}} = 10^4.

Per-fit runtime for each of the four constructions plotted against n_cal on log-log axes for n_cal in [100, 10000]. HL slope is ~2 (quadratic) while the others are ~1 (linear).
Figure 16. Per-fit runtime scaling. Split conformal, CQR, and pure QR scale linearly in ncaln_{\mathrm{cal}} (slope ≈1\approx 1 on log-log axes); HL scales quadratically (slope ≈2\approx 2) because of its Walsh-average enumeration.

Practitioner’s algorithm. The empirical evidence consolidates into a single decision rule:

  1. If you have any reason to suspect heteroscedasticity → use CQR. Scenario B is unambiguous: CQR is narrower than split conformal with identical marginal coverage and a much flatter conditional-coverage profile (range 0.1150.115 vs 0.2420.242). The bound from Theorem 5.2 says the gap grows with the heteroscedasticity ratio.
  2. Use split conformal as the always-defensible baseline. Marginal guarantee is finite-sample, distribution-free, rate-free in QR’s estimation error. Smallest runtime by an order of magnitude. Only cost is a constant-width band — wasteful under heteroscedasticity, fine otherwise.
  3. Don’t use HL-style bands as prediction intervals. HL’s coverage averages 0.7980.798 across the four scenarios — not the nominal 0.90.9 — and Theorem 5.3 shows the shortfall persists as ncal→∞n_{\mathrm{cal}} \to \infty. The narrower bands are not an efficiency win; they’re a coverage loss. The Walsh-average machinery is the right tool for a confidence interval on a center of symmetry (Rank Tests), not for predicting a new response.
  4. Avoid pure QR alone in production. The marginal-coverage shortfall (about 0.40.4pp in the table) is small but real, and correctable by composition with split conformal — which is exactly what CQR does. There is no scenario in the table where pure QR strictly dominates CQR.

Limits, Connections, and What’s Out of Scope

The topic has covered three constructions, three bridge theorems, and an empirical comparison. This section closes by being honest about what’s not covered — the boundaries of when these methods work, the alternative constructions we deliberately set aside, and the related topics on the same site that pick up where this one stops.

Bootstrap as a contrast

The three constructions in this topic are not the only way to build a prediction interval. The most common alternative — and one that often performs well in practice — is the bootstrap-percentile prediction interval: resample the training data with replacement BB times, refit the predictor on each resample, and take the empirical α/2\alpha/2 and 1−α/21 - \alpha/2 quantiles of the resulting predicted-residual distribution at the test point. The construction sits in the same general family as the three featured here — all four use resampling-flavored arguments to bypass parametric noise assumptions — but the bootstrap operates differently along two key axes:

AxisConformal / CQR / HLBootstrap-percentile
Resampling principlePermutation / exchangeabilitySampling with replacement
Coverage guaranteeFinite-sample (under the relevant assumption)Asymptotic only
Computational costO(ncal)O(n_{\mathrm{cal}}) to O(ncal2)O(n_{\mathrm{cal}}^2) for one fitO(B⋅fit cost)O(B \cdot \text{fit cost}) for BB refits
Validity scopeExchangeable / iid / iid-symmetriciid + Edgeworth-expansion conditions

The bootstrap’s coverage validity rests on Edgeworth-expansion arguments (Hall 1992) that require iid data and smooth-enough moment conditions on the residual distribution. It buys nothing over CQR or split conformal under those assumptions — it gets asymptotic validity where they already had finite-sample validity — and at B=200B = 200 refits it’s typically two orders of magnitude slower per prediction interval. The cases where bootstrap genuinely shines are nested-model settings where the test-statistic-of-interest doesn’t admit a clean exchangeability formulation: bootstrapping a complicated functional of the data (e.g., a confidence interval for an R2R^2 or a difference-in-means with covariate adjustment) is often the only practical route.

For prediction intervals specifically, the bootstrap is rarely the right tool when conformal-style methods are available. We don’t recommend it as a default, but we flag it because it’s the construction practitioners most often use when they don’t know the methods in this topic. The formal treatment of the bootstrap and its theoretical foundations is in Bootstrap; a side-by-side empirical comparison with the three constructions in this topic is left as an exercise.

What’s out of scope

  • Bayesian credible intervals. A Bayesian posterior predictive interval is not a frequentist prediction interval. The two have different probability semantics — one is a statement about a posterior over Yn+1Y_{n+1} given the data and a prior; the other is a statement about a long-run frequency of coverage under repeated sampling. The Bayesian construction is treated in T5 (Bayesian ML) under Bayesian Neural Networks (coming soon) and related topics. The two communities sometimes use the same term (“credible interval” vs. “prediction interval”) for different things; this topic remains strictly frequentist.

  • Full / transductive conformal prediction. Conformal Prediction covers this in detail. Full conformal achieves the same finite-sample marginal coverage as split conformal but requires retraining the base predictor for every candidate yy-value, making it computationally infeasible for most modern ML models. Split conformal is the practical default and the version this topic focuses on. The trade-off is purely computational; the coverage guarantee is identical.

  • Mondrian conformal and other conditional-coverage refinements. Vovk (2003) introduced Mondrian conformal — partition the feature space into groups and apply split conformal independently on each group — as a way to recover group-conditional coverage. Foygel-Barber et al. (2021) proved a sharp impossibility theorem on full pointwise conditional coverage (already cited in Conformal Prediction), which is why CQR offers conditional adaptivity but not conditional validity. Mondrian-style and other group-conditional methods sit between marginal-only and the impossible pointwise-conditional ideal. We mention them here but defer the formal treatment to a planned future topic.

Forward connections

  • Online and adaptive conformal. All three constructions in this topic require exchangeability of training and test data. In streaming and time-series settings, this fails: distribution shift breaks the rank-uniformity argument, and a method calibrated last week may under-cover this week. Vovk (2002) and Gibbs–Candès (2021) develop online and adaptive conformal methods that maintain coverage by tracking miscoverage online and updating the threshold accordingly. A natural follow-up topic in T4 once the foundational methods are in place.

  • Covariate-shift conformal. When training and test distributions differ in PX\mathbb{P}_X but share PY∣X\mathbb{P}_{Y \mid X}, Tibshirani et al. (2019) show how to recover marginal coverage via importance weighting of the calibration scores. Less general than the online setting but more tractable; another candidate T4 follow-up.

  • Adaptive prediction sets for classification (APS). Conformal Prediction covers the classification analogue. The same score-function framework (Definition 6 in §2.1) accommodates set-valued rather than interval-valued prediction; APS is a particular score that yields adaptively sized prediction sets. The conditional-coverage refinements there parallel CQR’s role here.

Cross-site prerequisites

  • Confidence Intervals & Duality — the formal foundation for both HL-style test-inversion (§4) and the conformal (1−α)(1-\alpha)-quantile threshold (§2.3). The duality between a level-α\alpha test and a (1−α)(1-\alpha) confidence region is the abstract machinery behind every interval construction in this topic.

  • Order Statistics & Quantiles — split-conformal’s quantile of conformity scores (Definition 7), QR’s empirical conditional-quantile estimator (§3), and HL’s Walsh-average ordering (§4) all rest on order-statistic theory. The asymptotic theory of empirical quantiles underlies the stability argument in Theorem 5.1 and the HL/conformal equivalence in Theorem 5.3.

  • Empirical Processes — the asymptotic alternative to finite-sample exchangeability arguments. The bootstrap discussion in §7.1 leans on Edgeworth expansions, the QR asymptotics cited in §3.3 use empirical-process limit theorems, and Theorem 5.1’s proof appeals to uniform stability of empirical-quantile order statistics.

  • Bootstrap — self-contained treatment of the bootstrap principle, percentile and BCa intervals, and the conditions under which bootstrap-percentile intervals are valid — the third resampling-based interval-construction method, contrasted with conformal/CQR/HL in §7.1 of this topic.

Connections

  • Direct prereq. Provides Theorem 1 (split-conformal marginal coverage), cited verbatim in §2 and §5.1, and the score-function frame extended in §2.1. Every construction in this topic is a $(s, q)$ pair in the score-function abstraction introduced there. conformal-prediction
  • Direct prereq. Provides Theorem 3 from QR §5 (cited as Theorem 2 here in §3.3) and the QR base learner used by pure QR (§3) and CQR (§5.1). The $\tau$-quantile fitting machinery is reused as-is. quantile-regression
  • Direct prereq. Theorem 10 from rank-tests §6 (Hodges-Lehmann distribution-free CI) is the location-parameter interval that §4 adapts — and shows does not transfer to prediction. The Walsh-average construction and signed-rank null distribution are both reused in §4. rank-tests
  • T4 track closer. Multivariate prediction regions inherit the depth-conformal connection: a depth-based prediction region built from the calibration sample's residual depths is the multivariate analogue of the quantile-based univariate prediction interval developed here, with shapes that adapt to the residual geometry rather than coordinate-aligned boxes. statistical-depth

References & Further Reading