Probability spaces, σ-algebras and random variables
The lesson "Random walks and Brownian motion" used probabilities, expectations and independence freely. The continuous-time models that follow need these words to have exact meanings, because they talk about information, about events that depend on a whole path, and about averages conditional on what is known. This lesson sets up the measure-theoretic framework: the sample space, σ-algebras, probability measures and random variables. A fair die serves as the running example throughout, and the last section previews conditional expectation, the subject of the lesson after next.
Sample space and events
A random experiment is modelled by a set , the sample space, whose elements are the possible outcomes. For one roll of a die, . For the coin-flip walk of the previous lesson with tosses, , and one is a whole sequence of tosses. For Brownian motion, one is a whole continuous path.
An event is a subset : the event occurs if the realised outcome lies in . The event "the die shows an even number" is . Set operations translate logic: is " and ", is " or ", the complement is "not ".
σ-algebras
We do not assign a probability to every subset of . Instead we fix a collection of subsets, the events we are allowed to ask about, and require it to be closed under the logical operations. A collection of subsets of is a σ-algebra if
Two consequences follow at once. From (i) and (ii), . From (ii), (iii) and De Morgan's law , countable intersections of events are events. The "σ" refers to the countable unions in (iii); they are needed for statements about infinitely many times, such as "the walk eventually exceeds 10", which is .
On the die, three σ-algebras will recur:
- the trivial σ-algebra , which contains no information about the roll;
- the parity σ-algebra , which can tell odd from even and nothing more;
- the power set of all subsets, which identifies the roll exactly.
Two reasons justify the restriction to a σ-algebra. The first is technical: on there is no way to assign a "length" to every subset that is countably additive and unchanged by translation (Vitali's construction), so uncountable sample spaces force us to leave some sets out. The second is the reason that matters in finance: a σ-algebra smaller than models partial information. An observer whose information is the parity σ-algebra can answer "was it even?" but not "was it a 6?".
For any collection of subsets, the intersection of all σ-algebras containing is again a σ-algebra, the smallest one containing . It is written and called the σ-algebra generated by . On , the σ-algebra generated by the open intervals is the Borel σ-algebra . It contains every interval, every open and closed set and everything built from them by countable operations; we use it without constructing it further.
Probability measures
A probability measure on is a function with that is countably additive: for pairwise disjoint ,
The triple is a probability space. The familiar rules are consequences: (since and are disjoint with union ), and implies (since ). For the fair die, and . The same σ-algebra can carry several measures, which is how the real-world measure and the risk-neutral measure coexist on one sample space.
Random variables
A random variable is a number determined by the outcome, , with one requirement: every question of the form "is ?" must be an event, so that it has a probability. Formally, is $\mathcal{F}$-measurable if
This is equivalent to for every Borel set , because the sets with form a σ-algebra that contains every half-line , and these half-lines generate .
Measurability depends on the σ-algebra. On the die take , which is 1 on and 0 otherwise. Then , which is not in the parity σ-algebra, so is not parity-measurable: knowing only the parity, you cannot tell whether .
The σ-algebra generated by a random variable
The σ-algebra generated by $X$ is the collection of all events that can be decided by observing :
It is the smallest σ-algebra for which is measurable. Read it as the list of questions that answers. For on the die, is the parity σ-algebra. The precise sense in which is "the information in " is the Doob–Dynkin lemma: a random variable is -measurable if and only if for some Borel function . Knowing lets you compute exactly the functions of .
Finite sample spaces and partitions
When is finite, every σ-algebra has a simple shape. For let be the intersection of all events in that contain ; it is a finite intersection, so . These sets are called the atoms of . Two atoms are either equal or disjoint: if , some contains but not , so contains and is disjoint from . Hence the atoms partition , and every event of is the union of the atoms of its points.
On a finite , a σ-algebra is the same thing as a partition of into atoms: the events of are exactly the unions of atoms, so there are of them. A random variable is -measurable if and only if it is constant on each atom.
The parity σ-algebra has atoms and , so events. The partition into pairs gives events, and is measurable for it, being constant on each pair. The power set has six atoms and events.
Independence
Two events are independent if . Two σ-algebras and are independent if this holds for every and every , and random variables and are independent if and are. In words: learning the answer to any question about does not change the probabilities of any question about .
Example on the fair die. Parity and are independent: the four non-trivial pairs give
and the same for the even numbers, while pairs involving or hold trivially. Parity and low–high are not independent: , but .
Expectation
On a finite space the expectation is the probability-weighted average, . On a general space it is the Lebesgue integral , defined first for variables taking finitely many values and then by monotone limits; it keeps the rules you know: linearity, , and for independent integrable . For the die with ,
Conditional expectation as block averages
Given a σ-algebra on a finite whose atoms all have positive probability, the conditional expectation is the random variable that, on each atom , equals the average of over :
It is the best guess of by an observer who knows which atom occurred. It is -measurable, and it has the same average as on every event of : for . These two properties are the definition used on general spaces, which the lesson "Conditional expectation and martingales" takes up. Averaging inside blocks removes variation, and the law of total variance makes this exact:
Worked example with . With parity information, is on the odd numbers and on the even ones, so its variance is . With low–high it is or , variance . With pairs it is , or , variance . With full information it is itself, variance ; with no information it is the constant , variance .
The figure shows the six outcomes as tiles coloured by the atoms of the chosen information , each tile listing , and the block average . Choose the information (none, parity, low–high, pairs, full) and the random variable (, or ). The readouts give the number of events , , and . Check that the last never exceeds and equals it with full information. With and parity it is : the information is independent of and does not improve the guess.
- ω = 1X = 1E[X | 𝒢] = 11.67
- ω = 2X = 4E[X | 𝒢] = 18.67
- ω = 3X = 9E[X | 𝒢] = 11.67
- ω = 4X = 16E[X | 𝒢] = 18.67
- ω = 5X = 25E[X | 𝒢] = 11.67
- ω = 6X = 36E[X | 𝒢] = 18.67
- Events in 𝒢
- 4
- E[X]
- 15.167
- Var X
- 149.139
- Var E[X | 𝒢]
- 12.250
Summary
- A probability space consists of outcomes, a σ-algebra of events closed under complements and countable unions, and a countably additive measure with .
- A random variable is an -measurable map: every event belongs to . Its generated σ-algebra collects the questions answers, and -measurable variables are the functions of .
- On a finite a σ-algebra is a partition into atoms with events, and measurable means constant on atoms.
- Independence of σ-algebras means every event of one is independent of every event of the other.
- Conditional expectation on a partition is the block average; it is a coarser variable with .
The next lesson, "Filtrations, adapted processes and stopping times", lets the σ-algebra grow with time to model information that accumulates as prices are observed.