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

结论:「危机时相关性趋近 1」不是定律。以高波动为条件的相关系数会机械地升高,福布斯与里戈本调整后在三次危机中几乎没有发现传染;但调整本身依赖模型,在共同因子的世界里会误报。朗金与索尔尼克发现极端负收益的相关远高于正态模型的预期,而正态模型预测的恰恰是越极端越不相关,所以这种不对称是有分量的证据。藤 Copula 用一组二元 Copula 搭出高维相依,可以为不同资产对选择不同的尾部行为;在两两秩相关完全相同的条件下,一个以克莱顿 Copula 为第一棵树的 D 藤,使四项资产同时跌破 1% 分位的概率比高斯 Copula 高约十倍。

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

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库

world calm rho crisis rho adjusted 'contagion' found by test
raw rho adjusted rho
interdependence0.399 0.655 0.407 85.4% 0.5%
contagion0.399 0.866 0.664 100.0% 96.1%
common factor0.282 0.720 0.502 99.7% 63.3%
exceedance correlation: corr of (x, y) on days when both are beyond theta sd
model side theta0.0 0.5 1.0 1.5 2.0
normal (rho 0.5) down0.27 0.22 0.18 0.12 0.13
normal (rho 0.5) up0.27 0.22 0.18 0.15 0.12
variance mixture down0.48 0.48 0.41 0.27 0.23
variance mixture up0.48 0.47 0.39 0.24 0.18
Clayton, normal margins down0.57 0.58 0.58 0.60 0.61
Clayton, normal margins up0.06 0.02 -0.00 -0.01 -0.01

核心公式

\[\rho_c = \rho\sqrt{\frac{1+\delta}{1+\delta\rho^2}}, \qquad\text{反过来}\qquad \rho = \frac{\rho_c}{\sqrt{1+\delta(1-\rho_c^2)}}.\]
查看完整验算程序
# (1) Forbes & Rigobon (2002): conditioning on a high-volatility period raises measured
# correlation even when the link between markets is unchanged. y = beta*x + e; in a
# 60-day "crisis" the variance of x is 4 times higher (delta = 3). Adjusted correlation:
# rho* = rho_c / sqrt(1 + delta (1 - rho_c^2)). Three SIMULATED worlds, 2,000 crises each.
# (2) Longin & Solnik (2001): exceedance correlation corr(x, y | both beyond theta sd) for
# a bivariate normal, a two-regime variance mixture and a Clayton copula (normal margins).
import math, random, statistics

def corr(a, b):
    ma, mb = statistics.fmean(a), statistics.fmean(b)
    sab = sum((x - ma) * (y - mb) for x, y in zip(a, b))
    return sab / math.sqrt(sum((x - ma) ** 2 for x in a) * sum((y - mb) ** 2 for y in b))

def world(kind, n, crisis, rng):
    xs, ys = [], []
    for _ in range(n):
        if kind == "common factor":          # x = f + u, y = f + e; crisis: var(f) x 7
            f = rng.gauss(0, math.sqrt(7) if crisis else 1)
            xs.append(f + rng.gauss(0, math.sqrt(1.5))); ys.append(f + rng.gauss(0, 2))
            continue
        x = rng.gauss(0, 2 if crisis else 1)
        beta = 0.8 if (kind == "contagion" and crisis) else 0.4
        xs.append(x); ys.append(beta * x + rng.gauss(0, math.sqrt(0.84)))
    return xs, ys

def fisher_z_greater(r1, n1, r0, n0):
    z = (math.atanh(r1) - math.atanh(r0)) / math.sqrt(1 / (n1 - 3) + 1 / (n0 - 3))
    return z > 1.645

if __name__ == "__main__":
    rng = random.Random(2002)
    print("world              calm rho  crisis rho  adjusted   'contagion' found by test")
    print("                                                      raw rho   adjusted rho")
    for kind in ("interdependence", "contagion", "common factor"):
        rc, ra, raw_hit, adj_hit, r0s = [], [], 0, 0, []
        for _ in range(2000):
            x0, y0 = world(kind, 500, False, rng); x1, y1 = world(kind, 60, True, rng)
            r0, r1 = corr(x0, y0), corr(x1, y1)
            delta = statistics.pvariance(x1) / statistics.pvariance(x0) - 1
            adj = r1 / math.sqrt(1 + delta * (1 - r1 * r1))
            r0s.append(r0); rc.append(r1); ra.append(adj)
            raw_hit += fisher_z_greater(r1, 60, r0, 500)
            adj_hit += fisher_z_greater(adj, 60, r0, 500)
        print(f"{kind:18s}  {statistics.mean(r0s):6.3f}    {statistics.mean(rc):6.3f}"
              f"     {statistics.mean(ra):6.3f}      {raw_hit / 2000:5.1%}"
              f"    {adj_hit / 2000:5.1%}")
    print("exceedance correlation: corr of (x, y) on days when both are beyond theta sd")
    N = 400_000; nd = statistics.NormalDist(); models = {}
    pts = []
    for _ in range(N):
        a = rng.gauss(0, 1); pts.append((a, 0.5 * a + math.sqrt(0.75) * rng.gauss(0, 1)))
    models["normal (rho 0.5)"] = pts
    pts = []
    for _ in range(N):
        s = 2.0 if rng.random() < 0.2 else 0.75
        a = rng.gauss(0, 1); b = 0.5 * a + math.sqrt(0.75) * rng.gauss(0, 1)
        pts.append((s * a, s * b))
    models["variance mixture"] = pts
    pts = []
    for _ in range(N):
        v = rng.gammavariate(1 / 1.0, 1)          # Clayton theta 1 (same Kendall tau 1/3)
        u1, u2 = ((1 + rng.expovariate(1) / v) ** -1.0 for _ in range(2))
        pts.append((nd.inv_cdf(u1), nd.inv_cdf(u2)))
    models["Clayton, normal margins"] = pts
    th = (0.0, 0.5, 1.0, 1.5, 2.0)
    print("model                      side  theta = " + "".join(f"{t:6.1f}" for t in th))
    for name, pts in models.items():
        sd = statistics.pstdev([p[0] for p in pts])
        for side, sg in (("down", -1), ("up", 1)):
            row = ""
            for t in th:
                sel = [(x, y) for x, y in pts if sg * x > t * sd and sg * y > t * sd]
                row += f"{corr([p[0] for p in sel], [p[1] for p in sel]):6.2f}"
            print(f"{name:26s} {side:4s}{'':10s}{row}")

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《宏观流动性体制转换、极值尾部相依与杠铃资产配置》第 4 章「危机中的相关性与藤 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}
}

本书其他章节结论