关于「实践与预注册试验」,《依恋计算模型与伴侣互动》给出的定量结论是什么?
结论:按最小关注效应 0.35 个标准差(以单个伴侣的得分计)、伴侣两人日记的相关 0.5、90% 把握度计算,每组需要 130 对可分析的伴侣;考虑约 20% 的流失与无法使用的日记,每组招募 163 对,共 326 对伴侣、652 人。两人日记的相关越高,取平均带来的好处越小,所需样本越多;表中列出了相关为 0.3 与 0.7 时的数字。
数据口径:书中以标注框区分已发表的证据、可运行的 Python 计算(14 段程序,全部核对)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 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 |
查看完整验算程序
# 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")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《依恋理论的计算模型与伴侣互动动力学》第 8 章「实践与预注册试验」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23754715
DOI: 10.5281/zenodo.23754715 · 阅读本章所在专著 · 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}
}