What does Attachment and Couple Dynamics conclude, in numbers, about “Practice and a Pre-registered Trial”?
Answer: With a smallest effect of interest of 0.35 standard deviations (of an individual partner's score), a correlation of 0.5 between partners' diaries and 90 % power, each arm needs 130 analysable couples; allowing for about 20 % loss to drop-out and unusable diaries, each arm recruits 163 couples, 326 couples and 652 people in all. The more closely partners' diaries agree, the less averaging helps and the larger the sample needed; the table gives the numbers for correlations of 0.3 and 0.7.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (14 programs, all checked), classical sources and the author's hypotheses.
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: 0.3, 0.35, 0.5, 0.7, 130, 163
| couples per arm for 90 % power | ||
| effect (SD) | partners' diaries agree rho = 0.3 | 0.5 | 0.7 | ||
| 0.25 | | | 220 | 254 | 287 |
| 0.30 | | | 153 | 177 | 200 |
| 0.35 | | | 113 | 130 | 147 |
| 0.40 | | | 87 | 100 | 113 |
| chosen: 0.35 SD, rho = 0.5 -> 130 couples per arm; allowing 20 % loss (drop-out, unusable diaries) recruit 163 per arm, 326 couples (652 people) in all |
Show the full program
# Sample size for the couple-randomised trial. Unit of randomisation and analysis: the couple.
# Arm A: a 90-minute structured session (drawing their own pursue-withdraw loop, a 20-minute
# physiological cool-down routine, practising repair phrases). Arm B: the same time spent on a
# standard written guide to good communication, read and discussed with the same facilitator.
# Primary outcome: total minutes of escalated conflict in the following 7-day diary, log(1 + min),
# each partner keeping their own diary; the couple's score is the mean of the two partners.
# Effect in SD units of an individual's score; normal approximation; two-sided alpha 0.05.
import math
from statistics import NormalDist
N = NormalDist()
def couples_per_arm(d_individual, rho, alpha=0.05, power=0.90):
# averaging two partners whose scores correlate rho shrinks the variance to (1 + rho)/2
d = d_individual / math.sqrt((1 + rho) / 2)
return math.ceil(2 * (N.inv_cdf(1 - alpha / 2) + N.inv_cdf(power)) ** 2 / d ** 2) + 1
print("couples per arm for 90 % power")
print(" effect (SD) | partners' diaries agree rho = 0.3 | 0.5 | 0.7")
for d in (0.25, 0.30, 0.35, 0.40):
print(f" {d:.2f} | {couples_per_arm(d, 0.3):33d} | {couples_per_arm(d, 0.5):3d} | {couples_per_arm(d, 0.7):3d}")
n = couples_per_arm(0.35, 0.5)
recruit = math.ceil(n / 0.80)
print(f"chosen: 0.35 SD, rho = 0.5 -> {n} couples per arm; allowing 20 % loss (drop-out, unusable diaries)"
f" recruit {recruit} per arm, {2 * recruit} couples ({4 * recruit} people) in all")Single source and citation
Fan, Y. (2026). Computational Attachment Theory and Couple Interaction Dynamics (Version 1.0.0), Chapter 8: Practice and a Pre-registered Trial. 5D Library. https://doi.org/10.5281/zenodo.23754715
DOI: 10.5281/zenodo.23754715 · Read the monograph · 5DL-B-021 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026021,
author = {Fan, Yafu},
title = {Computational Attachment Theory and Couple Interaction Dynamics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.23754715},
url = {https://doi.org/10.5281/zenodo.23754715}
}Other chapter answers in this book
- Chapter 2 · Coupled Equations of the Pursue–Withdraw Loop
- Chapter 3 · Gottman and Murray's Marriage Equations
- Chapter 4 · The Body in Conflict: Physiological Linkage and Co-regulation
- Chapter 5 · Is Early Experience Destiny? The Real Effect Sizes of Longitudinal Studies
- Chapter 6 · Repair Attempts: The Damper in the Conflict Loop