Zero-coupon bond pricing by risk-neutral valuation, Feynman-Kac, and Monte Carlo simulation
Mar 22, 2021
13 min read
The Vasiček model is an interest rate model which specifies the short rate under the risk-neutral dynamics (or -dynamics) as
with initial condition and denoting a standard Brownian motion driving the stochastic differential equation. An explicit expression for can be derived using Itô calculus (see, e.g. Mikosch (1998); Chapter 3). To solve , we try the solution . The Itô lemma implies
The RHS of no longer depends on and we can thus integrate to find expressions for . This result is important for two reasons. First, we can integrate over the range to find
After some rearrangments the explicit solution for is
With this explicit expression for we can calculate its mean and variance. Since stochastic integrals have zero mean we have
where we defined . The long-run mean of the process is . Moreover, by Itô isometry the variance of the process is
Second, is the starting point to derive an exact discretization of . Such a discretization will allow us to simulate paths of that can later be used to value interest rate derivatives. Given a time step , we now integrate over the interval to obtain
The discretized process of thus follows an AR(1) model with intercept , autoregressive coefficient , and innovation process . These innovations have some interesting properties. First, note how the integration intervals of subsequent steps of the discretization do not overlap. For example, depends on , whereas depends on . With increments of Brownian motions being independent, we must conclude that these stochastic integrals are independent. Second, stochastic integrals are normally distributed and mean zero. The distributions of the innovations is thus fully specified after computing its variance, or
where we defined . Overall, we can simulate data from the Vasiček model using as the starting value and moving forward according to the recursion
Some sample paths of the Vasiček model are displayed in Figure 1.
Figure 1: An illustration of 5 sample paths for the Vasiček model (grey lines), the mean function (blue line), and 95% (pointwise) confidence intervals (light blue area).
Risk-neutral valuation of a zero-coupon bond
Let denote a contingent claim with maturity date . According to the risk-neutral valuation formula (cf. Proposition 8.1.2 in Bingham and Kiesel (2004)), the price at time of this claim can be computed as . Since the zero-coupon bond, or -bond, promises a cash payment of 1 at maturity, its time- price is given by
where is the -algebra containing all information up to time . In this section we will evaluated analytically. That is, starting from the explicit expression for in , we first derive the distribution of and subsequently evaluated the conditional expectation. The first step is rather tedious and explained in detail in the Appendix. It turns out that is normally distributed with mean
and variance
The expectation in can be calculated rather quickly using moment generating functions. For a random variable , its moment generating function is defined as . If is normally distributed, say , then . To evaluate , we use this result for and find that the time- price of a zero-coupon bond with maturity equals
We can translate these zero-coupon bond prices into yields using
At long maturities, as , the yield converges to . Visualisations of the complete yield curve are shown in the section entitled Verification by Monte Carlo simulation.
Feynman-Kac formula: solving the PDE
Consider a short-rate model with -dynamics given by
and write to explicitly indicate the dependence on . For brevity, we will sometimes in this section omit the function arguments, e.g. write instead of . The Feynman-Kac formula (see, e.g. Bingham and Kiesel (2004); Proposition 8.2.2) stipulates that solves the partial differential equation (PDE)
with terminal condition for all. We make two observations. First, we have and for the Vasiček model. Second, it is hard (or sometimes even impossible) to solve analytically. We are however in the lucky situation where and are linear in . It can be shown (cf. Filipović (2009); Proposition 5.2) that this leads to an affine term structure, that is the solution must take the form
for appropriate and .
We can now solve the PDE by inserting this specific functional form into and see what this implies for and . Since , and , we find
or equivalently after collecting terms
The boundary condition is or . If these relations need to hold for all , then intercept terms should be zero as well as the expressions proportional to . The PDE for is now seen to reduce to a set of coupled ordinary differential equations (ODEs):
The second equation in completely specifies . With some rewriting, we have . Integrating over gives
Together with the boundary condition we conclude that . Having found the explicit solution for , we can complete the derivations by
where we used and . The overall expression for coincides with the result from the previous section.
Verification by Monte Carlo simulation
If we like to avoid extensive algebraic computations, then we can opt for a simulation approach. That is, we approximate the expectation in by Monte Carlo simulation. Our example is . The steps are as follows:
Partition the interval in intervals of equal length. For , the implied grid points are .
Start from and use the AR(1) recursion with stepsize to simulate sample paths of the Vasiček model. We use to denote the realised value of the path at grid point .
Approximate by
The computation of requires choices for and . We like both these quantities to be large. A large number of simulated paths is needed because the expectation in $\mathbb{E}{\mathbb{Q}} \big[e^{-\int_0^T r(s) ds} \big]n\int_0^T r(s) ds\sum{j=1}^n r^{(i)}(t_j)\big[ t_j - t_{j-1} \big] = h \sum_{j=1}^n r^{(i)}(t_j)$.
Figure 2: Zero-coupon bond prices for various maturities. Analytical bond prices are depicted in red and simulated bond prices are shown by the black dots. The error bars are with denoting the standard error among replications of the bond price Monte Carlo simulation. All calculations in this figure are based on grid points.
Visual evidence for this simulated approach is available in Figures 2–3. We have taken , , , and . The (estimated) zero-coupon bond prices from are converted into yields. Figure 2 shows that: (1) differences between simulated and exact yields are small, and (2) variability between simulated yields decreases when increases from 50 to 500. The influence of is portrayed in Figure 3. In practice, we can use these kind of graphs to decide on suitable choices for and . Simply select a pair and verify whether the computed quantity is insensitive to changes therein.
Figure 3: The simulated bond price for a maturity of 5 years. The true bond price, , is independent of (red). The black dots are obtained by Monte Carlo simulation. The error bars are with denoting the standard error among replications.
Appendix
Recall and note how it implies
The integral in this last equation will be used at several occasions in the derivations below. Using the expression for , we have
We will develop these three contributions separately. Term is easiest. Using , we find
Figure 4: The separation of the area of integration into two parts.
Term requires a change in the order of integration. Inspecting the area of integration in Figure 4, we arrive at the following integral relation
We apply exactly the same change in the order of integration to term . The result is
If terms – are added together, then we see that is an affine transformation of the prevailing short rate , i.e.
Conditional on all information up to time t, i.e. conditional on , the first two terms are deterministic. Moreover, since (1) increments of Brownian motions are independent of the current value and (2) stochastic integrals are normally distributed, we know that is normally distributed with mean
and by Itô isometry a variance of
References
N. H. Bingham and R. Kiesel (2004), Risk-neutral Valuation, Springer Finance
D. Filipović (2009), Term-structure Models, Springer Finance
T. Mikosch (1998), Elementary Stochastic Calculus with Finance in View, World Scientific