What does Autonomic Balance, Six Stages and Multimodal Inversion conclude, in numbers, about “Practice: Accuracy Studies, Test-Retest Reliability and Pre-Registration”?
Answer: Chapter 8 gives the sample size of an accuracy study, test-retest reliability and a pre-registered paired comparison. Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's hypotheses.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 programs), 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 only
| half-width | positives | negatives | enrol at 10% | enrol at 20% |
| 0.10 | 62 | 49 | 620 | 310 |
| 0.05 | 246 | 196 | 2,460 | 1,230 |
| 0.03 | 683 | 545 | 6,830 | 3,415 |
Show the full program
# Chapter 8. p14: How large must a diagnostic accuracy study be? To pin
# sensitivity near 0.80 within +/- d (95%), n_pos = 1.96^2 p (1 - p) / d^2
# people who truly have the condition are needed; likewise n_neg for
# specificity near 0.85. Total enrolment = n_pos / prevalence when the
# study samples consecutive people.
from math import ceil
def n_for(p, d):
return ceil(1.96 ** 2 * p * (1 - p) / d ** 2)
if __name__ == "__main__":
print(" half-width positives negatives enrol at 10% enrol at 20%")
for d in (0.10, 0.05, 0.03):
npos, nneg = n_for(0.80, d), n_for(0.85, d)
e10 = max(ceil(npos / 0.10), ceil(nneg / 0.90))
e20 = max(ceil(npos / 0.20), ceil(nneg / 0.80))
print(" {:10.2f} {:9,d} {:9,d} {:12,d} {:12,d}".format(
d, npos, nneg, e10, e20))Single source and citation
Fan, Y. (2026). Autonomic Sympathovagal Balance, Six-Meridian State-Space Models and Multimodal Biomarker Inversion (Version 1.0.0), Chapter 8: Practice: Accuracy Studies, Test-Retest Reliability and Pre-Registration. 5D Library. https://doi.org/10.5281/zenodo.24090227
DOI: 10.5281/zenodo.24090227 · Read the monograph · 5DL-B-086 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026086,
author = {Fan, Yafu},
title = {Autonomic Sympathovagal Balance, Six-Meridian State-Space Models and Multimodal Biomarker Inversion},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090227},
url = {https://doi.org/10.5281/zenodo.24090227}
}Other chapter answers in this book
- Chapter 1 · The Heart-Rate Variability Spectrum and the Limits of "Sympathovagal Balance"
- Chapter 2 · A Two-Compartment Model of Sympathetic and Vagal Tone, and Five Regimes
- Chapter 3 · Drift in the Temperature Rhythm and the Core-to-Fingertip Gradient
- Chapter 4 · The Six Stages as a Hidden Markov State Space
- Chapter 5 · A Three-Modality Screen as a Bayesian Inverse Problem
- Chapter 6 · Limits of Measurement: Camera Jitter and the Predictive Value of a Screen
- Chapter 7 · The Six-Stage Outlines, the Pulse Forms of the *Maijing* and the Fifty Circuits of the *Lingshu*