Basic Prerequisites: Probability & Measure Theory (expectations, laws of large numbers, martingales) and Calculus & Optimization (maximising , concavity). (these are the folder-level prerequisites for pages 02–06; page 01 states its own, smaller, entry requirements)


1. Intuition & Practical Objective

Almost all of textbook finance computes ensemble averages: the expected value of a portfolio across many parallel copies of the world at one instant. But you do not get to live across parallel copies - you live along one path through time. When wealth compounds multiplicatively, the ensemble average and the time average are not the same number, and the difference is not a rounding error - it is the whole game. A strategy whose ensemble expectation is per round can bankrupt a single investor with probability one. That is non-ergodicity, and it is the single most important correction to the “expected return” reflex in the Atlas.

This folder is the ergodicity & statistical-mechanics toolbox for the Atlas. Everything reduces to five primitive ideas:

  1. Ensemble average time average unless a system is ergodic - and compounding wealth is not ergodic. → 02 · Ensemble vs Time Averages.
  2. Multiplicative growth adds in the log, so the growth rate is , not . The gap is the volatility drag . → 03 · Multiplicative Growth.
  3. Maximising is the growth-optimal objective - the Kelly criterion - and it has a unique optimum . → 04 · The Kelly Criterion.
  4. Beyond there is a critical fraction past which ruin is certain, and even full Kelly has a fixed, large drawdown law. → 05 · Ruin & Drawdown.
  5. In the real world the parameters are estimated, so overbetting is the dominant risk - which is why practice uses fractional Kelly. → 06 · Advanced Extensions.

This page is the hub: it gives the fast formula and growth-law lookup below, then routes you to six sub-pages built from first principles, with working code and failure modes.

The one-sentence essence. “An investor does not hold an average of paths, they hold one path; when wealth multiplies, the typical path drifts toward extinction even as the ensemble mean explodes - so the correct objective is the growth rate of the typical path, , and the correct bet size is Kelly’s .“


2. Mathematical Ground Truth & Derivations

Quick-Reference Lookup (job #1). The growth/ruin formulas are transcribed from Thorp (2006, Ch. 9) and Kelly (1956); the ensemble/time-average distinction follows Peters (2019); the fat-tail and estimation caveats are cross-checked against Tsay (Ch. 1) and Glasserman (Ch. 1). The numbers in the check column were re-executed and reproduced exactly by the scripts in §3 (see the per-page verified outputs).

Notation: wealth, simple return, log return, win probability, , win payout per unit staked, loss per unit staked. Continuous limit: instantaneous drift, variance rate, riskless rate, invested fraction.

QuantityFormulaVerified check
Ensemble average-
Time average-
Ergodic iff a.s.additive game: both
Geometric growth ratecoin :
Time average of compoundingensemble mean time avg
Net growth rate (post-drag) (drag )
Continuous growthat :
Kelly, even money
Kelly, win -
Kelly, win / lose -
Kelly, continuous
Growth at Kelly
Critical (ruin) fraction solves
Ruin / drawdown lawsim vs
Full Kelly, exponent
Half Kelly, exponent
Double before halving; full , half -

The scaling warning that makes this folder “foundations.” Every number above is a growth-rate quantity. A Sharpe ratio does not translate into wealth at ; it translates into a growth rate . A arithmetic edge can be a log-growth decel. Confusing additive means with multiplicative growth is the single most common error this folder exists to kill.


3. Computational Implementation - the three laws in one screen

Stdlib only. It (a) shows ensemble vs time average diverging, (b) computes the growth-optimal Kelly fraction, and (c) checks the drawdown law against Thorp’s formula.

The ensemble mean () and the typical outcome () are four orders of magnitude apart - that gap is non-ergodicity, and it is what the §3 experiment of each relevant sub-page quantifies.


4. Failure Modes & First-Principles Breakdowns

Hub signposts - the folder’s failure analysis lives in the sub-pages. In one line each:

  1. The arithmetic-mean trap. Ranking strategies by instead of rewards volatility; high-mean/high-variance strategies look best right before they go extinct (pages 02–03).
  2. Full-Kelly overbetting on estimated parameters. computed from an estimated edge is systematically too large because under mean reversion; production funds run – (pages 04, 06).
  3. The certain-ruin boundary . Betting (and always past ) makes ruin almost sure even with a positive edge - a positive Kelly edge is not a licence to lever freely (page 04).
  4. Drawdowns are first-class, not noise. Full Kelly’s median max-drawdown over 30 years is ; investors quit, and quits are indistinguishable from ruin (page 05).
  5. Fat tails break the Gaussian growth law. Real returns have excess kurtosis (Tsay Table 1.2); the log-diffusion model behind these formulas understates jump risk, so the practical hedge is fractional Kelly (pages 05–06).

5. References

  • Kelly, J. L. jr.: A New Interpretation of Information Rate, Bell System Technical Journal 35(4):917–926 (1956)
  • Thorp, Edward O.: The Kelly Criterion in Blackjack, Sports Betting, and the Stock Market, in Handbook of Asset and Liability Management Vol. 1 (Zenios & Ziemba eds., 2006)
  • MacLean, Thorp & Ziemba (eds.): The Kelly Capital Growth Investment Criterion: Theory and Practice (World Scientific, 2011)
  • Peters, Ole: The Ergodicity Problem in Economics, Nature Physics 15, 1216–1221 (2019)
  • Peters & Gell-Mann: Evaluating Gambles Using Dynamics, Chaos 26, 023103 (2016)
  • Tsay, Ruey S.: Analysis of Financial Time Series (3rd ed.)
  • Glasserman, Paul: Monte Carlo Methods in Financial Engineering

6. Connected Graph Bridges

Beginner: start at 01 · Practitioner: start at 05