What does Fermentation, Competition and Colonisation conclude, in numbers, about “Closing the Loop: A Scorecard, a Compliant Template and a Pre-Registered Protocol”?

Answer: Chapter 8 closes the loop with a product-description template free of body-effect wording, a four-week diversity scorecard, and a pre-registered protocol aimed at 13.1865. The book contains 18 runnable programs.

Scope of the numbers: Under the book's illustrative parameters that number is -0.2900 a day, so a capsule strain is merely carried, passively, while dosing continues, at a standing carriage of 0.0690 and with a half-life of 2.39 days once it stops. Parameters are illustrative; every calculation is generated by the book's programs; the book is not medical advice, claims no effect, and any self-experiment should be preceded by consulting a licensed physician.

中文版

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: 13.1865

predicted gain at 6.30 servings for ten weeks13.1865
spread of change effect (SD) people needed
10.01.3187 4.5
15.00.8791 10.2
20.00.6593 18.1
25.00.5275 28.2
30.00.4396 40.6
people smallest gain visible at spread 20
2012.5291
3010.2299
408.8594
607.2337
refutation rule: with 40 people and spread 20, an
upper confidence limit below 13.1865 taxa leaves the
model without the gain it predicts
half intake predicts 5.9171 taxa, so a flat result at
3.00 servings and a gain at 6.30 is the dose-response
pattern the model stands or falls by
Show the full program
# Chapter 8. p82: Sizing the test before running it. The model of
# p42 predicts a richness gain after ten weeks; with an assumed
# spread of individual change, this gives the number of people a
# within-person test needs, the smallest gain a given number can
# see, and the reading that would refute the model.
# Illustrative spreads; the effect comes from the model, not data.
import math

ALPHA, POWER = 0.05, 0.80
POOL, LOSS = 400.0, 0.010
A0, B = 0.0042115, 0.0001862
R0 = 120.0


def phi(z):
    return 0.5 * (1.0 + math.erf(z / math.sqrt(2.0)))


def zq(p, lo=-10.0, hi=10.0):
    for _ in range(200):
        mid = 0.5 * (lo + hi)
        if phi(mid) < p:
            lo = mid
        else:
            hi = mid
    return 0.5 * (lo + hi)


def richness_after(serv, days=70.0):
    a = A0 + B * serv
    eq = a * POOL / (a + LOSS)
    return eq + (R0 - eq) * math.exp(-(a + LOSS) * days)


if __name__ == "__main__":
    z = zq(1.0 - ALPHA / 2.0) + zq(POWER)
    eff = richness_after(6.3) - R0
    print("predicted gain at 6.30 servings for ten weeks: {:.4f}"
          .format(eff))
    print("   spread of change   effect (SD)   people needed")
    for sd in (10.0, 15.0, 20.0, 25.0, 30.0):
        d = eff / sd
        print("   {:16.1f}   {:11.4f}   {:13.1f}"
              .format(sd, d, (z / d) ** 2))
    print("   people   smallest gain visible at spread 20")
    for n in (20, 30, 40, 60):
        print("   {:6d}   {:11.4f}".format(n, z * 20.0 / math.sqrt(n)))
    print("   refutation rule: with 40 people and spread 20, an")
    print("   upper confidence limit below {:.4f} taxa leaves the"
          .format(eff))
    print("   model without the gain it predicts")
    half = richness_after(3.0) - R0
    print("   half intake predicts {:.4f} taxa, so a flat result at"
          .format(half))
    print("   3.00 servings and a gain at 6.30 is the dose-response")
    print("   pattern the model stands or falls by")

Single source and citation

Fan, Y. (2026). Lotka-Volterra Competition in Fermented-Food Microbiota, Probiotic-Capsule Colonisation Failure and Dietary-Diversity Inflammation Markers (Version 1.0.0), Chapter 8: Closing the Loop: A Scorecard, a Compliant Template and a Pre-Registered Protocol. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-185 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026185,
  author    = {Fan, Yafu},
  title     = {Lotka-Volterra Competition in Fermented-Food Microbiota, Probiotic-Capsule Colonisation Failure and Dietary-Diversity Inflammation Markers},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book