关于「实证闭环:每五分钟一次的模态拟合、降温预警与预注册检验」,《库普曼模态与直播拐点》给出的定量结论是什么?
结论:第八章给出每五分钟一次的拟合流程、在线曲线拐点预警器与预注册检验方案:检验 3 分钟的提前量差需要 51 场,检验过早误报需要 68 场。书中以标注框区分已发表的证据、可运行的 Python 计算(19 段程序)、原典与作者的假说。
数据口径:书中的直播曲线、店铺流水与参数均为示意;全部计算由书中程序生成;本书是非个人化经营建议,现金流预报不构成融资、借贷或投资建议,书中小工具给出的每一条预警都只是内部提示,须由经营者人工判断。 第一章显示示意直播曲线的前两个模态装下 0.9285 的能量,但随机游走也有 0.872,所以方差解释不是证据,样本外预报才是;去掉 12 分钟起伏的移动平均,拐点迟到 5.89 分钟。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 19, 51, 68
| Test 1: paired lead gain, sd 7.58 min | |
| delta 2 min: n | 113 sessions (23 weeks at 5 a week) |
| delta 3 min: n | 51 sessions (11 weeks at 5 a week) |
| delta 5 min: n | 19 sessions (4 weeks at 5 a week) |
| Test 2: premature share < 0.15 if true share is 0.055 | |
| n | 68 sessions; reject when at most 5 are premature |
| size 0.0465, power 0.8296 |
查看完整验算程序
# Chapter 8. p82: how many sessions a pre-registered test needs.
# Test 1 (lead time): paired difference "DMD lead minus 12-minute-average
# lead" per session; planning sd 7.58 minutes taken from p51 output;
# two-sided alpha 0.05, power 0.8, normal approximation
# n = ((z(0.975) + z(0.8)) * sd / delta)^2 for delta = 2, 3, 5 minutes.
# Test 2 (premature warnings): one-sided exact binomial test that the
# share of warnings more than 15 minutes early is below 0.15, if its true
# value is 0.055 (p51); smallest n with power 0.8 at alpha 0.05.
import math
import statistics
z = statistics.NormalDist()
za, zb = z.inv_cdf(0.975), z.inv_cdf(0.8)
sd = 7.58
print("Test 1: paired lead gain, sd %.2f min" % sd)
for delta in (2.0, 3.0, 5.0):
n = math.ceil(((za + zb) * sd / delta) ** 2)
print(" delta %.0f min: n = %d sessions (%d weeks at 5 a week)"
% (delta, n, math.ceil(n / 5)))
def cdf(k, n, p):
return math.fsum(math.comb(n, i) * p ** i * (1 - p) ** (n - i)
for i in range(k + 1))
p0, p1 = 0.15, 0.055
for n in range(10, 400):
k = -1
while k + 1 <= n and cdf(k + 1, n, p0) <= 0.05:
k += 1
if k >= 0 and cdf(k, n, p1) >= 0.8:
break
print("Test 2: premature share < %.2f if true share is %.3f" % (p0, p1))
print(" n = %d sessions; reject when at most %d are premature" % (n, k))
print(" size %.4f, power %.4f" % (cdf(k, n, p0), cdf(k, n, p1)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《库普曼算子动态模态分解、现金流非线性波动线性化与直播在线曲线拐点预测母典》第 8 章「实证闭环:每五分钟一次的模态拟合、降温预警与预注册检验」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-238 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026238,
author = {Fan, Yafu},
title = {Koopman Operators and Dynamic Mode Decomposition: Linearising Nonlinear Cash-Flow Swings and Forecasting Turning Points in Livestream Audience Curves},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}