What does Interoceptive Decoupling and Autonomic Restoration conclude, in numbers, about “Practice and a Pre-Registered Test”?
Answer: Chapter 8 gives a four-step checklist and a pre-registered two-arm trial against a matched external-focus control (primary outcome the week-6 body-vigilance score; smallest effect of interest 0.35 SD; 195 randomised per arm, 390 in all), with a negative-control outcome for generic expectancy. Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's models and hypotheses; apart from cited literature data, all data in the book are synthetic.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's models and hypotheses; apart from cited literature data, all data in the book are synthetic.
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.35, 195, 390
outcome = mean of 2 occasions; single-occasion reliability 0.75 -> 0.857 normal theory: n = 129.051 -> 130 per arm (attenuated d = 0.324) simulation with integer scores, a floor at 0 and the screening cut-off at 28: n = 130/arm: power 0.847 (s.e. 0.009); treated arm at floor 0.1% n = 150/arm: power 0.893 (s.e. 0.008); treated arm at floor 0.1% n = 165/arm: power 0.915 (s.e. 0.007); treated arm at floor 0.1% n = 180/arm: power 0.946 (s.e. 0.006); treated arm at floor 0.1% smallest n with power - 2 s.e. >= 0.90: 165 error rate there with no effect: 0.021 against a nominal 0.025, since the simulated rejection counts only the favourable direction against a two-sided critical value; the reported trial test is two-sided at 0.05. planned: 165 analysable per arm; 15 % loss -> 195 randomised per arm, 390 in all sensitivity, analysable per arm (normal theory, reliability 0.86): SESOI \ rho_base 0.4 0.6 0.8 0.25 SD 331 253 143 0.35 SD 170 130 74 0.50 SD 84 64 37 The trial is powered for the PRIMARY comparison only. The pre-specified negative-control outcome (a measure the framework predicts should NOT change) is reported with its interval and is not powered; its role is to show whether a generic expectancy effect moved everything, and a change there of similar size to the primary effect voids the primary claim.
Show the full program
# Chapter 8. Sample size for the pre-registered two-arm trial. Single primary
# comparison: non-judgmental interoceptive attention against a structurally
# matched external-focus control. Single primary outcome: body-vigilance score
# at week 6 by ANCOVA (baseline score, site). Planning assumptions: SESOI 0.35
# SD, baseline-outcome correlation 0.60, single-occasion reliability 0.75,
# outcome = mean of 2 occasions, two-sided 0.05, 90 % power. Normal theory
# first, then a simulation with an integer-scored scale, a floor, and the
# screening cut-off that selects participants into the trial.
import math
import random
from statistics import NormalDist
Z = NormalDist().inv_cdf
D, RHO_BASE, REL1, K_OCC = 0.35, 0.60, 0.75, 2
ITEMS, ITEM_MAX = 12, 6 # 12 items scored 0-6: range 0-72
# screening cut-off for elevated vigilance
SCREEN_MIN = 28
def reliability(k):
return k * REL1 / (1 + (k - 1) * REL1)
def n_formula(d=D, rho_xx=1.0, rho_base=RHO_BASE, power=0.90, alpha=0.05):
d_obs = d * math.sqrt(rho_xx)
za, zb = Z(1 - alpha / 2), Z(power)
return 2 * (za + zb) ** 2 * (1 - rho_base ** 2) / d_obs ** 2 + za ** 2 / 4
def invert3(S):
a, b, c = S[0]
d, e, f = S[1]
g, h, i = S[2]
det = a * (e * i - f * h) - b * (d * i - f * g) + c * (d * h - e * g)
return [
[(e * i - f * h) / det, (c * h - b * i) / det, (b * f - c * e) / det],
[(f * g - d * i) / det, (a * i - c * g) / det, (c * d - a * f) / det],
[(d * h - e * g) / det, (b * g - a * h) / det, (a * e - b * d) / det],
]
# population before screening, scale points
TRUE_MEAN, TRUE_SD = 26.0, 9.0
def one_trial(rng, n, delta_sd):
"""delta_sd is the true effect in SD units, applied to the treated arm."""
rows = []
delta = delta_sd * TRUE_SD
err_sd = TRUE_SD * math.sqrt(1 - RHO_BASE ** 2)
meas_sd = TRUE_SD * math.sqrt((1 - REL1) / REL1 / K_OCC)
for arm in (1, 0):
got = 0
while got < n:
lat_b = rng.gauss(TRUE_MEAN, TRUE_SD)
obs_b = lat_b + rng.gauss(0, meas_sd)
b = min(ITEMS * ITEM_MAX, max(0, round(obs_b)))
if b < SCREEN_MIN:
continue # screened out, as in the real trial
lat_y = (TRUE_MEAN + RHO_BASE * (lat_b - TRUE_MEAN)
- delta * arm + rng.gauss(0, err_sd))
y = min(
ITEMS * ITEM_MAX, max(0, round(lat_y + rng.gauss(0, meas_sd)))
)
rows.append((arm, b, y))
got += 1
n2 = len(rows)
mb = math.fsum(r[1] for r in rows) / n2
X = [(1.0, float(r[0]), r[1] - mb) for r in rows]
Y = [float(r[2]) for r in rows]
S = [
[math.fsum(x[i] * x[j] for x in X) for j in range(3)]
for i in range(3)
]
v = [math.fsum(x[i] * y for x, y in zip(X, Y)) for i in range(3)]
inv = invert3(S)
beta = [math.fsum(inv[i][j] * v[j] for j in range(3)) for i in range(3)]
res = [
y - math.fsum(bb * xx for bb, xx in zip(beta, x))
for x, y in zip(X, Y)
]
s2 = math.fsum(r * r for r in res) / (n2 - 3)
df = n2 - 3
z = Z(0.975)
# Cornish-Fisher t quantile
tcrit = z + (z ** 3 + z) / (4 * df)
# sign: lower score is better
t = -beta[1] / math.sqrt(s2 * inv[1][1])
at_floor = sum(1 for r in rows if r[0] == 1 and r[2] == 0) / n
return t > tcrit, at_floor
if __name__ == "__main__":
rel = reliability(K_OCC)
print(
"outcome = mean of {} occasions; single-occasion reliability {:.2f}"
" -> {:.3f}".format(K_OCC, REL1, rel)
)
n0 = n_formula(rho_xx=rel)
print("normal theory: n = {:.3f} -> {} per arm (attenuated d = {:.3f})"
.format(n0, math.ceil(n0), D * math.sqrt(rel)))
rng = random.Random(2026)
chosen = None
print("\nsimulation with integer scores, a floor at 0 and the screening")
print("cut-off at {}:".format(SCREEN_MIN))
for n in (math.ceil(n0), 150, 165, 180):
res = [one_trial(rng, n, D) for _ in range(1500)]
pw = sum(r[0] for r in res) / len(res)
se = math.sqrt(pw * (1 - pw) / len(res))
fl = math.fsum(r[1] for r in res) / len(res)
print(
" n = {:3d}/arm: power {:.3f} (s.e. {:.3f}); treated arm at"
" floor {:.1%}".format(n, pw, se, fl)
)
if chosen is None and pw - 2 * se >= 0.90:
chosen = n
if chosen is None:
chosen = 180
t1 = sum(one_trial(rng, chosen, 0.0)[0] for _ in range(1500)) / 1500
print(" smallest n with power - 2 s.e. >= 0.90: {}".format(chosen))
print(
" error rate there with no effect: {:.3f} against a nominal 0.025,"
" since".format(t1)
)
print(
" the simulated rejection counts only the favourable direction"
" against a"
)
print(
" two-sided critical value; the reported trial test is two-sided at"
" 0.05."
)
plan = math.ceil(chosen / 0.85)
print(
"\nplanned: {} analysable per arm; 15 % loss -> {} randomised"
"\nper arm, {} in all".format(chosen, plan, 2 * plan)
)
print(
"\nsensitivity, analysable per arm (normal theory, reliability"
" {:.2f}):".format(rel)
)
print(" SESOI \\ rho_base 0.4 0.6 0.8")
for d in (0.25, 0.35, 0.50):
print(" {:4.2f} SD ".format(d) + "".join(
"{:8d}".format(math.ceil(n_formula(d=d, rho_xx=rel, rho_base=r)))
for r in (0.4, 0.6, 0.8)))
print(
"\nThe trial is powered for the PRIMARY comparison only. The"
" pre-specified"
)
print(
"negative-control outcome (a measure the framework predicts"
" should NOT"
)
print(
"change) is reported with its interval and is not powered; its role"
" is to"
)
print(
"show whether a generic expectancy effect moved everything, and a"
" change"
)
print(
"there of similar size to the primary effect voids the primary claim."
)Single source and citation
Fan, Y. (2026). Interoceptive Decoupling, Salience-Network Switching and Autonomic Visceral Restoration (Version 1.0.0), Chapter 8: Practice and a Pre-Registered Test. 5D Library. https://doi.org/10.5281/zenodo.24020418
DOI: 10.5281/zenodo.24020418 · Read the monograph · 5DL-B-053 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026053,
author = {Fan, Yafu},
title = {Interoceptive Decoupling, Salience-Network Switching and Autonomic Visceral Restoration},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24020418},
url = {https://doi.org/10.5281/zenodo.24020418}
}Other chapter answers in this book
- Chapter 1 · Interoception and Precision: The First Link Runs Backwards
- Chapter 2 · Switching Between Networks: Dwell Time and Its Cost
- Chapter 3 · The Non-Judgmental Imagery Stream: Trading Errors, Not Gaining Information
- Chapter 4 · Two Autonomic Outflows: The Vagus Does Not Reach the Pelvis
- Chapter 5 · How Much Can Blood Flow Change: The Fourth Power and Autoregulation
- Chapter 6 · The Composite Model, Non-Identifiability and Case Evidence