What does Continuous Glucose Curves and the Minimal Model conclude, in numbers, about “Same Meal, Different Curves: Decomposing Individual Variation and the Ceiling on Prediction”?

Answer: Chapter 2 starts from the record of 800 people and 46,898 meals by Zeevi and colleagues and splits individual variation into person, person by food and repeat noise: in the illustrative model only 0.610 of a single comparison is real; for two foods with a small average difference only 0.611 of people order them as the average does, against 0.921 for a large difference.

Scope of the numbers: It is not medical advice, claims no effect of any kind and offers no dietary, fasting or medication plan; any self-experiment must first be discussed with a licensed physician. Its parameters are illustrative; all calculations are generated by its programs.

中文版

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.611, 0.921

(a) share of people whose ranking agrees with the average
d ratio true1 test 2 tests 4 tests
0.101.105 0.611 0.587 0.597 0.604
0.301.350 0.802 0.746 0.770 0.785
0.501.649 0.921 0.865 0.891 0.905
(b) correlation ceiling sqrt(rel) and reported R as its share
rel ceiling0.596/ceil 0.395/ceil
0.600.775 0.769 0.510
0.700.837 0.712 0.472
0.800.894 0.666 0.442
R^2: personal 0.355, carbohydrate 0.156
check: perfect predictor, rel 0.7, simulated r0.839
Show the full program
# Chapter 2. p22: two ceilings on "predicting one person's curve".
# (a) Ranking: food 2 raises log iAUC by d on average. A person's own
#     gap is d + (b2 - b1), sd sqrt(2) * SB; with R repeated tests the
#     observed gap adds noise of sd sqrt(2 / R) * SE (sds as in p21).
# (b) Correlation: if one meal response has test-retest reliability
#     rel, no predictor can correlate with it above sqrt(rel). R values
#     0.596 (personal model) and 0.395 (carbohydrate) are the ones
#     reported by Mendes-Soares et al. 2019 for 327 people; the model
#     came from Zeevi et al. 2015 (800 people, 46,898 logged meals).
#     The rel values are illustrative.
import math
import random
from statistics import NormalDist

PHI = NormalDist().cdf
SB, SE = 0.25, 0.20
print("(a) share of people whose ranking agrees with the average")
print("    d     ratio   true    1 test  2 tests  4 tests")
for d in (0.10, 0.30, 0.50):
    true = PHI(d / (math.sqrt(2.0) * SB))
    obs = [PHI(d / math.sqrt(2.0 * SB ** 2 + 2.0 * SE ** 2 / r))
           for r in (1, 2, 4)]
    print("  %.2f  %6.3f   %.3f   %.3f   %.3f    %.3f"
          % (d, math.exp(d), true, obs[0], obs[1], obs[2]))
print("(b) correlation ceiling sqrt(rel) and reported R as its share")
print("   rel   ceiling   0.596/ceil  0.395/ceil")
for rel in (0.6, 0.7, 0.8):
    c = math.sqrt(rel)
    print("  %.2f   %.3f     %.3f       %.3f"
          % (rel, c, 0.596 / c, 0.395 / c))
print("  R^2: personal %.3f, carbohydrate %.3f"
      % (0.596 ** 2, 0.395 ** 2))
# 蒙特卡洛核对:完美预测真值,测量信度 0.7,相关系数应接近 0.837
rng = random.Random(20261115)
n = 20000
noise = math.sqrt(1.0 / 0.7 - 1.0)
xs = [rng.gauss(0.0, 1.0) for _ in range(n)]
ys = [x + rng.gauss(0.0, noise) for x in xs]
mx, my = math.fsum(xs) / n, math.fsum(ys) / n
sxy = math.fsum((x - mx) * (y - my) for x, y in zip(xs, ys))
sxx = math.fsum((x - mx) ** 2 for x in xs)
syy = math.fsum((y - my) ** 2 for y in ys)
print("check: perfect predictor, rel 0.7, simulated r = %.3f"
      % (sxy / math.sqrt(sxx * syy)))

Single source and citation

Fan, Y. (2026). Areas under Continuous Glucose Curves, the Two-Compartment Minimal Model of Insulin Action and the Dynamics of the Switch to Ketone Metabolism (Version 1.0.0), Chapter 2: Same Meal, Different Curves: Decomposing Individual Variation and the Ceiling on Prediction. 5D Library. DOI pending

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

BibTeX
@book{fan2026286,
  author    = {Fan, Yafu},
  title     = {Areas under Continuous Glucose Curves, the Two-Compartment Minimal Model of Insulin Action and the Dynamics of the Switch to Ketone Metabolism},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book