关于「十项审计与一项预注册交叉试验」,《节律声、稳态反应与调制工程》给出的定量结论是什么?
结论:第八章给出十项自动审计与一项预注册交叉试验(完成 262 人,招募 328 人)。书中以标注框区分证据、可运行的 Python 程序、原典与假说。
数据口径:书中的锁相曲线、反应幅度、脑电噪声与觉醒概率都是示意模型参数,不是任何受试者或产品的数据;本书不提供医疗、听力保健或睡眠治疗建议。 在示意锁相曲线下,400 Hz 载波时等时音的驱动功率比双耳拍高 17.6 dB,2,000 Hz 时高 84.4 dB。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 262, 328
Holm first level 0.05 / 3 -> |z| > 2.394 H1 micro-arousals d_z = 0.3 n = 117 H2 ASSR locking d_z = 1.0 n = 11 H3 sleep quality d_z = 0.2 n = 262 sleepers to complete: 262 to enrol (20 % dropout): 328 null simulation: any false claim in 0.0498 of trials Reading: the subjective outcome sets the size of the trial. If only H2 were wanted, eleven sleepers would do; the claims a buyer cares about need hundreds.
查看完整验算程序
# Chapter 8. p16: Sizing and checking a pre-registered crossover trial.
# Each sleeper spends nights in three arms in random order: pink noise
# masker at 40 dBA, an isochronic 40 Hz track then pink noise, and a
# quiet control. Outcomes, tested with Holm's procedure at 0.05:
# H1 micro-arousal index, masker vs control (paired d_z = 0.3);
# H2 40 Hz ASSR phase locking, isochronic vs binaural (d_z = 1.0);
# H3 morning self-rated sleep quality, masker vs control (d_z = 0.2).
# Paired normal approximation: n = (z_a + z_b)^2 / d_z^2 at power 0.80,
# with the first Holm level 0.05 / 3. Then 20 % dropout. Finally a
# simulation of 4,000 null trials checks that the Holm procedure keeps
# the chance of any false claim at or below 0.05.
import math
import random
def z_two_sided(alpha):
lo, hi = 0.0, 10.0
for _ in range(100):
mid = (lo + hi) / 2
if math.erfc(mid / math.sqrt(2)) > alpha:
lo = mid
else:
hi = mid
return (lo + hi) / 2
def holm_any(pvals, alpha=0.05):
m = len(pvals)
for i, p in enumerate(sorted(pvals)):
if p > alpha / (m - i):
return i > 0
return True
if __name__ == "__main__":
za, zb = z_two_sided(0.05 / 3), 0.8416
print(" Holm first level 0.05 / 3 -> |z| > {:.3f}".format(za))
need = 0
for name, d in (("H1 micro-arousals", 0.3),
("H2 ASSR locking", 1.0),
("H3 sleep quality", 0.2)):
n = math.ceil((za + zb) ** 2 / d ** 2)
need = max(need, n)
print(" {:18s} d_z = {:.1f} n = {:4d}".format(name, d, n))
print(" sleepers to complete: {} to enrol (20 % dropout): {}"
.format(need, math.ceil(need / 0.8)))
rng = random.Random(5)
false_any = 0
for _ in range(4000):
zs = [rng.gauss(0, 1) for _ in range(3)]
ps = [math.erfc(abs(z) / math.sqrt(2)) for z in zs]
false_any += holm_any(ps)
print(" null simulation: any false claim in {:.4f} of trials"
.format(false_any / 4000))
print("\nReading: the subjective outcome sets the size of the trial.")
print("If only H2 were wanted, eleven sleepers would do; the")
print("claims a buyer cares about need hundreds.")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《节律声刺激、听觉稳态反应与双耳等时调制工程》第 8 章「十项审计与一项预注册交叉试验」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090211
DOI: 10.5281/zenodo.24090211 · 阅读本章所在专著 · 5DL-B-080 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026080,
author = {Fan, Yafu},
title = {Rhythmic Acoustic Stimulation, Auditory Steady-State Responses and Modulation Signal Engineering},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090211},
url = {https://doi.org/10.5281/zenodo.24090211}
}