Skip to text
Measure of Chance

Chapter IX · 26 min

Continuous Chance

Density, not mass — and which curve

The error to which our observations are subject follows a law which can be represented by a curve.

After Carl Friedrich Gauss, Theoria motus corporum coelestium (1809)

Not every chance lives on a list. A waiting time, a measurement error, a model’s predicted probability — these sit on a continuum. The new object is a density: a function whose integrals, not values, are probabilities. The value is not . That last probability is zero.

Density is not mass

A random variable is continuous (absolutely continuous, if one is being careful) when there is a non-negative integrable function such that

The cdf is still , and now at continuity points. Intervals of the same length in a tall part of the density are more probable than those in a low part — that is all the picture says.

WordSymbolWhat it isHow to use it
pmfp(k)a mass at a point, for discrete Xsum p(k) over a set
densityf(x)a height; not a probabilityintegrate f over an interval
cdfF(x)P(X ≤ x), alwaysP(a < X ≤ b) = F(b) − F(a)
supportwhere f > 0the values that can actually happenuniform lives on [a,b]; exponential on [0, ∞)

A field guide

FamilyStoryLives onMean
Uniformequally likely on an interval[a, b](a + b) / 2
Exponentialwait with no memory[0, ∞)1/λ
Normalsum of many small independent bitsall of ℝμ (spread σ)

Three more names you will meet later, and can ignore until you need them: Beta lives on and is a prior on a coin’s ; Gamma generalises the exponential to waiting for several ticks; Student-t is a normal with a heavier tail, used when the variance is estimated from a small sample. They are not required for the rest of this book.

Uniform and exponential

The uniform law on has density there and zero elsewhere. It is the continuous analogue of “equally likely”: equal-length subintervals are equally likely. The standard uniform is the raw material of simulation: any cdf that can be inverted yields a random variable as .

Uniform density on [0, 1]. Probability is length. The shaded interval has chance equal to its width.

The exponential law with rate has density on , mean , and the same memorylessness as the geometric: given survival to time , the remaining wait is a fresh exponential. It is the continuous waiting time for a Poisson process to tick once.

Exponential density with rate 1. The shaded early interval carries more chance than a later interval of the same length.

The normal law

The normal (Gaussian) family has density

Mean , variance . The standard normal is the case ; any other is a scaled shift, . To turn a question about into a question about , write

That fraction is the only linear algebra this family needs: subtract the centre, divide by the spread. The empirical rule: about 68% of the mass sits within one standard deviation of the mean, 95% within two, 99.7% within three. These are integrals of this curve, not commandments of nature — but many measurements are close enough that the numbers are useful.

The standard normal density. The teal region is P(Z ≤ 0.8). Area, not height, is chance. Open the bell lab to move the fences.

Why this curve, among all bell-shaped functions? Because sums of many small independent contributions, suitably scaled, become normal. That is the central limit theorem, Chapter 11. It is also why Gaussian noise is the default in so many models: not because the world is Gaussian, but because leftover error is often a sum.

Try the bell lab.