## Measure-theoretic Probability: Why it should be learnt and how to get started

Last Friday I gave an informal 2-hour talk at the City University of Hong Kong on measure-theoretic probability. The main points were as follows. Comments on which parts are unclear or how better to explain certain concepts are especially welcome.

### Objectives

- Understand why measure-theoretic probability is useful
- Learn enough to get past the initial barrier to self-learning
- Motivation
- Road map

### Recommended Textbooks

The primary textbook I recommend is “Probability with Martingales” by David Williams. Although out of print, a secondary textbook I recommend is Wong and Hajek’s “Stochastic Processes in Engineering Systems“.

### Motivation

One unattractive feature of traditional probability theory is that discrete and continuous random variables are generally treated separately and thus some care is required when studying mixtures of discrete and continuous random variables. Measure-theoretic probability provides a unified framework which is ultimately easier to work with rigorously. (In other words, and roughly speaking, fewer lines of mathematics are required and the chance of making a mistake is decreased.)

A simple example of moving to a more general setting is given by the real and complex numbers. Initially, complex numbers were treated with some scepticism. Ultimately though, by *generalising* real numbers to complex numbers, a range of fundamental concepts became *simpler and more natural*. To state just one, an th degree polynomial has precisely roots (counting multiplicities) over the complex field, but possibly fewer over the real field.

### Derivation

Journal papers using measure-theoretic probability often start by saying, “Let be a probability space”. This section endeavours to derive (or re-discover) this formalism.

#### The Outcome ()

At least for an engineer, it is benign to assume that even if a variable or process is random and not observed directly, it still has a true and actual outcome in every experiment. For the purposes of measure-theoretic probability, it is convenient (and unrestrictive) to assume that the outcomes of a series of bets placed by a gambler are known beforehand to Tyche, the Goddess of Chance. Formally, the actual outcome is denoted by a point drawn from the set of all possible outcomes .

If the experiment consists of just a single coin toss, might contain just two elements, say . (There is no reason why could not contain more elements; they would merely be deemed to occur *with probability zero*. While this might be a silly thing to do when the set of possible outcomes is finite, there are sometimes advantages in choosing larger than it needs to be in the infinite case, such as when working with stochastic processes.)

Rarely though is a single toss of a coin interesting. Normally, the coin is tossed two or more times. It is important that contains as many outcomes as necessary to describe the full sequence of events. So if the coin is tossed twice and only twice, it suffices to choose . Generally though, one would want to allow for the coin to be tossed any number of times, in which case would contain all possible infinitely-long sequences of Heads and Tails. (This is denoted .)

#### The Probability of the Outcome ()

We must somehow characterise the fact that Tyche will choose some outcomes more frequently than others. If is finite, there is an obvious way to do this. We could simply define to be a function from to the set of real numbers between and inclusively, the latter denoted by . This generally does not work though if consists of an infinite number of elements. To see why, assume Tyche will choose a number uniformly between and . Then we may take . We would be forced to assign a probability of zero though to any particular outcome . Therefore, there is not enough information to deduce that the probability of Tyche choosing a number in the set is precisely the same as the probability of choosing a number in the set , for instance.

Going to the other extreme, we may be tempted to solve the problem by defining the probability of occurrence of any conceivable set of outcomes. So for instance, we can define and , and indeed, for any interval from to with we can define . Notice that now, we have made a function which takes a subset of and returns a number between and . So strictly speaking, we must write and not for the probability of occurrence of an individual element of .

Superficially, this is ok. However, it does not work for two reasons.

- How can we define the value of for an arbitrary subset of when for some sets, it is not even possible to write down a description of them? (That is, there are some subsets of the interval which we cannot even write down, so how can we even write down a definition of which tells us what value it takes on such indescribable sets?)
- It can be proved that there exist “bad” sets for which it is impossible to assign a probability to them in any consistent way.

It is very tempting to elaborate on the second point above. However, my experience is that doing so distracts too much attention from the original aim of understanding measure-theoretic probability. It is therefore better to think that even if we could assign a probability to every possible subset, we do not want to because it would cause unnecessary trouble and complication; surely, provided we have enough interesting subsets to work with, that is enough?

Therefore, ultimately we define as a function from to where is a set of subsets of which we think of as (some of) the “nice” subsets of , that is, subsets of to which we can and want to assign probabilities of occurrence. Roughly speaking, should be just large enough to be useful, and no larger.

#### The Set of Nice Subsets ()

Referring to what was said just before, how should we choose ? Experience suggests that if then we would generally be interested in all open intervals and all closed intervals for starters. (Open intervals do not include their endpoints whereas closed intervals do.) We would also want to be able to take (finite) unions and intersections of such sets. This may well be enough already. However, we should also look at our requirements on since they will have an effect on how we choose . They are:

- . (The probability of being in the empty set is zero.)
- . (The probability of being in the set of all possible outcomes is one.)
- whenever the are mutually disjoint subsets of . (Probability is countably additive.)

In order even to be able to state these properties rigorously, we require to have certain properties. In particular, the first two conditions only make sense if we insist that both the empty set and are elements of . (Recall that is only defined on elements of .) The third condition requires that if then . (Technically, we have only argued for this in the special case of the being mutually disjoint, but it ultimately turns out to be no different from requiring it to hold for non-disjoint sets too.)

Note that the third condition implies (finite) additivity; just choose most of the to be the empty set. Therefore, if and if (the complement of ) is also in then properties 2 and 3 above would impy that . It is easy to believe that this condition is fundamental enough to insist that if then its complement is also in . Once we have complements of sets in also belonging to , then (finite and countable) intersections of sets in also belong to . (Recall that , for example.)

To summarise the last paragraph, we have endeavoured to show that we require to satisfy the following conditions.

- .
- implies .
- implies .

These conditions are precisely those required for to be what is known as a -algebra. Here, is used to denote the word “countable” and refers to condition 3 above. (While the alternative term -field is widely used, the existing definitions of “algebra” and “field” in mathematics makes the term -algebra the preferred term; it is not a “field” in any precise sense.)

If , recall from above that we wished for to contain all the intervals at the very least. Therefore, we choose to be the smallest -algebra containing the intervals. (Intuitively, one could think of building up by starting with being equal to the set of all intervals, then adding all complements, then adding all countable unions, then adding all complements of these new sets, then adding all countable unions of new and old sets, and going on like this until finally grew no larger by repeating this process. Mathematically though, it is constructed by taking the intersection of all -algebras containing the intervals; it can be shown that the (uncountable) intersections of -algebras is still a -algebra.)

In general, if is a topological space then it is common to choose to be the smallest -algebra containing all the open sets. This is called the Borel -algebra generated by the open sets on .

The elements of are called events. Indeed, an event is a subset of and therefore represents a set of possible outcomes or *events* that we might observe (we might be told that ), or ask the probability of observing (we might want to know the value of ).

#### How to Define on Borel Subsets

One issue remains; in general, it is not possible to write down an arbitrary Borel subset; some Borel sets are indescribable. How then can we define on sets we cannot describe? Fortunately, we can appeal to Caratheodory’s Extension Theorem. In fact, this is a repeating theme in measure-theoretic probability; it is necessary to learn techniques for avoiding the need to work directly with indescribable sets.

Caratheodory’s Extension Theorem implies that if we assign a probability to every interval in (in a way which is consistent with the axioms for probability, e.g., respecting countable additivity) then there is one and only one way to extend the assignments of probability to arbitrary Borel subsets of . In other words, by defining just for intervals, we have implicitly defined on all Borel subsets. (This is analogous to defining a linear function at only a handful of points; the linearity of the function means that the value of the function can be deduced at other points by using the property of linearity.)

Note that is called a probability measure. It “measures” the probability assigned to certain nice subsets of , or precisely, to the elements of . (Recall that every element of is a subset of .)

### Random Variables

A (real-valued) random variable is simply a function from to which satisfies a natural condition of being measurable, which will be defined presently. First though, note that a random variable gives (generally only partial) information about the outcome . For example, if and is defined by , , and then we would describe as the outcome of the first coin toss (with for Heads and for Tails).

We know from the previous section that when we are dealing with the set of real numbers , we would like to be able to assign a probability to any Borel subset of . Therefore, given a random variable and a Borel subset , we would like to compute the probability that the outcome causes to take on a value in the set . Mathematically, this is written as , which is commonly abbreviated as . For this to make sense though, we must have being an element of . This condition, that the inverse image of a Borel set lies in the -algebra , is precisely the condition of measurability imposed on any random variable.

### Expectation is Central

Although just formulating the probability triple is already enough to unify discrete and continuous-valued random variables, there are other differences between measure-theoretic and “classical” probability. In particular, in measure-theoretic probability, emphasis shifts to the expectation and conditional expectation operators. One benefit of doing this is that it avoids certain unpleasantries associated with defining conditional probability; for example, Bayes rule does not apply when the denominator is zero.

Note that the probability of an event occurring is equal to the expected value of where denotes the indicator function; equals when and otherwise. Therefore, the shift from probability being central to expectation being central is merely a change of view; it often provides a nicer view of the same underlying theory.

### Concluding Remarks

- Measure-theoretic probability is initially more complicated to learn, but it is rigorous, more natural and therefore ultimately easier to work with.
- Its advantages come from its different and more general viewpoint; the underlying theory is still essentially the same as classical probability.
- (Rather than work with cumulative probability distributions and Riemann-Stieltjes integrals, measure-theoretic probability works with probability measures and Lebesgue integrals which are generally cleaner and easier to work with.)

- When learning measure-theoretic probability:
- Keep in mind that the basic ideas are straightforward; don’t let the technical detail obscure the basic ideas.
- Most of the technical detail comes (at least initially) from having to work with Borel sets but not being able to describe them in general (cf., Caratheodory’s Extension Theorem mentioned earlier).
- Look for and develop your own mapping between the measure-theoretic way of obtaining a result, and the classical way. (For example, Girsanov’s Change of Measure is essentially the measure-theoretic version of Bayes rule; it is stated in terms of conditional expectation rather than conditional probability and is therefore neater to work with.)

Inspiring, thank you.

This is a very nice exposition. I wish I could have attended the talk; I’m pretty sure I would have enjoyed it.

Off to the library to get a copy of “Probability with Martingales”. Thank you.