关于「多样性的阶数:轨迹、香农指数与希尔数」,《发酵竞争与定植阈值》给出的定量结论是什么?
结论:第三章追问「多样性提高」到底是哪一阶,同一群落按零阶变化 0.1667,按二阶只有 0.0239。
数据口径:在书中的示意参数下这个数是 -0.2900 每天,于是胶囊菌株只能在持续服用期间被动携带,携带量 0.0690,停服后半衰期 2.39 天。 书中参数为示意;全部计算由书中程序生成;本书不是医疗建议,不宣称任何效果,自我试验须先咨询执业医师。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 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 |
查看完整验算程序
# 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")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《发酵食品菌群洛特卡—沃尔泰拉竞争、益生菌胶囊定植失败与膳食多样性炎症指标母典》第 3 章「多样性的阶数:轨迹、香农指数与希尔数」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 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}
}