5D Library › Interoceptive Decoupling, Salience-Network Switching and Autonomic Visceral Restoration · 中文
Chapter 6. The Composite Model, Non-Identifiability and Case Evidence
The previous five chapters examined the links one at a time. This chapter joins them into one model and then does three things: shows that the model’s conclusions are an arithmetic consequence of its own assumptions; proves that its key parameter cannot be identified from the measurement the original claim relies on; and analyses what a “desensitisation case” can support.
The chain as one model
Three states, three first-order equations. A higher-order precision relaxes toward a target set by practice; a defensive drive is raised by precision-weighted threat appraisal and decays at rate ; a visceral conductance falls with and relaxes toward its ceiling.
is a sequence of appraisal pulses from inner events, identical in every run. This is the author’s model, and every arrow in it is an assumption.
Calculation
# Chapter 6. The author's composite model, written out so it can be
# criticised. Three coupled states, integrated with RK4 (dt = 0.01 s, 600 s):
# higher-order precision pi(t) - driven toward a set point pi_set by
# "practice" defensive drive S(t) - raised by precision-weighted
# threat appraisal,
# decays with rate rS
# visceral conductance G(t) - falls with S (alpha-adrenergic), relaxes
# to Gmax
# dpi/dt = (pi_set - pi) / tau_pi
# dS/dt = aS * pi * A(t) - rS * S
# dG/dt = (Gmax * exp(-kG * S) - G) / tau_G
# A(t) is the stream of inner events (a fixed synthetic sequence of appraisal
# pulses, the same in every run). This is a MODEL: every arrow is an
# assumption, and the program's job is to show which conclusions follow from
# it and which do not.
import math
DT, T_END = 0.01, 600.0
GMAX, KG, TAU_G = 1.0, 0.8, 25.0
AS, RS = 1.0, 0.08
EVENTS = [
(60, 20, 1.0),
(150, 20, 1.4),
(260, 20, 0.8),
(380, 20, 1.6),
(500, 20, 1.0),
]
def appraisal(t):
for t0, dur, amp in EVENTS:
if t0 <= t < t0 + dur:
return amp
return 0.0
def run(pi0, pi_set, tau_pi):
pi, S, G = pi0, 0.0, GMAX
out = []
def f(state, t):
p, s, g = state
return ((pi_set - p) / tau_pi,
AS * p * appraisal(t) - RS * s,
(GMAX * math.exp(-KG * s) - g) / TAU_G)
n = int(T_END / DT)
for i in range(n):
t = i * DT
st = (pi, S, G)
k1 = f(st, t)
k2 = f(tuple(st[j] + DT / 2 * k1[j] for j in range(3)), t + DT / 2)
k3 = f(tuple(st[j] + DT / 2 * k2[j] for j in range(3)), t + DT / 2)
k4 = f(tuple(st[j] + DT * k3[j] for j in range(3)), t + DT)
pi, S, G = (st[j] + DT / 6 * (k1[j] + 2 * k2[j] + 2 * k3[j] + k4[j])
for j in range(3))
out.append((t, pi, S, G))
return out
def summarise(tr):
Ss = [r[2] for r in tr]
Gs = [r[3] for r in tr]
# conductance-seconds lost
auc = math.fsum((GMAX - g) * DT for g in Gs)
return max(Ss), math.fsum(Gs) / len(Gs), min(Gs), auc
if __name__ == "__main__":
print(
"Five appraisal pulses of 20 s each over a 600 s run; identical in"
" every"
)
print("case.")
print(
"\ncase peak S mean G min G "
" lost G.s"
)
cases = [("pi fixed at 1.0 (no practice)", 1.0, 1.0, 1e9),
("pi fixed at 0.5", 0.5, 0.5, 1e9),
("pi fixed at 0.2", 0.2, 0.2, 1e9),
("pi 1.0 -> 0.2, tau 60 s", 1.0, 0.2, 60.0),
("pi 1.0 -> 0.2, tau 300 s", 1.0, 0.2, 300.0),
("pi 1.0 -> 0.2, tau 1200 s", 1.0, 0.2, 1200.0)]
for lab, p0, ps, tp in cases:
pk, mg, mn, auc = summarise(run(p0, ps, tp))
print(
"{:36s} {:7.3f} {:8.3f} {:7.3f} {:9.2f}".format(
lab, pk, mg, mn, auc
)
)
print(
"\nWithin the model, lowering pi lowers peak defensive drive"
" roughly in"
)
print(
"proportion and recovers most of the lost conductance. That is not a"
" finding"
)
print(
"about bodies; it is arithmetic, because pi multiplies the only term"
" that"
)
print("raises S. The model cannot be evidence for its own first arrow.")
print("\nWhat the model gets WRONG if read as physiology, three ways:")
print(
"1. G relaxes to Gmax with tau_G = {:.0f} s and no autoregulation;"
" programme".format(TAU_G)
)
print(" p07 shows flow sensing gives back 34-60 % of such a change.")
print(
"2. S has a single decay rate; real sympathetic outflow to different"
" beds is"
)
print(" not one variable (regional specificity).")
print(
"3. pi enters only multiplicatively, so the model cannot represent"
" the case"
)
print(
" programme p01 found: an alarmed PRIOR, where lowering sensory"
" precision"
)
print(" raises the posterior estimate instead of lowering it.")
print(
"\nThe third point is a genuine failure of this model, so here is the"
" variant"
)
print(
"that admits it: dS/dt = aS * (pi * A + (1 - pi) * B) - rS * S, where"
" B is a"
)
print(
"standing alarmed prior that the higher-order term no longer"
" suppresses."
)
def run_prior(pi_set, B, tau_pi=300.0, pi0=1.0):
pi, S, G = pi0, 0.0, GMAX
n = int(T_END / DT)
Gs, Ss = [], []
for i in range(n):
t = i * DT
dpi = (pi_set - pi) / tau_pi
dS = AS * (pi * appraisal(t) + (1 - pi) * B) - RS * S
dG = (GMAX * math.exp(-KG * S) - G) / TAU_G
pi += DT * dpi
S += DT * dS
G += DT * dG
Gs.append(G)
Ss.append(S)
return max(Ss), math.fsum(Gs) / len(Gs)
print("\n B (standing pi_set 1.0: pi_set 0.2:")
print(" alarmed prior) peak S / mean G peak S / mean G")
for B in (0.0, 0.1, 0.3, 0.6):
a = run_prior(1.0, B)
b = run_prior(0.2, B)
print(" {:14.2f} {:9.3f} / {:7.3f} {:12.3f} / {:7.3f}"
.format(B, a[0], a[1], b[0], b[1]))
print(
"\n With a standing alarmed prior above about 0.3, lowering pi"
" STOPS helping"
)
print(
" and then hurts: the practice removes the term that was"
" suppressing the"
)
print(
" prior. This is the model's own boundary condition, and it is"
" testable."
)
# Five appraisal pulses of 20 s each over a 600 s run; identical in every
# case.
#
# case peak S mean G min G lost G.s
# pi fixed at 1.0 (no practice) 15.960 0.564 0.171 261.74
# pi fixed at 0.5 7.980 0.646 0.257 212.24
# pi fixed at 0.2 3.192 0.770 0.431 138.16
# pi 1.0 -> 0.2, tau 60 s 4.386 0.739 0.367 156.65
# pi 1.0 -> 0.2, tau 300 s 9.299 0.639 0.212 216.75
# pi 1.0 -> 0.2, tau 1200 s 12.557 0.584 0.181 249.65
#
# Within the model, lowering pi lowers peak defensive drive roughly in
# proportion and recovers most of the lost conductance. That is not a finding
# about bodies; it is arithmetic, because pi multiplies the only term that
# raises S. The model cannot be evidence for its own first arrow.
#
# What the model gets WRONG if read as physiology, three ways:
# 1. G relaxes to Gmax with tau_G = 25 s and no autoregulation; programme
# p07 shows flow sensing gives back 34-60 % of such a change.
# 2. S has a single decay rate; real sympathetic outflow to different beds is
# not one variable (regional specificity).
# 3. pi enters only multiplicatively, so the model cannot represent the case
# programme p01 found: an alarmed PRIOR, where lowering sensory precision
# raises the posterior estimate instead of lowering it.
#
# The third point is a genuine failure of this model, so here is the variant
# that admits it: dS/dt = aS * (pi * A + (1 - pi) * B) - rS * S, where B is a
# standing alarmed prior that the higher-order term no longer suppresses.
#
# B (standing pi_set 1.0: pi_set 0.2:
# alarmed prior) peak S / mean G peak S / mean G
# 0.00 15.965 / 0.564 9.301 / 0.639
# 0.10 15.965 / 0.564 9.709 / 0.439
# 0.30 15.965 / 0.564 10.525 / 0.247
# 0.60 15.965 / 0.564 11.749 / 0.152
#
# With a standing alarmed prior above about 0.3, lowering pi STOPS helping
# and then hurts: the practice removes the term that was suppressing the
# prior. This is the model's own boundary condition, and it is testable.The content of the first table is that, inside the model, lowering lowers the peak defensive drive roughly in proportion (15.960 to 3.192) and recovers most of the lost conductance (261.74 to 138.16 conductance-seconds). But that is not a finding about bodies; it is arithmetic: multiplies the only term that raises , so lowering must lower the peak. A model cannot be evidence for its own first arrow. This is a point Volume 33 makes repeatedly, and the reason this book confines a “proof inside a model” to the inside of that model.
The program then lists where this model would be wrong if read as physiology: relaxes toward its ceiling with s and no autoregulation, while program p07 of Chapter 5 shows flow-sensing regulation absorbing 34 % to 60 %; has a single decay rate, while real sympathetic outflow is not one variable (Morrison 2001); and most importantly, enters only multiplicatively, so this model cannot represent the situation of Chapter 1 — an alarmed prior, under which lowering precision raises the estimate.
The last section gives a variant that admits the defect: , where is a standing alarmed prior that the higher-order term no longer suppresses. The result is a boundary condition: at , lowering raises mean conductance from 0.564 to 0.639 (beneficial); at it falls to 0.247, and at to 0.152 (harmful). That is, once the standing alarmed prior exceeds about 0.3, lowering goes from helping to harming, because the practice removes the very term that had been suppressing the prior. This is the model’s own boundary condition, and it is testable — Chapter 8 makes baseline body vigilance a pre-specified effect modifier precisely to test it.
The measurement does not identify the parameter that matters
This is the chapter’s most important result. The original claim uses heart-rate variability to support a conclusion about the viscera and pelvis. Chapter 4 showed these are different anatomical systems. This section writes that as a structural identifiability result: even granting the entire model, cardiac observation cannot in principle determine the parameters of the visceral channel.
Let one latent defensive drive reach two targets by pathways with separate weights:
constrains only the product . The quantity does not appear in at all.
Calculation
# Chapter 6. Structural non-identifiability: the measurement does not pin down
# the claim. In the composite model one latent defensive drive S(t) reaches
# two targets by separate pathways with separate weights:
# cardiac observable H(t) = h0 - cH * (wC * S(t)) <- this is
# what HRV sees visceral conductance G(t) = Gmax * exp(-kG * (wV * S(t)))
# <- this is the claim
# H constrains only the PRODUCT cH*wC. Nothing in H constrains kG*wV. The
# program fits four parameter sets that reproduce the SAME cardiac trace to
# within floating-point error, and reports the visceral conductance each one
# implies. If the traces are identical, no amount of cardiac data can choose
# between them. Synthetic data; author's model; illustrative units.
import math
DT, T_END = 0.05, 600.0
EVENTS = [(60, 30, 1.0), (200, 30, 1.5), (360, 30, 0.9), (500, 30, 1.2)]
H0, RS, AS = 1.000, 0.08, 1.0
def appraisal(t):
for t0, dur, amp in EVENTS:
if t0 <= t < t0 + dur:
return amp
return 0.0
def drive():
S, out = 0.0, []
for i in range(int(T_END / DT)):
t = i * DT
S += DT * (AS * appraisal(t) - RS * S)
out.append(S)
return out
def cardiac(S, cH, wC):
return [H0 - cH * wC * s for s in S]
def visceral(S, kG, wV, gmax=1.0):
return [gmax * math.exp(-kG * wV * s) for s in S]
def rmse(a, b):
return math.sqrt(math.fsum((x - y) ** 2 for x, y in zip(a, b)) / len(a))
if __name__ == "__main__":
S = drive()
print("One latent drive S(t), peak {:.3f}, mean {:.3f}"
.format(max(S), math.fsum(S) / len(S)))
# the "truth" used to generate the observed cardiac trace
H_obs = cardiac(S, cH=0.040, wC=1.00)
print(
"Observed cardiac index: baseline {:.3f}, minimum {:.3f}, mean"
" {:.3f}\n".format(
H_obs[0], min(H_obs), math.fsum(H_obs) / len(H_obs)
)
)
print(
"Four parameter sets. cH*wC is held at 0.040 in all four, so"
" every one"
)
print("reproduces the observed cardiac trace exactly; kG*wV is free.\n")
print(" cH wC cH*wC cardiac RMSE kG wV kG*wV"
" mean G min G")
sets = [(0.040, 1.00, 0.80, 1.00),
(0.080, 0.50, 0.80, 0.50),
(0.020, 2.00, 0.80, 2.00),
(0.040, 1.00, 0.05, 1.00)]
rows = []
for cH, wC, kG, wV in sets:
H = cardiac(S, cH, wC)
G = visceral(S, kG, wV)
mg = math.fsum(G) / len(G)
rows.append((kG * wV, mg, min(G)))
print(
" {:5.3f} {:6.2f} {:7.3f} {:14.2e} {:5.2f} {:5.2f} {:7.2f}"
" {:7.3f} {:6.3f}".format(
cH, wC, cH * wC, rmse(H, H_obs), kG, wV, kG * wV, mg, min(G)
)
)
lo = min(r[1] for r in rows)
hi = max(r[1] for r in rows)
print(
"\nEvery cardiac RMSE is at the level of floating-point error, so the"
" four are"
)
print(
"the SAME observation. The mean visceral conductance they imply"
" ranges from"
)
print(
"{:.3f} to {:.3f}, a factor of {:.1f}, and the minimum from {:.3f} to"
" {:.3f}.".format(
lo, hi, hi / lo, min(r[2] for r in rows), max(r[2] for r in rows)
)
)
print(
"\nWhat would break the tie: a direct measurement of the visceral"
" bed, taken"
)
print(
"at the same time as the cardiac one. Without it, 'HRV rose,"
" therefore"
)
print(
"visceral perfusion was restored' is not an inference; it is the"
" assumption"
)
print("kG*wV = cH*wC, written as if it had been measured.")
print(
"\nA second, weaker claim IS identifiable from H alone: the TIMING"
" of S."
)
peak_i = min(range(len(H_obs)), key=lambda i: H_obs[i])
print(" time of maximum drive from the cardiac trace: {:.1f} s"
.format(peak_i * DT))
print(" (true value by construction: {:.1f} s)".format(
max(range(len(S)), key=lambda i: S[i]) * DT))
print(
" So the cardiac channel can time the response and order two"
" conditions,"
)
print(" which is what the Chapter 8 protocol asks of it, and no more.")
# One latent drive S(t), peak 17.057, mean 2.874
# Observed cardiac index: baseline 1.000, minimum 0.318, mean 0.885
#
# Four parameter sets. cH*wC is held at 0.040 in all four, so every one
# reproduces the observed cardiac trace exactly; kG*wV is free.
#
# cH wC cH*wC cardiac RMSE kG wV kG*wV mean G min G
# 0.040 1.00 0.040 0.00e+00 0.80 1.00 0.80 0.568 0.000
# 0.080 0.50 0.040 0.00e+00 0.80 0.50 0.40 0.636 0.001
# 0.020 2.00 0.040 0.00e+00 0.80 2.00 1.60 0.506 0.000
# 0.040 1.00 0.040 0.00e+00 0.05 1.00 0.05 0.884 0.426
#
# Every cardiac RMSE is at the level of floating-point error, so the four are
# the SAME observation. The mean visceral conductance they imply ranges from
# 0.506 to 0.884, a factor of 1.7, and the minimum from 0.000 to 0.426.
#
# What would break the tie: a direct measurement of the visceral bed, taken
# at the same time as the cardiac one. Without it, 'HRV rose, therefore
# visceral perfusion was restored' is not an inference; it is the assumption
# kG*wV = cH*wC, written as if it had been measured.
#
# A second, weaker claim IS identifiable from H alone: the TIMING of S.
# time of maximum drive from the cardiac trace: 230.0 s
# (true value by construction: 230.0 s)
# So the cardiac channel can time the response and order two conditions,
# which is what the Chapter 8 protocol asks of it, and no more.The four parameter sets hold at 0.040 and therefore reproduce the observed cardiac trace to within floating-point error (residual 0.00e+00) — they are the same observation. And the mean visceral conductances they imply range from 0.506 to 0.884, a factor of 1.7, with minima from 0.000 to 0.426.
This is not a problem of insufficient data, nor of excessive noise. It is structural: no cardiac recording, however long or however precise, can choose among these four, because they predict identical cardiac data. Hence
“Heart-rate variability rose, so visceral perfusion was restored” is not an inference but the assumption written as if it had been measured.
The program’s last section gives what the cardiac channel can identify: the timing of the response. The moment of maximum drive read off the cardiac trace (230.0 s) matches the constructed truth exactly. So the cardiac channel can time a response and order two conditions, and that is all Chapter 8 asks of it.
Note
This does not say heart-rate variability is useless. It is a measurement with standards, reference values and clinical meaning (Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology 1996; Shaffer and Ginsberg 2017). What this section says is that it cannot substitute for a measurement of another system. Breaking the tie above requires a direct measurement of the visceral bed taken simultaneously with the cardiac one; absent that, a conclusion about the viscera can only be stated as an assumption, and marked as one.
Hypothesis · not established
The author’s hypothesis (not established): when cardiac vagal indices and peripheral perfusion indices are measured simultaneously in the same participants, their within-person temporal correlation is low (say ), so the former cannot serve as a proxy for the latter. What would show it to be wrong: in a pre-registered study recording both, finding that the lower bound of the 95 % confidence interval for the pooled within-person correlation exceeds 0.5, and replicating that in an independent sample, would refute it.
Analysis of covariance and the baseline
Before turning to case evidence, the analysis method has to be settled, because it determines every number in Chapter 8.
Evidence
Why analysis of covariance. Vickers and Altman compared several ways of handling controlled trials with baseline and follow-up measurements and found analysis of covariance with the baseline as covariate superior to comparing change scores or comparing endpoints (Vickers and Altman 2001). Senn re-examined the relation between “change from baseline” and analysis of covariance and set out the justification for conditioning on the baseline in a randomised trial (Senn 2006). Barnett, van der Pols and Dobson explain the origin of regression to the mean and how to handle it (Barnett, Pols, and Dobson 2005).
These three have one consequence in common for this book: any analysis that compares before and after practice is uninterpretable, because the time at which practice begins is correlated with the direction of regression to the mean. The next section quantifies that.
What a desensitisation case can support
The original claim is often supported by cases: someone’s symptoms eased after some weeks of practice. This section simulates that form of evidence under a generator with no treatment effect at all. The generator contains three things, all structural: autocorrelation (AR(1), ), entry into practice when the state is poor (a selection effect, threshold +1.2 SD), and spontaneous drift toward the population mean.
Calculation
# Chapter 6. The desensitisation case analysis, and why a single case cannot
# carry it. A synthetic AB design: 14 daily baseline ratings, then 28 ratings
# "on practice". There is NO treatment effect anywhere in the generator. What
# there is: (a) an autocorrelated series (AR(1), phi = 0.6), (b) entry at a
# high point, because people start practising when things are bad -- the
# selection that produces regression to the mean, and (c) a slow spontaneous
# drift toward the population mean. The program reports how often the naive
# comparison of phase means "finds" an improvement, and what the correct tests
# do. Synthetic data; fixed seed; standard library only.
import math
import random
from statistics import NormalDist
N_A, N_B, PHI, SD = 14, 28, 0.6, 1.0
# population mean rating; entry when the level exceeds +1.2 SD
MU, ENTRY = 5.0, 1.2
def one_case(rng, drift_per_day=0.0, true_effect=0.0):
# burn in until the series is above the entry threshold, then start the
# baseline
x = rng.gauss(0, SD)
for _ in range(200):
x = PHI * x + rng.gauss(0, SD * math.sqrt(1 - PHI ** 2))
tries = 0
while x < ENTRY * SD and tries < 10000:
x = PHI * x + rng.gauss(0, SD * math.sqrt(1 - PHI ** 2))
tries += 1
a, b = [], []
for i in range(N_A):
a.append(MU + x)
x = PHI * x + rng.gauss(0, SD * math.sqrt(1 - PHI ** 2))
for i in range(N_B):
b.append(MU + x - true_effect + drift_per_day * i)
x = PHI * x + rng.gauss(0, SD * math.sqrt(1 - PHI ** 2))
return a, b
def mean(v):
return math.fsum(v) / len(v)
def naive_t(a, b):
"""Independent-samples t, the comparison a case report usually makes."""
na, nb = len(a), len(b)
ma, mb = mean(a), mean(b)
va = math.fsum((x - ma) ** 2 for x in a) / (na - 1)
vb = math.fsum((x - mb) ** 2 for x in b) / (nb - 1)
sp = ((na - 1) * va + (nb - 1) * vb) / (na + nb - 2)
se = math.sqrt(sp * (1 / na + 1 / nb))
return (ma - mb) / se if se > 0 else 0.0
def eff_n(n, phi):
"""Effective sample size of an AR(1) mean; the naive t ignores this."""
return n * (1 - phi) / (1 + phi)
if __name__ == "__main__":
rng = random.Random(1979)
REPS = 4000
T_CRIT = 2.021 # t, 40 df, two-sided 0.05
hits = drops = 0
diffs = []
for _ in range(REPS):
a, b = one_case(rng)
d = mean(a) - mean(b)
diffs.append(d)
t = naive_t(a, b)
hits += t > T_CRIT
drops += d > 0
print(
"NO treatment effect in the generator; AR(1) phi = {:.1f}; entry"
" above +{:.1f} SD.".format(PHI, ENTRY)
)
print(
" phase-A mean minus phase-B mean, average over {} cases:"
" {:+.3f} SD".format(REPS, mean(diffs))
)
print(
" cases showing ANY improvement: {:.1%}".format(
drops / REPS
)
)
print(
" cases 'significant' by the naive t test: {:.1%} (nominal 2.5%)"
.format(hits / REPS)
)
print(
"\nThe apparent improvement is {:+.3f} SD on average with no effect"
" present,".format(mean(diffs))
)
print(
"and the naive test declares a benefit in {:.0%} of cases. Two"
" causes, both".format(hits / REPS)
)
print(
"structural: entry at a high point guarantees the baseline is"
" above the"
)
print(
"person's own mean, and autocorrelation means the {} baseline"
" points are".format(N_A)
)
print(
"worth only about {:.1f} independent observations (and the {}"
" practice points".format(eff_n(N_A, PHI), N_B)
)
print("about {:.1f}), so the naive standard error is far too small."
.format(eff_n(N_B, PHI)))
print("\nWhat the same design finds when there IS an effect of 0.5 SD:")
rng2 = random.Random(1980)
hits2 = sum(naive_t(*one_case(rng2, true_effect=0.5)) > T_CRIT
for _ in range(REPS))
tpr, fpr = hits2 / REPS, hits / REPS
print(
" 'significant' in {:.1%} of cases, against {:.1%} with no effect"
" at all.".format(tpr, fpr)
)
print(
" So a 'significant' single case is about {:.1f} times more likely"
" when a".format(tpr / fpr)
)
print(
" 0.5 SD effect is present than when nothing is: a likelihood"
" ratio of"
)
print(
" about {:.1f}, which on any reading is weak evidence. The design"
" does not".format(tpr / fpr)
)
print(
" separate a real half-SD effect from the structural artefacts"
" above."
)
print(
"\nWhat a single case CAN establish, and what the Chapter 8 checklist"
" asks"
)
print(
"for instead: a randomised multiple-baseline or ABAB design with the"
" phase"
)
print(
"change times decided in advance by someone else, a pre-specified"
" outcome,"
)
print(
"and a randomisation test that respects the autocorrelation. The"
" program"
)
print("below runs that randomisation test on one series with no effect.")
rng3 = random.Random(1981)
a, b = one_case(rng3)
series = a + b
obs = mean(a) - mean(b)
# randomisation test over admissible change points, 8 .. 34
stats = []
for cp in range(8, len(series) - 7):
stats.append(mean(series[:cp]) - mean(series[cp:]))
p = sum(1 for s in stats if s >= obs) / len(stats)
print(
" observed A-minus-B difference: {:+.3f}; randomisation p = {:.3f}"
.format(obs, p)
)
print(
" over {} admissible change points. A p value near 1/{} is the"
" floor this".format(len(stats), len(stats))
)
print(
" test can reach, which is itself a limit on what one case can"
" show."
)
# NO treatment effect in the generator; AR(1) phi = 0.6; entry above +1.2 SD.
# phase-A mean minus phase-B mean, average over 4000 cases: +0.294 SD
# cases showing ANY improvement: 69.4%
# cases 'significant' by the naive t test: 28.5% (nominal 2.5%)
#
# The apparent improvement is +0.294 SD on average with no effect present,
# and the naive test declares a benefit in 28% of cases. Two causes, both
# structural: entry at a high point guarantees the baseline is above the
# person's own mean, and autocorrelation means the 14 baseline points are
# worth only about 3.5 independent observations (and the 28 practice points
# about 7.0), so the naive standard error is far too small.
#
# What the same design finds when there IS an effect of 0.5 SD:
# 'significant' in 61.6% of cases, against 28.5% with no effect at all.
# So a 'significant' single case is about 2.2 times more likely when a
# 0.5 SD effect is present than when nothing is: a likelihood ratio of
# about 2.2, which on any reading is weak evidence. The design does not
# separate a real half-SD effect from the structural artefacts above.
#
# What a single case CAN establish, and what the Chapter 8 checklist asks
# for instead: a randomised multiple-baseline or ABAB design with the phase
# change times decided in advance by someone else, a pre-specified outcome,
# and a randomisation test that respects the autocorrelation. The program
# below runs that randomisation test on one series with no effect.
# observed A-minus-B difference: +0.913; randomisation p = 0.704
# over 27 admissible change points. A p value near 1/27 is the floor this
# test can reach, which is itself a limit on what one case can show.The result: with no treatment effect whatever, the baseline-phase mean minus the practice-phase mean averages +0.294 SD, 69.4 % of cases show “improvement”, and a naive two-sample t test declares a benefit in 28.5 % of cases (nominal level 2.5 %). There are two causes, both structural: entering at a high point guarantees that the baseline lies above the person’s own mean; and autocorrelation means the 14 baseline points are worth only about 3.5 independent observations and the 28 practice points about 7.0.
And when an effect really is present? With a true effect of 0.5 SD the figure is 61.6 %. So a “significant case” is only about 2.2 times more likely when a half-standard-deviation effect is present than when nothing is — a likelihood ratio of 2.2, weak evidence on any reading.
Note
What a case can do. None of this says cases are useless. Kazdin sets out single-case designs systematically (Kazdin 2011), and Edgington and Onghena give the randomisation-test methods (Edgington and Onghena 2007). The usable approach is a randomised multiple-baseline or ABAB design with phase-change times decided in advance by someone else, a pre-specified outcome, and a randomisation test that respects the autocorrelation. The program runs such a test on one no-effect series at the end: the observed A-minus-B difference is +0.913 and the randomisation over 27 admissible change points. Note that is the floor this test can reach, which is itself an upper bound on the evidence one person’s data can supply.
Summary
Joined into a three-state model, “lowering higher-order precision lowers defensive drive and recovers conductance” holds inside the model — but that is arithmetic, since multiplies the only term that raises , not a finding about bodies. The model has three known defects, the most important being that it cannot represent the situation of Chapter 1; the variant that admits this yields a testable boundary condition, namely that once a standing alarmed prior exceeds about 0.3, lowering goes from helping to harming. Structural identifiability gives the chapter’s main result: four parameter sets reproduce the same cardiac trace to within floating-point error while implying mean visceral conductances from 0.506 to 0.884 and minima from 0.000 to 0.426, so “HRV rose, hence visceral perfusion was restored” writes an assumption as a measurement; what the cardiac channel identifies is only the timing of the response. Finally, under a generator with no effect at all, an AB case design yields an average “improvement” of +0.294 SD because of entry-time selection and autocorrelation, with a naive test declaring benefit in 28.5 % of cases against 61.6 % under a true 0.5 SD effect: a likelihood ratio of about 2.2.
References
Fan, Y. (2026). Interoceptive Decoupling, Salience-Network Switching and Autonomic Visceral Restoration: From Precision-Weighting in the Default Mode Network and the Redistribution of Vagal Tone to the Neurophenomenology of a Non-Judgmental Imagery Stream, with a Textual Examination of neiguan in the Huangdi Neijing [内感受解离、突显网络切换与内脏自主神经修复] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24020418 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).