关于「极值理论:从尾部指数到期望损失」,《流动性体制、尾部相依与杠铃配置》给出的定量结论是什么?

结论:对自由度为 3 的学生 t 分布(真实 \(\alpha = 3\)),希尔估计在 \(k = 25\) 到 100 时为 3.40、3.22、2.84,随后一路下降到 \(k = 1{,}600\) 时的 1.14:取的数据太多,就把分布的中心部分也当成了尾部。对正态数据,希尔估计从 10.06 降到 1.29,其中 \(k = 400\) 时的 3.74 看上去就像一个尾部指数约为 3.7 的幂律厚尾,与 t 分布在小 \(k\) 处的估计(3.22 到 3.40)及其真值 3 相差无几,而正态分布根本没有幂律尾部。所以单看某一个 \(k\) 的希尔估计,既可能把薄尾误认为厚尾,也说不出真正的尾部指数;需要看整条「希尔图」是否有稳定的平台,并结合平均超额图。图 2 给出了这两种图:t 分布的 \(e(u)\) 从 1.08 升到 1.95,近似线性(理论斜率 0.5);正态分布的 \(e(u)\) 从 0.54 降到 0.27。用 50 个块最大值估计 GEV 的形状参数(概率加权矩法 (Hosking 1985)),t 分布的中位数为 0.290、90% 区间 0.066 到 0.572,正态分布为 −0.109、区间 −0.277 到 0.071:方向是对的,但 50 个数据点的不确定性很大。

数据口径:危机来临时,资产会一起下跌吗?储备与安全垫要留多少才够?本书是教学与研究用的数学模型,不是投资建议。 作者要求证明「90% 短债 + 10% 期权」的杠铃配置随机占优;书中证明它不可能被股票占优,且在期权作废的概率高于股票跌破保底的概率时(本书模型即如此)也不可能一阶占优于股票,并在跳跃扩散模型的四种期权定价下显示它对股票、对 90/10 线性组合都不构成一阶或二阶占优,期权偏贵时反而被 90/10 线性组合二阶占优;CPPI 在乘数 6 时有 6.4% 的年份跌破保底线。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.066, 0.071, 0.27, 0.290, 0.5, 0.54

Hill estimate of the tail index alpha (top k of 5,000 losses)
k25 50 100 200 400 800 1600
t33.40 3.22 2.84 2.42 2.27 1.82 1.14 (true 3)
normal10.06 9.17 6.60 5.18 3.74 2.60 1.29 (true: infinite)
mean excess e(u) = E[X - u | X > u] at empirical quantiles of the losses
quantile0.800 0.900 0.950 0.975 0.990
t30.97:1.08 1.62:1.23 2.32:1.47 3.24:1.66 4.66:1.95 (u:e)
normal0.86:0.54 1.27:0.49 1.66:0.40 1.95:0.39 2.36:0.27 (u:e)
a GPD with xi1/3 has e(u) linear with slope xi/(1 - xi) = 0.5;
the normal's e(u) falls like 1/u
GEV shape xi from maxima of blocks (probability-weighted moments)
t350 blocks of 100, 200 samples: median xi +0.290, 5-95 % +0.066 to +0.572
normal50 blocks of 100, 200 samples: median xi -0.109, 5-95 % -0.277 to +0.071

核心公式

\[G_\xi(x) = \exp\!\left\{-(1 + \xi x)^{-1/\xi}\right\}, \qquad 1 + \xi x > 0,\]
查看完整验算程序
# Reading a tail: the Hill estimator of the tail index, the mean-excess function, and a
# GEV fit to block maxima by probability-weighted moments (Hosking, Wallis & Wood 1985).
# SIMULATED losses: Student t with 3 d.f. (true tail index alpha = 3, xi = 1/3) and the
# normal (xi = 0: no power tail at all). 5,000 observations each.
import math, random, statistics

def sample(kind, n, rng):
    if kind == "t3":
        return [rng.gauss(0, 1) / math.sqrt(rng.gammavariate(1.5, 2) / 3)
                for _ in range(n)]
    return [rng.gauss(0, 1) for _ in range(n)]

def hill(x, k):
    s = sorted(x, reverse=True)
    h = sum(math.log(s[i] / s[k]) for i in range(k)) / k
    return 1 / h                                   # estimated tail index alpha = 1/xi

def mean_excess(x, u):
    e = [v - u for v in x if v > u]
    return sum(e) / len(e), len(e)

def gev_pwm(m):
    m = sorted(m); n = len(m)
    b0 = sum(m) / n
    b1 = sum(i * m[i] for i in range(n)) / (n * (n - 1))
    b2 = sum(i * (i - 1) * m[i] for i in range(n)) / (n * (n - 1) * (n - 2))
    c = (2 * b1 - b0) / (3 * b2 - b0) - math.log(2) / math.log(3)
    k = 7.8590 * c + 2.9554 * c * c                # Hosking's k = -xi
    return -k

if __name__ == "__main__":
    rng = random.Random(1975)
    data = {kind: sample(kind, 5000, rng) for kind in ("t3", "normal")}
    print("Hill estimate of the tail index alpha (top k of 5,000 losses)")
    ks = (25, 50, 100, 200, 400, 800, 1600)
    print("   k     " + "".join(f"{k:7d}" for k in ks))
    for kind, x in data.items():
        print(f"   {kind:7s}" + "".join(f"{hill(x, k):7.2f}" for k in ks)
              + ("   (true 3)" if kind == "t3" else "   (true: infinite)"))
    print("mean excess e(u) = E[X - u | X > u] at empirical quantiles of the losses")
    qs = (0.80, 0.90, 0.95, 0.975, 0.99)
    print("   quantile" + "".join(f"{q:9.3f}" for q in qs))
    for kind, x in data.items():
        s = sorted(x); row = ""
        for q in qs:
            u = s[int(q * len(s))]; e, n = mean_excess(x, u)
            row += f"  {u:4.2f}:{e:4.2f}"
        print(f"   {kind:7s} " + row + "   (u:e)")
    print("   a GPD with xi = 1/3 has e(u) linear with slope xi/(1 - xi) = 0.5;")
    print("   the normal's e(u) falls like 1/u")
    print("GEV shape xi from maxima of blocks (probability-weighted moments)")
    for kind in ("t3", "normal"):
        est = []
        for _ in range(200):
            x = sample(kind, 5000, rng)
            est.append(gev_pwm([max(x[i:i + 100]) for i in range(0, 5000, 100)]))
        q = statistics.quantiles(est, n=20)
        print(f"   {kind:7s}: 50 blocks of 100, 200 samples: median xi {q[9]:+.3f},"
              f" 5-95 % {q[0]:+.3f} to {q[-1]:+.3f}")

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《宏观流动性体制转换、极值尾部相依与杠铃资产配置》第 2 章「极值理论:从尾部指数到期望损失」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23828049

DOI: 10.5281/zenodo.23828049 · 阅读本章所在专著 · 5DL-B-040 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026040,
  author    = {Fan, Yafu},
  title     = {Macro-Liquidity Regime Switching, Extreme Tail Dependence and Barbell Asset Allocation},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.23828049},
  url       = {https://doi.org/10.5281/zenodo.23828049}
}

本书其他章节结论