Change of Probability Measure
A powerful technique for simulation.
Change of probability measure is a powerful and beautiful technique, though its presentation in textbooks is often initially met with confusion.
In most resources I’ve encountered, the presentation of the topic typically begins with technical results from measure theory, followed by an involved example which is often related to finance.
Whilst this is fine, in my experience I found it difficult to develop a first principles understanding of where the theory comes from. In this post, I aim to go the oposite way; beginning with what is hopefully an accesible example of how one might develop the technique, before diving into a presentation of the actual theory. To close, I present a more complicated and practical applcation in regards to pricing a particular financial derivative.
A Simple Example
Imagine we can readily sample numbers from a distribution, but we require a sample of a . One option is to to take some a sample and then set so that . In some sense, one can think of this as shifting the outcome of the first distribution to match a sample from our desired distrbution.
Another approach is as follows: Suppose we can sample but we wish to sample a . We know the target distribution has density While the distribution we can sanmple from has density
The densities look quite similiar. In fact,
So, if we sample a then as desired.
So what happened here? Instead of shifting the outcome z by some constant, we found we could reweight its density by the amount to match the desired probability distribution we were targeting.
The Radon-Nikodym Derivative
If we take a step back and think about probabilities as assinging some volume, representing likelihood of some event where sits in a space of possible outcomes 1, then the probability denoted by denotes the volume, or size that occupies in .
Here, is a measure function, it takes some set and spits out a corresponding size. In particular is a probability measure which means it has the special property that .
In our example we began with a way to sample , which means we have access to a measure which assings sizes of sets in accordance to a standard Gaussian distribution. We wanted to swap however, to a different measure , which assinged probability accordining to a random variable.
In our example, we found the precise amount to tilt the distribution to become . This amount, which I denote by , has a special name: it’s a Radon-Nikodym derivative, which describe how to move from one measure to another.
The natural questions to ask at this point are; 1. Can we be sure that a Radon-Nikodym derivative exists for any given starting measure and target measure ? 2. How can we find the analytical form of Radon-Nikodym derivative and 3. How can swap between measures to compute probabilities?
The Radon-Nikodym Theorem from Measure Theory answers the first question precisly for us; so long as for any set such that we have then there is a unique function such that 2 I won’t proceed with a full proof, but I’ll attempt to unpack and intuit why these conditions are necessary, and how one can see that the theorem should hold.
First the condition of the theorem: for any set such that we have . This type of relationship is special in Measure Theory and even has it’s own name and notation. We say that is absolutely continuous with respect to which we denote by .
In the context of probability, the absolute continuity requirement states that the target distribution needs to agree with on what outcomes are impossible. If we didn’t have this condition, inconsistent outcomes would arise where once impossible events would become possible when switching to a new measure.
Proving that we can always to find a in (*) is less straightforward, but the proof follows a constructive argument by taking a sequence of simpler functions whose integrals with respect to match the desired behaviour. The sequence is constructed such that each successive element gives a more refined measured that captures the distribuition of more closely. In the limit, we can show that equation in * holds. Moreover, since the limit of a sequence is unique, we can immiediately deduce that is unique as well.
Finding Radon-Nikodym Derivatives Analytically
Once we have shown that finding Radon-Nikodym derivatives aren’t that difficult. Recall that is a measure, so we can write the measure of any set as the integtal If you’re not used to seeing an expression like (4), just think that the term means the change in measure . For a probability measure, what would this change in measure be? Hopefully after pondering for a few minutes, you would agree that it’s the change in the corresponding distribution function of the measure, . So, the change in the distribution function by a small amount is a change in it’s derivative according to change in it’s argument by a small amount. Said more mathematically, so we can also write (4) as Going back to Radon-Nikodym derivatives, we know that and from above, we also have Now it should be obvious that the correct form we need is where are the densitities respectively.
In short, finding Radon-Nikdoym derivatives analytically is quite simple: take your target density and your starting density then look at their ratio . We can confirm this by looking at our simple example from before.
Suppose we want to find the Radon-Nikodym derivative to move from to , then
Swapping Between Measures
There’s a few reasons in for why you might want to swap between measures. The first scnenario we explored is related to sampling from a target distribution. The other two common reasons are; Firstly, some random process you are interested in studying is more nicely behaved under a different measure, most commonly through becoming a martingale. The other situation is analysis or estimation becomes more tractable when working with a nice distribution.
It’s important to conceptualise that we start with our real-world / actual probability measure , then swap to a nicer to perform some calculations. Sometimes, we can’t interpret this measure directly though, so we need to then swap back to .
Before closing out with an example, let’s put this all together on how we can seemlessly swap between two measures once we have their Radon-Nikodym Derivative .
By Random-Nikodymn theorem, we then know that any can be written as
Before closing out with an example, let’s put this all together on how we can seemlessly swap between two measures once we have their Radon-Nikodym Derivative .
By Random-Nikodymn theorem, we then know that any can be written as
where is the indicator function. Once we’ve calculated the desired probability, we can swap back with an inverted procedure
An Application to Digital Option Pricing
Let’s depart from mathematics from a second, and turn our attention to finance. We consider a particular type of contract which is traded in the markets called a Digital Call Option.
A Digital Call Option (or henceforth, a Digital Call) struck at price , expiring at future time gives the holder of the contract a payoff of $1 in the event that some underlying security (eg a stock, bond, currency) closes above the price K at time .
It’s clear a Digital Call is a bet on the bimodal outcome for some underlying asset price ends up above or below . The question is, how much would one be willing to pay to make this bet?
Without any formal mathematical finance theory, one approach we could take is to simply estimate the probability . We then know by the binary outcome of the contract that the expected payoff is .
Unfortunately, the probabilites of stock price movements aren’t easily observable, but suppose we know that the terminal value of the asset price follows . From above, we know that the price of the digital call is therefore
Finding the value of this definite integral is cumbersome, so let’s attack the problem with Monte-Carlo. The strategy is to simulate random variables and then form the estimate
By the law of large numbers, we know that that the right hand side approachs the true price given by the integral as we take . Suppose we’re considering an option that’s struck at . Looking at (6), we see that one in every ten samples will have non-zero value; meaning that many of the simulations we conduct will be “wasted”. Moreover, for high value of the estimator has high variance.
Instead, we can change the measure to place more emphasis on the part of the distribution where the distribution does have value. Let’s define the target measure through the density
for some . This density places greater emphasis on the area of where the option has value. Since the -density is simple we can obtain the value of the Digital Call option as
which can be estimated via Monte-Carlo through
where follows the density given by (7). In the plot below, we see the change of measure scheme we proposed above leads to a far more stable, and quicker estimate of the true digital option price.

Footnotes
-
I’ve oversimplified things quite a bit here. Measures are special in that they ascribe volumes / sizes consistently amongst sets, namely that the size of the empty set should be 0, and . As it turns out, not every possible results in these properties holding, so one needs to restrict the space of considerable sets to a collection called a sigma algebra. ↩
-
Another slight ommision is a technical condition that the measures used in the Radon-Nikodym theorem must be sigma finite. Fortuntately, all probability measures satisfy this condition. ↩