What does Conformal Intervals for Orders conclude, in numbers, about “The Price of the Guarantee: Interval Width, the Shape of the Score and the Extra Paid When Normality Holds”?

Answer: In the log-normal row with parameter one half, the oracle width is 2.289, the median width of the normal interval 2.367 and that of the conformal interval 2.960. In the log-normal row with parameter one, the oracle is 6.958, the normal median 7.008 and the conformal median 10.301. The last line divides the median widths for Pareto 2.1 by the oracle: 0.99 for the normal interval and 1.49 for the conformal one.

Scope of the numbers: Parameters are illustrative; all calculations are generated by the book's programs; the book is general business analysis, not individualised business advice. Marked boxes separate published evidence, runnable Python calculations (23 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.99, 1.49, 10.301, 2.1, 2.289, 2.367

width in units of the shape's scale, n30
shape a oracle normal mean/med conformal mean/med
lognorm0.5 2.289 2.446 / 2.367 3.297 / 2.960
lognorm1.0 6.958 7.999 / 7.008 12.979 / 10.301
pareto3.0 2.411 2.935 / 2.433 4.873 / 3.602
pareto2.1 4.781 6.623 / 4.737 11.452 / 7.138
Pareto 2.1 median width over oracle: normal 0.99, conformal 1.49
Show the full program
# Chapter 3. p31: what the guarantee costs in interval width.
# Model: n = 30 past values; normal-theory PI (t = 2.0452) versus
# split conformal (10 fit a median centre, 20 calibrate, k = 20).
# The yardstick is the oracle equal-tailed interval from the true
# quantiles at 0.025 and 0.975. Widths are averaged (mean and median)
# over 8,000 training sets. Shapes are illustrative.
import math
import random
import statistics

ND = statistics.NormalDist()


def make(kind, a):
    if kind == "lognorm":
        return (lambda r: math.exp(r.gauss(0.0, a)),
                lambda p: math.exp(a * ND.inv_cdf(p)))
    return (lambda r: (1.0 - r.random()) ** (-1.0 / a),
            lambda p: (1.0 - p) ** (-1.0 / a))


def widths(kind, a, reps=8000):
    rng = random.Random(20261113)
    draw, q = make(kind, a)
    wn, wc = [], []
    for _ in range(reps):
        xs = [draw(rng) for _ in range(30)]
        f = statistics.stdev(xs) * math.sqrt(1.0 + 1.0 / 30)
        wn.append(2 * 2.0452 * f)
        c = statistics.median(xs[:10])
        sc = sorted(abs(x - c) for x in xs[10:])
        wc.append(2 * sc[19])
    oracle = q(0.975) - q(0.025)
    return oracle, wn, wc


if __name__ == "__main__":
    print("width in units of the shape's scale, n = 30")
    print("shape     a    oracle  normal mean/med  conformal mean/med")
    for kind, a in (("lognorm", 0.5), ("lognorm", 1.0),
                    ("pareto", 3.0), ("pareto", 2.1)):
        o, wn, wc = widths(kind, a)
        print("{:<8s} {:3.1f}   {:6.3f}  {:6.3f} / {:6.3f}   "
              "{:6.3f} / {:6.3f}"
              .format(kind, a, o, statistics.fmean(wn),
                      statistics.median(wn), statistics.fmean(wc),
                      statistics.median(wc)))
    o, wn, wc = widths("pareto", 2.1)
    print("Pareto 2.1 median width over oracle: normal {:.2f}, "
          "conformal {:.2f}".format(statistics.median(wn) / o,
                                    statistics.median(wc) / o))

Single source and citation

Fan, Y. (2026). Conformal Prediction and Distribution-Free Intervals: Finite-Sample Coverage Guarantees for Order Counts and Order Values (Version 1.0.0), Chapter 3: The Price of the Guarantee: Interval Width, the Shape of the Score and the Extra Paid When Normality Holds. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-306 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026306,
  author    = {Fan, Yafu},
  title     = {Conformal Prediction and Distribution-Free Intervals: Finite-Sample Coverage Guarantees for Order Counts and Order Values},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book