关于「实证闭环:双方签署的停火协议卡与证伪方案」,《依恋博弈与停火协议》给出的定量结论是什么?

结论:第八章给出双方签署的停火协议卡、冷战停火协议计算器与预注册检验方案。书中以标注框区分已发表的证据、可运行的 Python 计算(20 段程序)、原典与作者的假说。

数据口径:书中参数均为示意,全部计算由书中程序生成。 本书不是心理咨询、医疗或法律建议,不宣称任何改变关系或身心状况的效果,也不写任何操控、冷暴力或情感勒索技巧;遇到家庭暴力、威胁、自伤风险或严重心理困扰,请立即联系当地紧急求助渠道与专业机构。

English version

对照数据表

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

Test 1: couples per arm, standardised effect d
dpower 0.80power 0.90
0.2393526
0.3175234
0.499132
0.56385
Test 2: couples per arm, escalations (base 3 per 8 weeks)
RRpower 0.80power 0.90
0.65777
0.7112150
0.8276370
0.912051613
plan: RR 0.7, power 0.90, 20 per cent attrition -> recruit 188 per arm
查看完整验算程序
# Chapter 8. p82: sample size for a pre-registered test of the card.
# Design: couples are randomised to "card now" or "card after eight
# weeks" (waiting list). Primary outcome: escalated episodes per couple
# over eight weeks, logged daily by both partners. Test 1 treats the
# per-couple mean log duration of conflict spells as normal, effect
# size d, two-sided alpha 0.05: n per arm = 2 (z_a + z_b)^2 / d^2.
# Test 2 compares Poisson counts with baseline rate 3 per eight weeks
# and rate ratio RR, inflated for overdispersion by 1 + rate / k with
# k = 2 (negative binomial). All inputs are planning assumptions.
import math
from statistics import NormalDist

Z = NormalDist()


def n_normal(d, alpha, power):
    za, zb = Z.inv_cdf(1 - alpha / 2), Z.inv_cdf(power)
    return math.ceil(2 * (za + zb) ** 2 / d ** 2)


def n_counts(base, rr, alpha, power, k=2.0):
    za, zb = Z.inv_cdf(1 - alpha / 2), Z.inv_cdf(power)
    l1, l2 = base, base * rr
    var = math.fsum([(1 + l1 / k) / l1, (1 + l2 / k) / l2])
    return math.ceil((za + zb) ** 2 * var / math.log(rr) ** 2)


print("Test 1: couples per arm, standardised effect d")
print("    d    power 0.80   power 0.90")
for d in (0.2, 0.3, 0.4, 0.5):
    print("%5.1f  %11d  %11d"
          % (d, n_normal(d, 0.05, 0.8), n_normal(d, 0.05, 0.9)))
print("Test 2: couples per arm, escalations (base 3 per 8 weeks)")
print("   RR    power 0.80   power 0.90")
for rr in (0.6, 0.7, 0.8, 0.9):
    print("%5.1f  %11d  %11d"
          % (rr, n_counts(3.0, rr, 0.05, 0.8),
             n_counts(3.0, rr, 0.05, 0.9)))
drop = 0.2
n = n_counts(3.0, 0.7, 0.05, 0.9)
print("plan: RR 0.7, power 0.90, 20 per cent attrition -> recruit %d"
      " per arm" % math.ceil(n / (1 - drop)))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《亲密关系依恋博弈与冲突停火协议、重复非零和博弈情绪衰减方程与创业伴侣冷战破局母典》第 8 章「实证闭环:双方签署的停火协议卡与证伪方案」(版本 1.0.0). 5D Library. DOI 待发布

DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-285 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026285,
  author    = {Fan, Yafu},
  title     = {Attachment Games and Ceasefire Protocols in Intimate Partnerships: Repeated Non-Zero-Sum Games, Emotion-Decay Equations and Ending Cold Wars between Founder Couples},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论