关于「止损线的学习价值:信念线、好坏间距与沉没成本的加码」,《鞅、停时与商业试错的停损界》给出的定量结论是什么?
结论:第五章讲止损线就是信念线,其价值随好坏间距上升,最多可捕获先知价值的 0.646。
数据口径:可选停时定理说,只要停止时刻不偷看未来且有上限,不赚不亏的事情在停下时的期望结果就等于起点;示意参数下,「第一次领先就停」的胜率是 0.824,期望却精确为零。 书中参数均为示意;全部计算由书中程序生成。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.646
| prior good 0.3, deadline 26; result units per trial | |||||
| d | run all | best | stop | perfect | captured |
| 0.02 | -0.416 | -0.086 | -1 | 0.312 | -0.275 |
| 0.05 | -1.040 | -0.108 | -1 | 0.780 | -0.139 |
| 0.10 | -2.080 | 0.104 | -1 | 1.560 | 0.067 |
| 0.15 | -3.120 | 0.569 | -1 | 2.340 | 0.243 |
| 0.20 | -4.160 | 1.278 | -2 | 3.120 | 0.410 |
| 0.30 | -6.240 | 3.025 | -2 | 4.680 | 0.646 |
| a negative best means: do not start, or test more cheaply |
核心公式
\[\frac{\pi}{1-\pi}\times 1.5^{s}.\]
查看完整验算程序
# Chapter 5. p52: How much a stop line can learn depends on how far
# apart good and bad trials are, relative to weekly noise.
# Model: good p = 0.5 + d, bad p = 0.5 - d, prior good 0.3 (most trials
# fail), deadline 26 weeks, stop at -b with b chosen best in 1..26.
# Not starting earns 0; running everything to the deadline earns
# 26 x 2d x (2 x 0.3 - 1); perfect foresight (run only the good ones)
# earns 0.3 x 26 x 2d. "captured" = best stop line / perfect foresight.
# Exact fractions; d and the prior are illustrative.
from fractions import Fraction
N = 26
PI = Fraction(3, 10)
def run(p, b):
q = 1 - p
live = {0: Fraction(1)}
es = Fraction(0)
for t in range(1, N + 1):
new = {}
for s, pr in live.items():
new[s + 1] = new.get(s + 1, Fraction(0)) + pr * p
new[s - 1] = new.get(s - 1, Fraction(0)) + pr * q
live = {}
for s in sorted(new):
if s <= -b or t == N:
es += s * new[s]
else:
live[s] = new[s]
return es
print("prior good 0.3, deadline %d; result units per trial" % N)
print("%5s %9s %9s %6s %9s %9s" % (
"d", "run all", "best", "stop", "perfect", "captured"))
for d in (Fraction(1, 50), Fraction(1, 20), Fraction(1, 10),
Fraction(3, 20), Fraction(1, 5), Fraction(3, 10)):
allin = N * 2 * d * (2 * PI - 1)
best_b, best_e = None, None
for b in range(1, N + 1):
e = PI * run(Fraction(1, 2) + d, b) + \
(1 - PI) * run(Fraction(1, 2) - d, b)
if best_e is None or e > best_e:
best_b, best_e = b, e
perfect = PI * N * 2 * d
print("%5.2f %9.3f %9.3f %6d %9.3f %9.3f" % (
float(d), float(allin), float(best_e), -best_b, float(perfect),
float(best_e / perfect)))
print("a negative best means: do not start, or test more cheaply")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《杜布鞅论可选停时定理、加倍追注谬误与商业试错见好就收停损界母典》第 5 章「止损线的学习价值:信念线、好坏间距与沉没成本的加码」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-249 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026249,
author = {Fan, Yafu},
title = {Doob's Martingales and the Optional Stopping Theorem: the Doubling Fallacy and Rigorous Stop-Loss Bounds for Business Trials},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}