What does Caprylic Transport and Brain Ketone Uptake conclude, in numbers, about “Practice and a Plan for Falsification”?
Answer: Chapter 8 gives an owner's checklist, an advertising-copy checker and a pre-registered crossover plan for 32 people. Marked boxes separate published evidence, runnable Python calculations (21 programs), classical sources and the author's hypotheses.
Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; it is not medical advice and makes no claim of any health or cognitive benefit. Marked boxes separate published evidence, runnable Python calculations (21 programs), classical sources and the author's hypotheses.
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: 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 |
Show the full program
# 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)))Single source and citation
Fan, Y. (2026). Portal Transport of Caprylic Triglycerides, Rapid Hepatic Oxidation and Monocarboxylate-Transporter Kinetics of Brain Ketone Uptake (Version 1.0.0), Chapter 8: Practice and a Plan for Falsification. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 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}
}Other chapter answers in this book
- Chapter 1 · Two Roads: the Chain-Length Switch between Portal Blood and Chylomicrons
- Chapter 2 · The Side Door of the Mitochondrion: Carnitine-Independent Entry and Carbon Bookkeeping
- Chapter 3 · A First-Order Chain of Four Compartments: the Bateman Solution, Peak and Time to Peak
- Chapter 4 · Dose, Sampling and Individual Differences: How a Peak Gets Measured
- Chapter 5 · Monocarboxylate Transporters: Michaelis-Menten Kinetics and the Near-Linearity of Brain Ketone Uptake
- Chapter 6 · Coconut Oil Is Not MCT Oil: Composition Weighting, the Tolerance Ceiling and Unit Cost
- Chapter 7 · The Classics Examined: the Oils of the *Bencao yanyi* and Krebs's Ketone Bodies