关于「实践与证伪方案」,《辛酸门静脉转运与脑酮摄取》给出的定量结论是什么?
结论:第八章给出经营者清单、攻心文案检查器与一份 32 人的预注册交叉试验方案。书中以标注框区分已发表的证据、可运行的 Python 计算(21 段程序)、原典与作者的假说。
数据口径:书中参数为示意;全部计算由书中程序生成;本书不是医疗建议,不宣称任何健康或认知方面的效益。 书中以标注框区分已发表的证据、可运行的 Python 计算(21 段程序)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 21, 32
| question | delta | SD | n | power |
|---|---|---|---|---|
| C8 vs C10 Cmax, log ratio | 0.262 | 0.35 | 21 | 0.904 |
| C8 vs coconut Cmax, log ratio | 0.693 | 0.45 | 7 | 0.923 |
| Tmax lag C12 - C8, min | 15.000 | 25.00 | 32 | 0.907 |
| meter share of total ketone | 0.050 | 0.08 | 29 | 0.901 |
| t(0.975, 29) = 2.045 |
查看完整验算程序
# Chapter 8. p82: sample size for a pre-registered crossover study
# Paired design, each person takes both oils on separate mornings in a
# random order. Test: two-sided paired t-test, alpha 0.05, power 0.90.
# n is the smallest integer whose power, computed with the noncentral t
# approximated by a shifted central t, reaches 0.90. Effect sizes and SDs
# are illustrative planning values: the smallest effects worth knowing,
# not the effects the model of Chapter 3 predicts.
import functools
import math
def t_pdf(x, df):
c = math.lgamma((df + 1) / 2.0) - math.lgamma(df / 2.0)
c -= 0.5 * math.log(df * math.pi)
return math.exp(c - (df + 1) / 2.0 * math.log1p(x * x / df))
def t_cdf(x, df, m=600):
if x < 0:
return 1.0 - t_cdf(-x, df, m)
h = x / m
w = [t_pdf(i * h, df) * (1 if i in (0, m) else 4 if i % 2 else 2)
for i in range(m + 1)]
return 0.5 + math.fsum(w) * h / 3.0
@functools.lru_cache(maxsize=None)
def t_quant(p, df):
lo, hi = 0.0, 20.0
for _ in range(60):
mid = 0.5 * (lo + hi)
if t_cdf(mid, df) < p:
lo = mid
else:
hi = mid
return 0.5 * (lo + hi)
def n_needed(delta, sd):
for n in range(4, 400):
df = n - 1
tc = t_quant(0.975, df)
shift = delta / (sd / math.sqrt(n))
power = 1.0 - t_cdf(tc - shift, df)
if power >= 0.90:
return n, power
return None, None
PLANS = (
("C8 vs C10 Cmax, log ratio", math.log(1.3), 0.35),
("C8 vs coconut Cmax, log ratio", math.log(2.0), 0.45),
("Tmax lag C12 - C8, min", 15.0, 25.0),
("meter share of total ketone", 0.05, 0.08),
)
print("question delta SD n power")
for name, delta, sd in PLANS:
n, pw = n_needed(delta, sd)
print("{:<31s}{:7.3f} {:5.2f} {:4d} {:5.3f}".format(
name, delta, sd, n, pw))
print()
print("t(0.975, 29) = {:.3f}".format(t_quant(0.975, 29)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《辛酸甘油三酯门静脉跨膜转运、肝脏快速氧化与单羧酸转运体脑酮摄取动力学》第 8 章「实践与证伪方案」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-166 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026166,
author = {Fan, Yafu},
title = {Portal Transport of Caprylic Triglycerides, Rapid Hepatic Oxidation and Monocarboxylate-Transporter Kinetics of Brain Ketone Uptake},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}