Tutorials › Stochastic Calculus › Computing Density Processes on Finite-State Trees

Change of Numeraire and Equivalent Measures · Tutorial 333 of 600

Computing Density Processes on Finite-State Trees

Learn to calculate density values at every node of a finite tree, verify their conditional-expectation consistency, and detect invalid changes of measure.

Advanced 10 min read

What You'll Learn

  • Compute a terminal Radon–Nikodym derivative from the probabilities of each leaf under two measures.
  • Obtain the density process at a node by taking the ratio of the measures’ probabilities of that node.
  • Verify the conditional-expectation martingale identity using the tree’s transition probabilities.
  • Construct an equivalent measure from positive terminal likelihood weights.
  • Identify errors caused by using a terminal density as though it were already a node density.

From Terminal Weights to Densities at Every Node

A finite probability tree makes the conditional-expectation definition of a density process concrete. At the terminal time, the density compares the probability of each outcome under two measures. At an earlier time, the density at a node compares the probabilities assigned to that whole node. These node values must fit together: the density at a parent is the conditional average, under the original measure, of the densities at its children.

We work on a finite probability space \((\Omega,\mathcal{F},\mathbb{P})\) equipped with the filtration \((\mathcal{F}_t)_{t=0}^N\) generated by a finite tree. Here \(\mathcal{F}_t\) records which node has been reached by time \(t\), and \(\mathcal{F}_N=\mathcal{F}\) distinguishes the terminal leaves. Assume each terminal leaf has positive \(\mathbb{P}\)-probability. A Brownian motion and stochastic integrals are not needed on this finite-tree model.

Definition: A probability measure \(\mathbb{Q}\) on the same finite space is equivalent to \(\mathbb{P}\) if the two measures assign probability zero to exactly the same events. Since every leaf has positive \(\mathbb{P}\)-probability, equivalence here means that every leaf also has positive \(\mathbb{Q}\)-probability. The terminal Radon–Nikodym derivative is \(L=\dfrac{d\mathbb{Q}}{d\mathbb{P}}\), with \(L(\omega)=\dfrac{\mathbb{Q}(\{\omega\})}{\mathbb{P}(\{\omega\})}\) at each leaf. The density process is \(Z_t=\mathbb{E}[L\mid\mathcal{F}_t]\).

For any event \(A\), the defining property of \(L\) is \(\mathbb{Q}(A)=\mathbb{E}[\mathbf{1}_A L]\). In a finite tree, conditional expectation on a node is an ordinary weighted average over the leaves below that node. This makes both the terminal derivative and all earlier values directly computable.

The Node-Ratio Formula and Its Consistency

Theorem: Suppose \(\mathbb{P}\) and \(\mathbb{Q}\) are equivalent probability measures on a finite tree, with every terminal leaf having positive probability under both. For a node \(v\) at time \(t\), let \(\mathbb{P}(v)\) and \(\mathbb{Q}(v)\) denote the probabilities of reaching that node. Then $$ Z_t(v)=\mathbb{E}\!\left[\frac{d\mathbb{Q}}{d\mathbb{P}}\middle|\mathcal{F}_t\right](v) =\frac{\mathbb{Q}(v)}{\mathbb{P}(v)}. $$ In particular, \(Z_0=1\), \(Z_t>0\), and for each \(t<N\), \(\mathbb{E}[Z_{t+1}\mid\mathcal{F}_t]=Z_t\).

Proof. Fix a node \(v\) at time \(t\). Its event consists of the terminal leaves \(\omega\) below \(v\). Conditional expectation on this event is the \(\mathbb{P}\)-weighted average of \(L\) over those leaves. Therefore $$ Z_t(v)=\frac{1}{\mathbb{P}(v)} \sum_{\omega\text{ below }v}\mathbb{P}(\{\omega\})L(\omega) =\frac{1}{\mathbb{P}(v)} \sum_{\omega\text{ below }v}\mathbb{Q}(\{\omega\}) =\frac{\mathbb{Q}(v)}{\mathbb{P}(v)}. $$ The denominator is positive because \(v\) contains at least one leaf and every leaf has positive \(\mathbb{P}\)-probability. Equivalence gives \(\mathbb{Q}(v)>0\), so \(Z_t(v)>0\). At time zero the only node is the root, whose probability is one under both measures; hence \(Z_0=1\).

To verify the conditional-expectation identity, fix a time-\(t\) node \(v\) and sum over its children \(u\). Since \(Z_{t+1}(u)=\mathbb{Q}(u)/\mathbb{P}(u)\), the conditional average under \(\mathbb{P}\) is $$ \mathbb{E}[Z_{t+1}\mid\mathcal{F}_t](v) =\sum_{u\text{ child of }v}\frac{\mathbb{P}(u)}{\mathbb{P}(v)} \frac{\mathbb{Q}(u)}{\mathbb{P}(u)} =\frac{\sum_u\mathbb{Q}(u)}{\mathbb{P}(v)} =\frac{\mathbb{Q}(v)}{\mathbb{P}(v)} =Z_t(v). $$ The children partition the event \(v\), which justifies the penultimate equality. Each \(Z_t\) is integrable because the space is finite and all its values are finite. Thus the conditional-expectation identity proves that \((Z_t)\) is a \(\mathbb{P}\)-martingale. \(\square\)

The identity also gives a practical rule when conditional branch probabilities are supplied. If the children of \(v\) have \(\mathbb{P}\)-transition probabilities \(p(u\mid v)\) and \(\mathbb{Q}\)-transition probabilities \(q(u\mid v)\), then $$ Z_{t+1}(u)=Z_t(v)\frac{q(u\mid v)}{p(u\mid v)}. $$ This follows by writing each node probability as its parent probability times its transition probability. The formula requires \(p(u\mid v)>0\); equivalence ensures \(q(u\mid v)>0\) as well.

Worked Calculations on Two-Step Trees

Worked Example: Compute Every Density from Branch Probabilities

A two-step tree first branches to \(A,B\), then each node branches to two leaves. Under \(\mathbb{P}\), the first-step probabilities are \(0.6,0.4\); conditional on \(A\), the second-step probabilities are \(0.75,0.25\); conditional on \(B\), they are \(0.5,0.5\). Under \(\mathbb{Q}\), the corresponding probabilities are \(0.3,0.7\), then \(0.4,0.6\) below \(A\) and \(0.2,0.8\) below \(B\). Find the leaf densities and all node densities.

First multiply the branch probabilities to obtain each leaf probability. Label the leaves \(A_1,A_2,B_1,B_2\). Under \(\mathbb{P}\), their probabilities are \(0.6(0.75)=0.45\), \(0.6(0.25)=0.15\), \(0.4(0.5)=0.20\), and \(0.4(0.5)=0.20\). Under \(\mathbb{Q}\), they are \(0.3(0.4)=0.12\), \(0.3(0.6)=0.18\), \(0.7(0.2)=0.14\), and \(0.7(0.8)=0.56\). Both sets sum to \(1\).

Divide each \(\mathbb{Q}\)-probability by its \(\mathbb{P}\)-probability. The terminal densities, in the same order, are \(0.12/0.45=4/15\), \(0.18/0.15=6/5\), \(0.14/0.20=7/10\), and \(0.56/0.20=14/5\). At the first-step nodes, the node-ratio formula gives \(Z_1(A)=0.3/0.6=1/2\) and \(Z_1(B)=0.7/0.4=7/4\), while \(Z_0=1\).

Check: At \(A\), the conditional \(\mathbb{P}\)-average of the two terminal densities is \(0.75(4/15)+0.25(6/5)=1/5+3/10=1/2=Z_1(A)\). At \(B\), it is \(0.5(7/10)+0.5(14/5)=7/20+28/20=7/4=Z_1(B)\). At the root, \(0.6(1/2)+0.4(7/4)=3/10+7/10=1=Z_0\). All leaf probabilities under both measures are positive, so the measures are equivalent.

At any time, a density is a value attached to the currently observed node—not an average over possibilities under \(\mathbb{Q}\). The averaging that gives the next density is under \(\mathbb{P}\), because \(Z_t\) is defined by \(\mathbb{P}\)-conditional expectation.

Worked Example: A Three-Step Martingale Check

Consider a three-step binary tree. At the first step, \(U,V\) have probabilities \(1/2,1/2\) under \(\mathbb{P}\), and \(1/4,3/4\) under \(\mathbb{Q}\). At the second step, both children of every node have probabilities \(1/2,1/2\) under \(\mathbb{P}\). Under \(\mathbb{Q}\), the conditional probabilities of the first child are \(1/4\) at \(U\), \(3/5\) at \(V\), and the probabilities of the second child are their complements. At the last step, the \(\mathbb{P}\)-probabilities are again \(1/2,1/2\) at every node. Under \(\mathbb{Q}\), the probabilities of the first child are \(4/5,2/5,1/2,1/4\), respectively, at the four time-two nodes \(U_1,U_2,V_1,V_2\). Compute and check the density process.

The first-step node ratios are \(Z_1(U)=(1/4)/(1/2)=1/2\) and \(Z_1(V)=(3/4)/(1/2)=3/2\). The time-two \(\mathbb{P}\)-probability of each node is \(1/4\). Under \(\mathbb{Q}\), the probabilities of \(U_1,U_2\) are \((1/4)(1/4)=1/16\) and \((1/4)(3/4)=3/16\); those of \(V_1,V_2\) are \((3/4)(3/5)=9/20\) and \((3/4)(2/5)=3/10\). Thus \(Z_2\), in order, is \(1/4,3/4,9/5,6/5\), found by dividing each probability by \(1/4\).

The eight terminal \(\mathbb{P}\)-probabilities are all \(1/8\). The terminal \(\mathbb{Q}\)-probabilities, in pairs below \(U_1,U_2,V_1,V_2\), are \((1/20,1/80)\), \((3/40,9/80)\), \((9/40,9/40)\), and \((3/40,9/40)\). They sum to \(1\); dividing each by \(1/8\) gives the terminal densities \((2/5,1/10)\), \((3/5,9/10)\), \((9/5,9/5)\), and \((3/5,9/5)\).

Check: The conditional \(\mathbb{P}\)-averages of the terminal pairs are \(1/4,3/4,9/5,6/5\), exactly the corresponding \(Z_2\) values. Averaging \(Z_2\) at the children of \(U\) gives \(\tfrac12(1/4)+\tfrac12(3/4)=1/2=Z_1(U)\); at \(V\) it gives \(\tfrac12(9/5)+\tfrac12(6/5)=3/2=Z_1(V)\). Finally, the root average is \(\tfrac12(1/2)+\tfrac12(3/2)=1\).

Constructing a Measure from Terminal Weights

Proposition: Let \(L\) be a strictly positive function on every leaf of a finite tree, and suppose \(\mathbb{E}_{\mathbb{P}}[L]=1\). Defining \(\mathbb{Q}(\{\omega\})=L(\omega)\mathbb{P}(\{\omega\})\) gives a probability measure equivalent to \(\mathbb{P}\), with terminal density \(L\). Its density process is obtained by taking the conditional \(\mathbb{P}\)-average of \(L\) at each node.

Proof. Each assigned leaf mass is positive because both \(L(\omega)\) and \(\mathbb{P}(\{\omega\})\) are positive. The masses sum to \(\sum_\omega L(\omega)\mathbb{P}(\{\omega\})=\mathbb{E}_{\mathbb{P}}[L]=1\), so they define a probability measure. Since every leaf has positive mass under both measures, the measures are equivalent. For any event \(A\), summing the assigned masses over its leaves gives \(\mathbb{Q}(A)=\sum_{\omega\in A}L(\omega)\mathbb{P}(\{\omega\})=\mathbb{E}_{\mathbb{P}}[\mathbf{1}_A L]\). This identifies \(L\) as the Radon–Nikodym derivative. The conditional-expectation definition then gives the stated node values. \(\square\)

Worked Example: Normalize Positive Terminal Scores

Let four leaves have \(\mathbb{P}\)-probability \(1/4\) each. Suppose their positive scores are \(3,1,2,2\). Construct the equivalent measure obtained by normalizing these scores, and compute the density at the root and at the first-step nodes, where the first two leaves form \(A\) and the last two form \(B\).

The mean score is \(\mathbb{E}_{\mathbb{P}}[L_{\mathrm{raw}}]=(3+1+2+2)/4=2\). Therefore the normalized terminal density values are \(3/2,1/2,1,1\). The resulting \(\mathbb{Q}\)-leaf probabilities are these values times \(1/4\): \(3/8,1/8,1/4,1/4\). They are positive and sum to \(3/8+1/8+1/4+1/4=1\), so they define an equivalent probability measure.

The node probabilities are \(\mathbb{P}(A)=\mathbb{P}(B)=1/2\), \(\mathbb{Q}(A)=3/8+1/8=1/2\), and \(\mathbb{Q}(B)=1/4+1/4=1/2\). Hence \(Z_0=1\), \(Z_1(A)=1\), and \(Z_1(B)=1\). Check: the conditional averages of the terminal densities are \(\tfrac12(3/2)+\tfrac12(1/2)=1\) at \(A\) and \(\tfrac12(1)+\tfrac12(1)=1\) at \(B\); their root average is also \(1\).

Common Mistake: Using a Leaf Density at an Earlier Node

A terminal density is generally not the density at an earlier time. For example, in the first worked example, the density at leaf \(A_1\) is \(4/15\), but the density at node \(A\) is \(1/2\). Replacing \(Z_1(A)\) by \(4/15\) is incorrect: the node contains both \(A_1\) and \(A_2\), so its density must average over both leaves with their conditional \(\mathbb{P}\)-probabilities.

The wrong calculation would set \(Z_1(A)=4/15\), then claim the root average is \(0.6(4/15)+0.4(7/4)=4/25+7/10=43/50\), not \(1\). The correction is to use \(Z_1(A)=0.75(4/15)+0.25(6/5)=1/2\). Then \(0.6(1/2)+0.4(7/4)=1\). A failed normalization or parent-child average is a useful warning that a value has been attached to the wrong node or averaged using the wrong probabilities.

Finite trees are useful because they turn an abstract change of measure into a sequence of auditable arithmetic checks. To verify a proposed density process, check that terminal values are positive, their \(\mathbb{P}\)-expectation is one, and each parent value is the conditional \(\mathbb{P}\)-average of its children. In a finite filtration these checks establish the required martingale consistency at every time.

Check Your Understanding

Use conditional averages under \(\mathbb{P}\) when checking each node value.

  1. On a two-leaf space with \(\mathbb{P}\)-probabilities \(1/3,2/3\) and \(\mathbb{Q}\)-probabilities \(1/2,1/2\), compute both terminal densities and verify their \(\mathbb{P}\)-expectation is \(1\).
  2. Explain why equivalence on a finite tree with positive-probability leaves requires every terminal density value to be strictly positive.
  3. At a node whose two children have conditional \(\mathbb{P}\)-probabilities \(1/4,3/4\) and density values \(2,2/3\), compute the parent density and check it is the conditional average.
  4. If positive terminal scores have \(\mathbb{P}\)-expectation \(c\), what condition on \(c\) is needed to normalize them into a density, and how are they normalized?
  5. Give one reason the root density must equal \(1\), even when terminal density values are not all equal.