关于「全凯利与乐观的漂移:好年景为什么催生过度下注」,《体制凯利、回撤约束与生命周期杠杆》给出的定量结论是什么?

结论:第一章说明用十年数据估计漂移的标准误是 0.0506,与漂移本身一样大,而在三年牛市之后估计,凯利的中位数是 5.69,全历史只有 1.46。

数据口径:书中的模型参数均为示意或合成模型;唯一的历史数字是 1987 年的单日跌幅;全部计算由书中程序生成;本书不是投资、法律或税务建议。 书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序)、原典与作者的假说。

English version

对照数据表

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

(a) years std error P(estimate >2 x true)
50.0716 0.242
100.0506 0.162
300.0292 0.043
1000.0160 0.001
(b) whole history: excess 0.0452, vol 0.1759, Kelly 1.46
random dates n 85706 median f2.42 10%-90% -2.27 to 9.24
share with f >2 x whole-history Kelly: 0.460
bull run >36 months n 34037 median f 5.69 10%-90% 0.41 to 11.32
share with f >2 x whole-history Kelly: 0.740
查看完整验算程序
# Chapter 1. p02: How well can the drift be estimated, and what does a
# "tailwind" sample do? (a) i.i.d. world of p01: the standard error of
# a mean excess return estimated from T years is 0.16 / sqrt(T).
# (b) A two-regime market, monthly: bull excess 0.12 a year (vol 0.13),
# bear -0.25 (vol 0.28); a bull month stays bull with chance 0.98, a
# bear month stays bear with 0.92. An investor estimates mean and
# variance from the last 60 months, either at random dates or only
# when a bull run has lasted 36 months or more. Seed 98.
import random
from math import sqrt
from statistics import NormalDist

BULL, BEAR = (0.12 / 12, 0.13 / sqrt(12)), (-0.25 / 12, 0.28 / sqrt(12))
STAY = (0.98, 0.92)

def chain(rng, n):
    s, run, out = 0, 0, []
    for _ in range(n):
        if rng.random() > STAY[s]:
            s, run = 1 - s, 0
        run += 1
        m, sd = BULL if s == 0 else BEAR
        out.append((s, run, rng.gauss(m, sd)))
    return out

def kelly(xs):
    m = sum(xs) / len(xs)
    v = sum((x - m) ** 2 for x in xs) / (len(xs) - 1)
    return m * 12, v * 12, m / v

if __name__ == "__main__":
    z = NormalDist()
    print("   (a) years  std error  P(estimate >= 2 x true)")
    for t in (5, 10, 30, 100):
        se = 0.16 / sqrt(t)
        print("   {:9d}  {:9.4f}  {:23.3f}".format(
            t, se, 1 - z.cdf(0.05 / se)))
    rng = random.Random(98)
    xs = chain(rng, 600000)
    allx = [x for _, _, x in xs]
    m_all, v_all, f_all = kelly(allx)
    print("   (b) whole history: excess {:.4f}, vol {:.4f}, Kelly {:.2f}"
          .format(m_all, sqrt(v_all), f_all))
    for name, cond in (("random dates", lambda s, r: True),
                       ("bull run >= 36 months", lambda s, r: s == 0
                        and r >= 36)):
        fs = []
        for i in range(60, len(xs), 7):
            s, r, _ = xs[i - 1]
            if cond(s, r):
                fs.append(kelly(allx[i - 60:i])[2])
        fs.sort()
        q = lambda a: fs[int(a * (len(fs) - 1))]
        print("   {:<22} n {:5d}  median f {:5.2f}  10%-90% {:5.2f} to "
              "{:5.2f}".format(name, len(fs), q(0.5), q(0.1), q(0.9)))
        print("   {:<22} share with f >= 2 x whole-history Kelly: {:.3f}"
              .format("", sum(f >= 2 * f_all for f in fs) / len(fs)))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《体制转换分数凯利、最大回撤约束与生命周期杠杆配置》第 1 章「全凯利与乐观的漂移:好年景为什么催生过度下注」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090256

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

BibTeX
@book{fan2026098,
  author    = {Fan, Yafu},
  title     = {Regime-Switching Fractional Kelly, Maximum-Drawdown Constraints and Lifecycle Leverage Allocation},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090256},
  url       = {https://doi.org/10.5281/zenodo.24090256}
}

本书其他章节结论