What does Autonomic Balance, Six Stages and Multimodal Inversion conclude, in numbers, about “A Two-Compartment Model of Sympathetic and Vagal Tone, and Five Regimes”?
Answer: Chapter 2 builds a two-compartment model of sympathetic and vagal activity: under sympathetic overload RMSSD can even rise, and five regimes are classified correctly 0.783 of the time from heart rate and RMSSD, reaching 0.876 only with recovery after a stressor.
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 onlyprinted values that match the answer: 0.783, 0.876
HR + RMSSD correct 0.783
most common mix-up: baroreflex collapse read as balanced (0.238)
HR + RMSSD + recovery correct 0.876
most common mix-up: baroreflex collapse read as balanced (0.130)Key formula
Show the full program
# Chapter 2. p04: Can a short recording tell the five regimes of p03
# apart? Each simulated person sits at a regime's resting point, with
# person-to-person spread and 3-minute measurement noise: HR sd 5 bpm,
# RMSSD sd 7 ms, recovery time sd 1.2. A nearest-centre rule (scaled by
# those sds) assigns the regime. Compared: resting HR and RMSSD only,
# and the same plus the recovery time after a standard stressor
# (for example a timed breathing or stand-up test). 2,000 people per
# regime, seed 86.
import importlib.util
import random
def load(name):
spec = importlib.util.spec_from_file_location(name, name + ".py")
m = importlib.util.module_from_spec(spec)
spec.loader.exec_module(m)
return m
p03 = load("p03_two_compartment")
SD = (5.0, 7.0, 1.2)
def centres():
out = []
for name, uS, uV, g in p03.REGIMES:
(S, V), back = p03.run(uS, uV, g)
out.append((name, (70 + 40 * S - 25 * V, 12 + 40 * V - 6 * S,
back)))
return out
def classify(x, cs, k):
return min(range(len(cs)), key=lambda j: sum(
((x[i] - cs[j][1][i]) / SD[i]) ** 2 for i in range(k)))
if __name__ == "__main__":
rng = random.Random(86)
cs = centres()
for k, label in ((2, "HR + RMSSD"), (3, "HR + RMSSD + recovery")):
hits, conf = 0, {}
for j, (name, c) in enumerate(cs):
for _ in range(2000):
x = [c[i] + rng.gauss(0, SD[i]) for i in range(3)]
g = classify(x, cs, k)
hits += g == j
conf[(j, g)] = conf.get((j, g), 0) + 1
print(" {:<22} correct {:.3f}".format(label, hits / 10000))
worst = max(((a, b) for (a, b) in conf if a != b), key=conf.get)
print(" most common mix-up: {} read as {} ({:.3f})".format(
cs[worst[0]][0], cs[worst[1]][0], conf[worst] / 2000))Single source and citation
Fan, Y. (2026). Autonomic Sympathovagal Balance, Six-Meridian State-Space Models and Multimodal Biomarker Inversion (Version 1.0.0), Chapter 2: A Two-Compartment Model of Sympathetic and Vagal Tone, and Five Regimes. 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 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*
- Chapter 8 · Practice: Accuracy Studies, Test-Retest Reliability and Pre-Registration