What does In-Ear Noise Cancelling, Occlusion and Listening Effort conclude, in numbers, about “Practice and Refutation: a Persuasive-Copy Checker and Pre-Registered Tests”?
Answer: Chapter 8 first sets the advertised cancellation figures against the overall change users hear, then gives a persuasive-copy checker, an owner's checklist 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: Chapter 3 checks Bode's sensitivity integral numerically: the quiet side and the loud side of an illustrative feedback loop are each 32.9 dB·kHz. Chapter 5 prices cancellation with the Speech Intelligibility Index: one decibel at 250 Hz is worth only 0.00206 and one at 2000 Hz 0.00883, and in the illustrative scene cancellation lowers the playback level needed for equal intelligibility by 5.1 dB.
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 dz n@80% n@90% sim@80% | |
| H4 OE shallow - deep, own voice | 0.750 16 21 0.846 |
| H5 SRT gain, ANC vs passive | 0.667 20 26 0.843 |
| H6 pupil, mid - low intelligibility | 0.500 34 44 0.828 |
| plan: recruit the n@90% column plus 15% for dropouts: | |
| H4 OE shallow - deep, own voice | 25 |
| H5 SRT gain, ANC vs passive | 30 |
| H6 pupil, mid - low intelligibility | 51 |
Show the full program
# Chapter 8. p82: Sample sizes for the pre-registered tests of this book.
# Paired designs, two-sided alpha = 0.05. Normal approximation with the
# small-sample correction n = ((z_a + z_b) / dz)^2 + z_a^2 / 2, where dz
# = mean difference / SD of differences. Then a fixed-seed Monte Carlo
# (4000 simulated studies, normal differences, z test on the sample SD)
# checks the power reached at that n. Effect sizes are the author's
# planning assumptions, stated before any data exist.
import math
import random
import statistics
ND = statistics.NormalDist()
TESTS = (
("H4 OE shallow - deep, own voice", 6.0, 8.0),
("H5 SRT gain, ANC vs passive", 2.0, 3.0),
("H6 pupil, mid - low intelligibility", 0.05, 0.10),
)
def n_for(dz, power, alpha=0.05):
za = ND.inv_cdf(1 - alpha / 2)
zb = ND.inv_cdf(power)
return math.ceil(((za + zb) / dz) ** 2 + za * za / 2)
def sim_power(n, mean, sd, rng, reps=4000):
za = ND.inv_cdf(0.975)
hit = 0
for _ in range(reps):
xs = [rng.gauss(mean, sd) for _ in range(n)]
m = statistics.fmean(xs)
s = statistics.stdev(xs)
if abs(m / (s / math.sqrt(n))) > za:
hit += 1
return hit / reps
if __name__ == "__main__":
rng = random.Random(20261112)
print("test dz n@80% n@90% sim@80%")
for name, mean, sd in TESTS:
dz = mean / sd
n80, n90 = n_for(dz, 0.80), n_for(dz, 0.90)
print("{:<36} {:>5.3f} {:>5} {:>5} {:>7.3f}".format(
name, dz, n80, n90, sim_power(n80, mean, sd, rng)))
print("plan: recruit the n@90% column plus 15% for dropouts:")
for name, mean, sd in TESTS:
n90 = n_for(mean / sd, 0.90)
print(" {:<36} {:>4}".format(name, math.ceil(n90 * 1.15)))Single source and citation
Fan, Y. (2026). LMS Adaptive Filtering in In-Ear Active Noise Cancellation, Occlusion-Effect Bone-Conduction Gain and SNR-Driven Cognitive Recovery (Version 1.0.0), Chapter 8: Practice and Refutation: a Persuasive-Copy Checker and Pre-Registered Tests. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-164 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026164,
author = {Fan, Yafu},
title = {LMS Adaptive Filtering in In-Ear Active Noise Cancellation, Occlusion-Effect Bone-Conduction Gain and SNR-Driven Cognitive Recovery},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · LMS and Filtered-x LMS: Where the Step-Size Bound 2/(L·P) Really Sits
- Chapter 2 · Secondary-Path Delay: Phase Error 2πfτ and the Band Edge of 10 dB Cancellation
- Chapter 3 · The Waterbed of Feedback Cancellation: a Numerical Ledger of Bode's Sensitivity Integral
- Chapter 4 · The Occlusion Effect: Lumped Equations of a Closed Ear Canal and the Price of a Vent
- Chapter 5 · An Exchange Rate for Signal-to-Noise: Pricing Cancellation with the Speech Intelligibility Index
- Chapter 6 · Listening Effort: Kahneman's Capacity Model and the Inverted U of the Pupil
- Chapter 7 · Sources Examined: "The Great Sound Is Faint" and Lueg's Duct