What does Fermentation, Competition and Colonisation conclude, in numbers, about “Orders of Diversity: Trajectories, the Shannon Index and Hill Numbers”?
Answer: Chapter 3 asks which order of diversity rose, with one community changing by 0.1667 at order zero and only 0.0239 at order two.
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: 0.0239, 0.1667
| Hill numbers for a geometric community (decay 0.03) | |
| taxa present q | 0 q=1 q=2 |
| 120 | 120.0 78.900 62.356 |
| 130 | 130.0 81.059 63.209 |
| 140 | 140.0 82.800 63.845 |
| 160 | 160.0 85.300 64.670 |
| 200 | 200.0 87.824 65.370 |
| going from 120 to 140 taxa changes q | 0 by 0.1667 |
| going from 120 to 140 taxa changes q | 1 by 0.0494 |
| going from 120 to 140 taxa changes q | 2 by 0.0239 |
| evenness q | 1 over q=0 at 140 taxa is 0.5914 |
| a reader told only that diversity rose cannot tell | |
| whether anything abundant changed at all |
Show the full program
# Chapter 3. p32: The same community read at three orders of
# diversity. Hill numbers q = 0, 1, 2 over a geometric abundance
# curve: adding rare taxa moves q = 0 a lot, q = 1 less and q = 2
# hardly at all, so a claim that a diet raised diversity means
# nothing until the order is named. Illustrative abundances.
import math
K = 0.03
def probs(n):
w = [(1.0 - K) ** i for i in range(n)]
tot = math.fsum(w)
return [x / tot for x in w]
def hill(n, q):
p = probs(n)
if abs(q - 1.0) < 1.0e-9:
return math.exp(-math.fsum(x * math.log(x) for x in p))
s = math.fsum(x ** q for x in p)
return s ** (1.0 / (1.0 - q))
if __name__ == "__main__":
print("Hill numbers for a geometric community (decay {:.2f})"
.format(K))
print(" taxa present q=0 q=1 q=2")
for n in (120, 130, 140, 160, 200):
print(" {:12d} {:6.1f} {:7.3f} {:7.3f}"
.format(n, hill(n, 0.0), hill(n, 1.0), hill(n, 2.0)))
a, b = 120, 140
for q in (0.0, 1.0, 2.0):
print(" going from {} to {} taxa changes q={:.0f} by {:.4f}"
.format(a, b, q, hill(b, q) / hill(a, q) - 1.0))
print(" evenness q=1 over q=0 at {} taxa is {:.4f}"
.format(b, hill(b, 1.0) / hill(b, 0.0)))
print(" a reader told only that diversity rose cannot tell")
print(" whether anything abundant changed at all")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 3: Orders of Diversity: Trajectories, the Shannon Index and Hill Numbers. 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
- Chapter 1 · The Colonisation Threshold: Invasion Growth Rates in a Competition Model
- Chapter 2 · Transient by Design: The Order of Post-Antibiotic Recovery, and Why Failing to Settle Is Not Failing to Act
- Chapter 4 · Two Levers: The Arrival Stream and the Substrate Stream
- Chapter 5 · The Statistics of a Panel: What a Set of Proteins Falling Together Means
- Chapter 6 · Parameter Scans and Elasticities: How Far the Conclusions Hold
- Chapter 7 · Two Classical Sources: Sauce and Bean Ferments in the Qimin Yaoshu, and Metchnikoff on Soured Milk
- Chapter 8 · Closing the Loop: A Scorecard, a Compliant Template and a Pre-Registered Protocol