关于「克拉美-伦德伯格模型与滚动保证金」,《支付路由、拒付与现金储备》给出的定量结论是什么?
结论:第五章用克拉美-伦德伯格模型说明「零破产」买不到:1% 的破产概率需要 RM 175,281;保证金比例高于净毛利率时会持续消耗现金。
数据口径:书中的订单量、事件率、毛利、退款率、冻结频率与胜诉概率均为示意或合成模型;全部数据由书中程序生成;卡组织规则以写作时的公开资料为准;本书不是法律、财务或合规意见。 第三章把友好欺诈写成威慑博弈:胜诉概率达到 0.75 时虚假争议在示意模型中完全消失;证据包中「理性消费勾选」的分量最小。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 175281
reserve RM psi(u) formula ruined within 10 years (sim)
0 0.8000 0.8060
50,000 0.2292 0.2280
100,000 0.0657 0.0722
175,000 0.0101 0.0097
reserve for ruin 1.0%: RM 175,281
reserve for ruin 0.1%: RM 267,384
with loading 0.10: reserve for 1% RM 396,868
with loading 0.50: reserve for 1% RM 100,793核心公式
\[\psi(u) = \frac{1}{1+\theta}\exp\!\left(-\frac{\theta\,u}{(1+\theta)\mu}\right).\]
查看完整验算程序
# Chapter 5. p09: The Cramer-Lundberg model of a cash reserve. Cash
# starts at u and earns net margin c per week; outflow shocks (a batch of
# refunds, chargebacks, a reserve call) arrive as a Poisson process, 2 a
# week, with exponential sizes of mean RM 8,000. Net margin carries a
# safety loading theta = 0.25: c = (1 + theta) * 2 * 8,000. Then the
# probability of EVER running out of cash is exactly
# psi(u) = exp(-theta u / ((1 + theta) mu)) / (1 + theta),
# which is positive for every finite u: zero ruin cannot be bought, only
# a small one. Check by simulation: 4,000 paths of 10 years, seed 85.
import random
from math import exp, log
LAM, MU, THETA = 2.0, 8000.0, 0.25
C = (1 + THETA) * LAM * MU
def psi(u, theta=THETA):
return exp(-theta * u / ((1 + theta) * MU)) / (1 + theta)
def needed(eps, theta=THETA):
return (1 + theta) * MU / theta * log(1 / ((1 + theta) * eps))
def simulate(rng, u, weeks=520):
cash, t = u, 0.0
while True:
dt = rng.expovariate(LAM)
t += dt
if t > weeks:
return False
cash += C * dt - rng.expovariate(1 / MU)
if cash < 0:
return True
if __name__ == "__main__":
rng = random.Random(85)
print(" reserve RM psi(u) formula ruined within 10 years (sim)")
for u in (0.0, 50000.0, 100000.0, 175000.0):
sim = sum(simulate(rng, u) for _ in range(4000)) / 4000
print(" {:10,.0f} {:14.4f} {:.4f}".format(u, psi(u), sim))
for eps in (0.01, 0.001):
print(" reserve for ruin {:.1%}: RM {:,.0f}".format(eps,
needed(eps)))
for th in (0.10, 0.50):
print(" with loading {:.2f}: reserve for 1% RM {:,.0f}".format(
th, needed(0.01, th)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《跨境支付智能路由、拒付抗辩博弈与资金池破产边界》第 5 章「克拉美-伦德伯格模型与滚动保证金」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090225
DOI: 10.5281/zenodo.24090225 · 阅读本章所在专著 · 5DL-B-085 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026085,
author = {Fan, Yafu},
title = {Cross-Border Payment Routing, Chargeback Defense Games and Treasury Ruin Bounds},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090225},
url = {https://doi.org/10.5281/zenodo.24090225}
}