What does Autonomic Balance, Six Stages and Multimodal Inversion conclude, in numbers, about “A Three-Modality Screen as a Bayesian Inverse Problem”?

Answer: Chapter 5 writes a three-modality screen as a Bayesian inverse problem: the error falls from 0.532 with the questionnaire alone to 0.298, but with correlated modalities naive Bayes claims 0.707 certainty while being right only 0.655 of the time.

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.298, 0.655, 0.707

rhonaive errorcorrect errornaive claimsnaive right
0.00.2980.2980.6990.702
0.30.3330.3210.7040.667
0.60.3450.2900.7070.655
Show the full program
# Chapter 5. p10: When the three modalities share a cause. General
# arousal (sleep, caffeine, the stress of being measured) moves all three
# scores of p09 together: each score = class mean + shared factor + own
# noise, with correlation rho between scores and sd still 1. Compared:
# the naive rule that multiplies likelihoods as if independent, and the
# correct rule using the equicorrelated covariance, whose inverse is
# (I - rho/(1 + 2 rho) J) / (1 - rho). Reported: error, and how sure the
# naive rule claims to be (mean top posterior) against how often it is
# right. 30,000 people per rho, seed 86.
import importlib.util
import random
from math import exp

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

p09 = load("p09_three_modes")

def post_corr(x, rho):
    a = rho / (1 + 2 * rho)
    w = {}
    for c, m in p09.MEANS.items():
        d = [x[i] - m[i] for i in range(3)]
        q = (sum(v * v for v in d) - a * sum(d) ** 2) / (1 - rho)
        w[c] = exp(-0.5 * q)
    z = sum(w.values())
    return {c: v / z for c, v in w.items()}

if __name__ == "__main__":
    rng = random.Random(86)
    print("   rho   naive error  correct error  naive claims  naive right")
    for rho in (0.0, 0.3, 0.6):
        e1 = e2 = claim = 0.0
        n = 0
        for _ in range(10000):
            for c in "ABC":
                x = p09.draw(rng, c, rho)
                pn = p09.post(x, (0, 1, 2))
                pc = post_corr(x, rho)
                top = max(pn, key=pn.get)
                e1 += top != c
                e2 += max(pc, key=pc.get) != c
                claim += pn[top]
                n += 1
        print("   {:.1f}  {:11.3f}  {:13.3f}  {:12.3f}  {:11.3f}".format(
            rho, e1 / n, e2 / n, claim / n, 1 - e1 / n))

Single source and citation

Fan, Y. (2026). Autonomic Sympathovagal Balance, Six-Meridian State-Space Models and Multimodal Biomarker Inversion (Version 1.0.0), Chapter 5: A Three-Modality Screen as a Bayesian Inverse Problem. 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