关于「盈亏下界与达成概率:区间而不是点」,《愿望形式化编译》给出的定量结论是什么?
结论:第四章说明按均值恰好达标的计划,达标概率只有 0.427。
数据口径:书中金额为无币种示意单位,参数为示意,全部计算由书中程序生成;本书是非个人化经营建议,不作个人财务或投资建议,心理学文献只写关联与适用条件,区间下界不是任何收入承诺。 书中以标注框区分已发表的证据、可运行的 Python 计算(22 段程序)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.427
| draws 20,000 | |
| point plan at the means net 3,000.1 | |
| P(net > | 3,000) 0.427 95% CI 0.420 to 0.434 |
| net 5 / 50 / 95 percentile | 981 / 2,728 / 5,771 |
| P(net < 0) | 0.001 |
| P(net > | 1,500) 0.852 95% CI 0.847 to 0.857 |
| P(net > | 2,000) 0.715 95% CI 0.708 to 0.721 |
| P(net > | 2,500) 0.568 95% CI 0.562 to 0.575 |
查看完整验算程序
# Chapter 4. p42: achievement probability as an interval, not a point
# Monthly net = visits * conv * contribution - fixed, with uncertain
# visits (lognormal, cv about 0.25), conversion (beta, mean 0.02) and
# contribution per order (normal, mean 20.9, sd 2.5). Fixed 1,200 units.
# The point plan at the means and the Monte Carlo probability of reaching
# the net target, with a Wilson 95 % interval. Illustrative parameters.
import math
import random
import statistics
rng = random.Random(41421)
DRAWS = 20000
TARGET = 3000.0
FIXED = 1200.0
MU_V = 10048.0
SIG = 0.25
def wilson(k, n, z=1.96):
p = k / n
den = 1 + z * z / n
mid = (p + z * z / (2 * n)) / den
half = z * math.sqrt(p * (1 - p) / n + z * z / (4 * n * n)) / den
return mid - half, mid + half
mu_log = math.log(MU_V) - SIG * SIG / 2
nets = []
for _ in range(DRAWS):
v = rng.lognormvariate(mu_log, SIG)
c = rng.betavariate(20, 980)
m = rng.gauss(20.9, 2.5)
nets.append(v * c * m - FIXED)
point = MU_V * 0.02 * 20.9 - FIXED
hit = len([x for x in nets if x >= TARGET])
lo, hi = wilson(hit, DRAWS)
q = statistics.quantiles(nets, n=20)
print("draws {:,}".format(DRAWS))
print("point plan at the means net {:,.1f}".format(point))
print("P(net >= 3,000) {:.3f} 95% CI {:.3f} to {:.3f}".format(
hit / DRAWS, lo, hi))
print("net 5 / 50 / 95 percentile {:,.0f} / {:,.0f} / {:,.0f}".format(
q[0], q[9], q[18]))
print("P(net < 0) {:.3f}".format(
len([x for x in nets if x < 0]) / DRAWS))
for tgt in (1500.0, 2000.0, 2500.0):
k = len([x for x in nets if x >= tgt])
a, b = wilson(k, DRAWS)
print("P(net >= {:,.0f}) {:.3f} 95% CI {:.3f} to {:.3f}"
.format(tgt, k / DRAWS, a, b))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《创始人模糊愿望形式化编译、约束反演与可执行商业系统生成母典》第 4 章「盈亏下界与达成概率:区间而不是点」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-414 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026414,
author = {Fan, Yafu},
title = {Formalising Fuzzy Founder Wishes: Constraint Inversion, Falsifiable Spec Synthesis and Executable Revenue System Compilation},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}