关于「四步核查与一项预注册的锁仓检验」,《预测市场的价格与套利》给出的定量结论是什么?
结论:第八章给出四步核查与一项预注册的锁仓检验(600 个事件,把握度 0.950)。书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序)、原典与作者的假说。
数据口径:本书把这个读法拆成三件事——信念如何聚合成价格、做市机制如何为信息付钱、资本被锁住时价格还能偏离多远——逐一写成可运行的模型,并计算看上去的套利还剩多少能执行。 本书不是投资、交易或博彩建议;全部数据为程序生成的合成数据。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.950, 600
A. events power at D=+0.02 false positives at D=0
100 0.347 0.043
200 0.570 0.037
400 0.823 0.022
600 0.950 0.030
800 0.978 0.020
B. one archive of 600 events: D = +0.0235, 95 % CI [+0.0123, +0.0347]
600 of 600 events found:
SUPPORTED: favourites underpriced by at least the SESOI
520 of 600 events found:
UNINTERPRETABLE: fewer than 90 % of planned events
Reading: 600 events (3,000 contracts) give 0.95 power at
half the effect the model predicts; every branch of
the rule, including the ones that would embarrass the model,
is written down before any archive is opened.查看完整验算程序
# Chapter 8. p16: A pre-registered test of the lock-up discount.
# Question: do long-dated favourites resolve YES more often than their
# price says? Sample: resolved binary contracts priced in [0.85, 0.97]
# exactly 90 days before resolution, five per event (the cap), from any
# public exchange archive. Estimand D = mean(outcome - price). The model
# of Chapter 3 predicts about +0.035; the smallest effect of interest
# (SESOI) is 0.01. Outcomes within an event share a shock (Gaussian
# copula, rho = 0.3), so standard errors are clustered by event.
# Part A: power at true D = +0.02 (half the model's prediction) and the
# false-positive rate at D = 0. Part B: the decision rule applied to one
# simulated archive.
import math
import random
from statistics import NormalDist
M, RHO, SESOI = 5, 0.3, 0.01
PHI = NormalDist()
def archive(rng, events, d):
rows = []
for e in range(events):
z = rng.gauss(0, 1)
for _ in range(M):
price = rng.uniform(0.85, 0.97)
p = min(price + d, 0.999)
u = PHI.cdf(math.sqrt(RHO) * z + math.sqrt(1 - RHO)
* rng.gauss(0, 1))
rows.append((e, price, 1 if u < p else 0))
return rows
def estimate(rows):
n = len(rows)
d = sum(y - p for _, p, y in rows) / n
by = {}
for e, p, y in rows:
by[e] = by.get(e, 0.0) + (y - p - d)
se = math.sqrt(sum(v * v for v in by.values())) / n
return d, se
def decide(d, se, planned, got, disputed):
lo, hi = d - 1.96 * se, d + 1.96 * se
if got < 0.9 * planned:
return "UNINTERPRETABLE: fewer than 90 % of planned events"
if disputed > 0.02:
return "UNINTERPRETABLE: over 2 % of contracts disputed"
if lo > 0 and d >= SESOI:
return "SUPPORTED: favourites underpriced by at least the SESOI"
if lo > -SESOI and hi < SESOI:
return "EQUIVALENT: no lock-up discount of practical size"
if hi < 0:
return "REVERSED: favourites overpriced"
return "INCONCLUSIVE: interval too wide to decide"
if __name__ == "__main__":
rng = random.Random(59016)
print("A. events power at D=+0.02 false positives at D=0")
for ev in (100, 200, 400, 600, 800):
pw = fp = 0
for _ in range(400):
d, se = estimate(archive(rng, ev, 0.02))
pw += (d - 1.96 * se > 0 and d >= SESOI)
d, se = estimate(archive(rng, ev, 0.0))
fp += (d - 1.96 * se > 0 and d >= SESOI)
print(" {:6d} {:5.3f} {:5.3f}".format(
ev, pw / 400, fp / 400))
d, se = estimate(archive(rng, 600, 0.02))
print("\nB. one archive of 600 events: D = {:+.4f}, 95 % CI"
" [{:+.4f}, {:+.4f}]".format(d, d - 1.96 * se, d + 1.96 * se))
print(" 600 of 600 events found:")
print(" " + decide(d, se, 600, 600, 0.0))
print(" 520 of 600 events found:")
print(" " + decide(d, se, 600, 520, 0.0))
print("\nReading: 600 events (3,000 contracts) give 0.95 power at")
print("half the effect the model predicts; every branch of")
print("the rule, including the ones that would embarrass the model,")
print("is written down before any archive is opened.")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《预测市场微观结构、布雷格曼信息投影与跨盘口无套利边界》第 8 章「四步核查与一项预注册的锁仓检验」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090166
DOI: 10.5281/zenodo.24090166 · 阅读本章所在专著 · 5DL-B-059 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026059,
author = {Fan, Yafu},
title = {Prediction Market Microstructure, Bregman Information Projection and Cross-Book Arbitrage Bounds},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090166},
url = {https://doi.org/10.5281/zenodo.24090166}
}