What does Attachment Games and Ceasefire Protocols conclude, in numbers, about “Closing the Loop: a Ceasefire Card Signed by Both Partners, and a Plan to Refute It”?
Answer: Chapter 8 presents a ceasefire card signed by both partners, the Cold-War Ceasefire Card Calculator and a pre-registered test plan. Marked boxes separate published evidence, runnable Python calculations (20 programs), classical sources and the author's hypotheses.
Scope of the numbers: Its parameters are illustrative, and all calculations are generated by its programs. The parts on founder couples are not individual business advice.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 20
| Test 1: couples per arm, standardised effect d | ||
| d | power 0.80 | power 0.90 |
| 0.2 | 393 | 526 |
| 0.3 | 175 | 234 |
| 0.4 | 99 | 132 |
| 0.5 | 63 | 85 |
| Test 2: couples per arm, escalations (base 3 per 8 weeks) | ||
| RR | power 0.80 | power 0.90 |
| 0.6 | 57 | 77 |
| 0.7 | 112 | 150 |
| 0.8 | 276 | 370 |
| 0.9 | 1205 | 1613 |
| plan: RR 0.7, power 0.90, 20 per cent attrition -> recruit 188 per arm |
Show the full program
# 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)))Single source and citation
Fan, Y. (2026). Attachment Games and Ceasefire Protocols in Intimate Partnerships: Repeated Non-Zero-Sum Games, Emotion-Decay Equations and Ending Cold Wars between Founder Couples (Version 1.0.0), Chapter 8: Closing the Loop: a Ceasefire Card Signed by Both Partners, and a Plan to Refute It. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 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}
}Other chapter answers in this book
- Chapter 1 · The Echo: an Exact Markov Chain for Tit for Tat under Noise
- Chapter 2 · A Safe Dose of Forgiveness: Generous Tit for Tat and the Invasion Window
- Chapter 3 · Attachment as Parameters: Misreading, Forgiveness and the Demand-Withdraw Loop
- Chapter 4 · Emotion-Decay Equations: Coupling, Cooling Times and Two Attractors
- Chapter 5 · The Structure of a Ceasefire: Pause Length, a Named Return and the Shadow of the Future
- Chapter 6 · Founder Couples: Two Boards at Once
- Chapter 7 · Classical Sources: Repaying Grievance with Uprightness, and Seneca on Anger