What does Tail Protection under Kelly Bounds conclude, in numbers, about “Quantiles and Expected Shortfall: Measuring a Year's Tail for Operating Capital”?
Answer: Once the index is replaced by the operator's capital \(M = 1 + A + L(S - 1)\), program p31 shows that under Merton's model expected shortfall at 97.5 % is 0.3373, much deeper than the 0.2588 of a lognormal with the same mean and variance, and that at 99.5 % it reaches 0.4493. In a normal world, value-at-risk at 99 % and expected shortfall at 97.5 % are almost equal at 2.3263 and 2.3378 standard deviations. Program p32 shows two stores each with a 95 % value-at-risk of -2.00 whose combined value-at-risk is 98.00, violating subadditivity, while their combined expected shortfall of 101.26 stays below the sum of 159.20. Program p33 shows that expected shortfall estimated from 20-year records averages only 0.2266 and understates by more than a quarter with a chance of 0.601. The next chapter answers the question that follows: if the tail is hard to estimate and protection is priced with a risk premium, which part of the tail should a limited budget protect first?
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (20 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.2588, 0.3373, 0.4493, 2.3263, 2.3378
| capital loss as a share of start capital (A = 0.12, L = 1.0) | |||||
| level | VaR Merton | ES Merton | | | VaR lognorm | ES lognorm |
| 0.950 | 0.1744 | 0.2736 | | | 0.1601 | 0.2204 |
| 0.975 | 0.2531 | 0.3373 | | | 0.2076 | 0.2588 |
| 0.990 | 0.3390 | 0.4059 | | | 0.2589 | 0.3016 |
| 0.995 | 0.3905 | 0.4493 | | | 0.2916 | 0.3294 |
| normal check: VaR 0.99 = 2.3263 sd, ES 0.975 = 2.3378 sd |
Show the full program
# Chapter 3. p31: value-at-risk and expected shortfall of a year's
# capital loss for an operator, exact under Merton and under a lognormal
# with the same mean and variance of log S.
# Year-end capital per unit of start capital: M = 1 + A + L * (S - 1),
# A = planned return on capital, L = exposure of capital to the revenue
# index S. Loss = 1 - M. VaR_a is the a-quantile of the loss and
# ES_a the mean loss beyond it. Parameters illustrative.
import math
MU, SIG = 0.05, 0.18
LAM, JM, JS = 0.10, -0.35, 0.15
A, L = 0.12, 1.0 # 计划资本回报与营收敞口(示意)
def Phi(x):
return 0.5 * math.erfc(-x / math.sqrt(2.0))
def phi(x):
return math.exp(-0.5 * x * x) / math.sqrt(2.0 * math.pi)
def merton():
kap = math.exp(JM + 0.5 * JS * JS) - 1.0
base = MU - 0.5 * SIG * SIG - LAM * kap
out = []
for n in range(13):
w = math.exp(-LAM) * LAM ** n / math.factorial(n)
out.append((w, base + n * JM, math.sqrt(SIG * SIG + n * JS * JS)))
return out
def matched(cs):
mean = math.fsum(w * m for w, m, s in cs)
var = math.fsum(w * (s * s + m * m) for w, m, s in cs) - mean * mean
return [(1.0, mean, math.sqrt(var))]
def cdf(cs, x):
return math.fsum(w * Phi((math.log(x) - m) / s) for w, m, s in cs)
def partial(cs, x):
# E[S; S < x]
return math.fsum(w * math.exp(m + 0.5 * s * s)
* Phi((math.log(x) - m) / s - s) for w, m, s in cs)
def var_es(cs, a):
lo, hi = 1e-6, 5.0
for _ in range(100):
mid = 0.5 * (lo + hi)
if cdf(cs, mid) < 1.0 - a:
lo = mid
else:
hi = mid
q = 0.5 * (lo + hi)
es_s = partial(cs, q) / (1.0 - a)
return 1.0 - (1.0 + A + L * (q - 1.0)), 1.0 - (1.0 + A + L * (es_s - 1.0))
cm = merton()
cl = matched(cm)
print("capital loss as a share of start capital (A = 0.12, L = 1.0)")
print("level VaR Merton ES Merton | VaR lognorm ES lognorm")
for a in (0.95, 0.975, 0.99, 0.995):
v1, e1 = var_es(cm, a)
v2, e2 = var_es(cl, a)
print("{:.3f} {:.4f} {:.4f} | {:.4f} {:.4f}".format(
a, v1, e1, v2, e2))
z99 = 2.3263478740
z975 = 1.9599639845
print("normal check: VaR 0.99 = {:.4f} sd, ES 0.975 = {:.4f} sd".format(
z99, phi(z975) / 0.025))Single source and citation
Fan, Y. (2026). Tail-Risk Option Moats and Quantile Hedging: Jump-Diffusion Models and Fixed-Premium Protection of Core Cash Flows under Kelly Bounds (Version 1.0.0), Chapter 3: Quantiles and Expected Shortfall: Measuring a Year's Tail for Operating Capital. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-290 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026290,
author = {Fan, Yafu},
title = {Tail-Risk Option Moats and Quantile Hedging: Jump-Diffusion Models and Fixed-Premium Protection of Core Cash Flows under Kelly Bounds},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Premium Drag: Why Buying Tail Protection Year after Year Loses on Average
- Chapter 2 · Jump-Diffusion: Prices, Smiles and Hidden Tails in Merton's Model
- Chapter 4 · Quantile Hedging: Which Part of the Tail to Protect First on a Limited Budget
- Chapter 5 · The Kelly Bound: Upper and Lower Limits that Long-Run Growth Sets on the Premium
- Chapter 6 · How to Spend a Fixed Premium: Strikes, Payout Caps, Cash Reserves and Parameter Uncertainty
- Chapter 7 · Eastern and Western Sources: Thinking of Danger in Times of Peace, and Thales's Olive Presses
- Chapter 8 · Closing the Loop: The Annual Tail-Protection Budget Sheet and a Pre-Registered Test