关于「四步核查与一项预注册的合盘检验」,《双人耦合与网格博弈》给出的定量结论是什么?

结论:第八章给出四步核查与一项预注册检验:事后在二十种口径中挑选,会在 0.517 的无效应研究中制造「显著」效应;风险比 1.5 时需要 191 次分离、764 对伴侣。书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序)、原典与作者的假说。

数据口径:本书只研究这些数学结构本身,不主张、也不检验任何术数意义上的预测;全部数据为程序生成的合成数据,物理与博弈概念用于人际关系之处一律标为类比。 第七章与咸、恒两卦的《彖传》、《烟波钓叟赋》与杨辉纵横图并读;咸卦颠倒即为恒卦,被读作矩阵的转置,并标为诠释。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 1.5, 191, 764

   hazard ratio   separations needed   couples (25 % separate)
       1.2               945                3,780
       1.3               457                1,828
       1.5               191                  764
       2.0                66                  264
   simulated power at HR 1.5 with 382 couples per half: 0.853
Reading: even a large effect (hazard ratio 1.5) needs about
190 separations and some 760 couples; a modest one needs several
thousand. The simulation gives a little more than the planned
80 %, because the high-risk half separates more often than 25 %
and so supplies extra events.
查看完整验算程序
# Chapter 8. Sizing a pre-registered test of a compatibility score.
# Design: one scoring convention, fixed and published before any data;
# couples split at the median score into a high and a low half; primary
# outcome the time to separation over five years, compared with a Cox
# model. Schoenfeld's formula gives the number of separations needed:
#   d = (z_(1 - alpha/2) + z_power)^2 / (p (1 - p) ln(HR)^2),  p = 0.5.
# Couples needed = d / (share separating within five years). Secondary
# outcome, from p02: EACH partner's own satisfaction, measured separately,
# so that a one-sided (antisymmetric) part can be estimated at all.
# The program also checks the formula by simulation for HR = 1.5:
# exponential times, 25 % five-year separation in the low half, 2,000
# simulated trials, a log-rank test at 0.05.
import math
import random
from statistics import NormalDist

Z = NormalDist()

def events_needed(hr, alpha=0.05, power=0.8):
    z = Z.inv_cdf(1 - alpha / 2) + Z.inv_cdf(power)
    return math.ceil(z * z / (0.25 * math.log(hr) ** 2))

def logrank(times, groups, horizon=5.0):
    data = sorted(zip(times, groups))
    at = [groups.count(0), groups.count(1)]
    o1 = e1 = v = 0.0
    for t, g in data:
        if t > horizon:
            break
        n = at[0] + at[1]
        e = at[1] / n
        o1 += g
        e1 += e
        v += e * (1 - e)
        at[g] -= 1
    return (o1 - e1) / math.sqrt(v)

if __name__ == "__main__":
    print("   hazard ratio   separations needed   couples (25 % separate)")
    for hr in (1.2, 1.3, 1.5, 2.0):
        d = events_needed(hr)
        print("       {:3.1f}             {:5d}               {:6,d}".format(
            hr, d, math.ceil(d / 0.25)))
    rng = random.Random(62016)
    hr, n_per = 1.5, math.ceil(events_needed(1.5) / 0.25 / 2)
    lam0 = -math.log(0.75) / 5.0
    hits = 0
    for _ in range(2000):
        times, groups = [], []
        for g in (0, 1):
            lam = lam0 * (hr if g else 1.0)
            for _ in range(n_per):
                times.append(rng.expovariate(lam))
                groups.append(g)
        if abs(logrank(times, groups)) > 1.96:
            hits += 1
    print("\n   simulated power at HR 1.5 with {} couples per half:"
          " {:.3f}".format(n_per, hits / 2000))
    print("\nReading: even a large effect (hazard ratio 1.5) needs about")
    print("190 separations and some 760 couples; a modest one needs several")
    print("thousand. The simulation gives a little more than the planned")
    print("80 %, because the high-risk half separates more often than 25 %")
    print("and so supplies extra events.")

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《双人相位耦合、双线性相容张量与时空网格博弈》第 8 章「四步核查与一项预注册的合盘检验」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090172

DOI: 10.5281/zenodo.24090172 · 阅读本章所在专著 · 5DL-B-062 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026062,
  author    = {Fan, Yafu},
  title     = {Dyadic Phase Coupling, Bilinear Compatibility Tensors and Spatiotemporal Grid Games},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090172},
  url       = {https://doi.org/10.5281/zenodo.24090172}
}

本书其他章节结论