What does Rhythmic Sound, ASSR and Modulation conclude, in numbers, about “A Ten-Flag Audit and a Pre-Registered Crossover Trial”?
Answer: Chapter 8 gives a ten-flag audit and a pre-registered crossover trial (262 sleepers to complete, 328 to enrol). Marked boxes separate evidence, runnable Python programs, classical sources and hypotheses.
Scope of the numbers: Its phase-locking curves, response amplitudes, EEG noise and arousal probabilities are illustrative model parameters, not data from any listener or product; it gives no medical, hearing-care or sleep-treatment advice. Under an illustrative phase-locking curve, an isochronic tone drives 17.6 dB more power than a binaural beat on a 400 Hz carrier and 84.4 dB more at 2,000 Hz.
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: 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.
Show the full program
# 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.")Single source and citation
Fan, Y. (2026). Rhythmic Acoustic Stimulation, Auditory Steady-State Responses and Modulation Signal Engineering (Version 1.0.0), Chapter 8: A Ten-Flag Audit and a Pre-Registered Crossover Trial. 5D Library. https://doi.org/10.5281/zenodo.24090211
DOI: 10.5281/zenodo.24090211 · Read the monograph · 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}
}Other chapter answers in this book
- Chapter 1 · Where Is the Envelope? Binaural Beats and Isochronic Tones
- Chapter 2 · Auditory Steady-State Responses and the Arnold Tongue
- Chapter 3 · Pink Noise, A-Weighting and Sleep Masking
- Chapter 4 · Delivery Routes and Gating Shapes
- Chapter 5 · Hearing Dose and the Schumann Resonance
- Chapter 6 · Evidence: Detection Power, Placebo and Forking Paths
- Chapter 7 · Pitch Pipes, Sixteen Pitches, the Exact Root and Combination Tones