关于「Copula 与尾部相依」,《流动性体制、尾部相依与杠铃配置》给出的定量结论是什么?

结论:斯克拉定理把联合分布分解为边际分布与 Copula,使相依结构可以单独建模;秩相关与尾部相依系数是 Copula 层面的度量。高斯 Copula(\(\rho < 1\))的尾部相依系数为零,但这只是极限:相关系数 0.5 时,在 1% 分位上的条件共同暴跌概率仍为 0.125。克莱顿 Copula 只有下尾相依 \(2{-1/\theta}\),古贝尔 Copula 只有上尾相依 \(2 - 2{1/\theta}\),t Copula 两尾对称。在相同的肯德尔 τ 下,四种 Copula 给出的两项资产同时落入最坏 1% 的概率相差八倍以上。对 2008 年高斯 Copula 的批评,准确的核心是尾部相依为零与平静期校准,而不是「一个公式毁掉了华尔街」。

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

English version

对照数据表

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

lower tailu = 0.050.010.002limit as u -> 0
Gaussian0.2490.1250.0650.000
t (4 d.f.)0.3330.2820.2650.253
Clayton0.5100.5050.5060.500
Gumbel0.1700.0630.0260.000
upper tailu = 0.050.010.002limit as u -> 0
Gaussian0.2450.1250.0710.000
t (4 d.f.)0.3340.2750.2420.253
Clayton0.0960.0220.0030.000
Gumbel0.4320.4170.3760.413
P(both in their worst 1 %) per model (independence: 0.0001):
Gaussian 0.0013t (4 d.f.) 0.0028Clayton 0.0050Gumbel 0.0006

核心公式

\[F(x_1, \dots, x_d) = C\big(F_1(x_1), \dots, F_d(x_d)\big),\]
查看完整验算程序
# Tail dependence of four copulas with the SAME Kendall's tau = 1/3: Gaussian (rho 0.5),
# Student t (rho 0.5, 4 d.f.), Clayton (theta 1) and Gumbel (theta 1.5). Empirical
# lambda_L(u) = P(V < u | U < u) and lambda_U(u) = P(V > 1-u | U > 1-u) from 400,000
# simulated pairs, against the theoretical limits as u -> 0. Margins do not matter: the
# copula is invariant to increasing transformations, so empirical quantiles suffice.
import math, random

N = 400_000

def gaussian(rng, rho=0.5, df=None):
    out = []
    for _ in range(N):
        a = rng.gauss(0, 1); b = rho * a + math.sqrt(1 - rho * rho) * rng.gauss(0, 1)
        if df:
            w = math.sqrt(rng.gammavariate(df / 2, 2) / df); a, b = a / w, b / w
        out.append((a, b))
    return out

def clayton(rng, th=1.0):                     # Marshall-Olkin: gamma frailty
    out = []
    for _ in range(N):
        v = rng.gammavariate(1 / th, 1)
        out.append(tuple((1 + rng.expovariate(1) / v) ** (-1 / th) for _ in range(2)))
    return out

def gumbel(rng, th=1.5):                      # Marshall-Olkin: positive stable frailty
    a, out = 1 / th, []
    for _ in range(N):
        w, e = rng.uniform(0, math.pi), rng.expovariate(1)
        s = (math.sin(a * w) / math.sin(w) ** (1 / a)
             * (math.sin((1 - a) * w) / e) ** ((1 - a) / a))
        out.append(tuple(math.exp(-(rng.expovariate(1) / s) ** a) for _ in range(2)))
    return out

def lam(pairs, u):
    xs = sorted(p[0] for p in pairs); ys = sorted(p[1] for p in pairs); n = len(pairs)
    k = int(u * n); xl, yl, xh, yh = xs[k], ys[k], xs[n - k - 1], ys[n - k - 1]
    lo = sum(1 for x, y in pairs if x < xl and y < yl) / k
    hi = sum(1 for x, y in pairs if x > xh and y > yh) / k
    return lo, hi

def t_cdf(x, df, steps=4000):                 # Simpson's rule on the density, x < 0
    c = math.exp(math.lgamma((df + 1) / 2) - math.lgamma(df / 2))
    c /= math.sqrt(df * math.pi)
    f = lambda t: c * (1 + t * t / df) ** (-(df + 1) / 2)
    a, h = x - 400.0, 400.0 / steps
    s = f(a) + f(x) + sum((4 if i % 2 else 2) * f(a + i * h) for i in range(1, steps))
    return s * h / 3

if __name__ == "__main__":
    rng = random.Random(2002)
    lt = 2 * t_cdf(-math.sqrt(5 * 0.5 / 1.5), 5)
    models = (("Gaussian", gaussian(rng), 0.0, 0.0),
              ("t (4 d.f.)", gaussian(rng, df=4), lt, lt),
              ("Clayton", clayton(rng), 2 ** -1.0, 0.0),
              ("Gumbel", gumbel(rng), 0.0, 2 - 2 ** (1 / 1.5)))
    us = (0.05, 0.01, 0.002)
    res = {name: [lam(pairs, u) for u in us] for name, pairs, a, b in models}
    for side, j in (("lower", 0), ("upper", 1)):
        print(f"{side} tail   u = 0.05    0.01   0.002    limit as u -> 0")
        for name, pairs, l_lo, l_hi in models:
            print(f"  {name:12s}" + "".join(f"{r[j]:8.3f}" for r in res[name])
                  + f"   {(l_lo, l_hi)[j]:6.3f}")
    print("P(both in their worst 1 %) per model (independence: 0.0001):")
    print("   " + "   ".join(f"{name} {res[name][1][0] * 0.01:.4f}"
                             for name, p, a, b in models))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《宏观流动性体制转换、极值尾部相依与杠铃资产配置》第 3 章「Copula 与尾部相依」(版本 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}
}

本书其他章节结论