Tutorials › Stochastic Calculus › Exact Conditional Moments In The Vasicek Model

Explicit Solutions: Linear SDEs · Tutorial 247 of 600

Exact Conditional Moments In The Vasicek Model

Learn how the Gaussian transition law gives exact conditional moments and probabilities for a Vasicek rate at a fixed future time.

Advanced 12 min read

What You'll Learn

  • Derive the conditional Gaussian transition law from the Vasicek SDE.
  • Calculate conditional means, variances, and second moments.
  • Convert a future-rate threshold into a standard normal probability.
  • Handle zero-volatility and zero-horizon cases without standardizing.
  • Distinguish terminal threshold probabilities from pathwise level-crossing probabilities.
  • Check how the model measure determines the probability being calculated.

From Mean Reversion to Conditional Distributions

The Vasicek model describes a rate that is pulled toward a long-run level while receiving continuous random shocks. Its explicit solution does more than identify the average future rate: it gives the entire conditional distribution at a fixed horizon. From that Gaussian distribution, conditional variances, second moments, and terminal threshold probabilities follow directly.

Work on a filtered probability space \((\Omega,\mathcal{F},(\mathcal{F}_t)_{t\ge0},\mathbb{P})\), where \(B_t\) is a standard Brownian motion with respect to the filtration. For constants \(\kappa>0\), \(\theta\in\mathbb{R}\), and \(\sigma\in\mathbb{R}\), the Vasicek SDE is

$$ dr_t=\kappa(\theta-r_t)\,dt+\sigma\,dB_t. $$

Here \(\kappa\) is the speed of mean reversion, \(\theta\) is the long-run level, and \(\sigma\) is the diffusion coefficient. The drift is \(\kappa(\theta-r_t)\); it is positive below \(\theta\), negative above \(\theta\), and zero at \(\theta\). The coefficients are globally Lipschitz in the state and satisfy linear growth: the drift has Lipschitz constant \(\kappa\), and its absolute value is bounded by \(\kappa(|\theta|+|r|)\); the diffusion is constant and bounded. The standard Lipschitz existence-and-uniqueness theorem therefore applies. The calculations below use the explicit solution.

Fix \(s\ge0\) and \(h\ge0\). Since \(r_s\) is \(\mathcal{F}_s\)-measurable, conditional moments below are random variables determined by the information available at time \(s\). All stochastic integrals in the derivation are Itô integrals. In particular, the deterministic integrand \(u\mapsto e^{-\kappa(s+h-u)}\) on \([s,s+h]\) is progressively measurable and has finite squared integral, so it belongs to \(\mathcal{L}^2\).

The Conditional Gaussian Transition Law

Theorem: Let \(h\ge0\). Define \(m_{s,h}=\theta+(r_s-\theta)e^{-\kappa h}\) and \(v_{s,h}^2=\dfrac{\sigma^2}{2\kappa}(1-e^{-2\kappa h})\). Then, conditionally on \(\mathcal{F}_s\), \(r_{s+h}\) is normal with mean \(m_{s,h}\) and variance \(v_{s,h}^2\). If \(h=0\) or \(\sigma=0\), this is understood as a degenerate normal distribution concentrated at \(m_{s,h}\).

Proof. Apply Itô’s formula to \(f(t,x)=e^{\kappa t}x\). Its partial derivatives are \(f_t(t,x)=\kappa e^{\kappa t}x\), \(f_x(t,x)=e^{\kappa t}\), and \(f_{xx}(t,x)=0\). Thus the \(\tfrac12 f_{xx}\sigma^2\,dt\) correction is zero, and

$$ d(e^{\kappa t}r_t) =\kappa e^{\kappa t}r_t\,dt +e^{\kappa t}\big(\kappa(\theta-r_t)\,dt+\sigma\,dB_t\big) =\kappa\theta e^{\kappa t}\,dt+\sigma e^{\kappa t}\,dB_t. $$

Integrate from \(s\) to \(s+h\), then multiply by \(e^{-\kappa(s+h)}\). This gives

$$ r_{s+h} =\theta+(r_s-\theta)e^{-\kappa h} +\sigma\int_s^{s+h}e^{-\kappa(s+h-u)}\,dB_u. $$

The integrand in this last Itô integral is deterministic. Brownian increments after time \(s\) are independent of \(\mathcal{F}_s\), so the integral is independent of \(\mathcal{F}_s\) and is normally distributed with mean zero. Its variance, by the Itô isometry, is

$$ \sigma^2\int_s^{s+h}e^{-2\kappa(s+h-u)}\,du =\frac{\sigma^2}{2\kappa}(1-e^{-2\kappa h}). $$

Adding the \(\mathcal{F}_s\)-measurable term \(m_{s,h}\) gives the claimed conditional normal law. When \(h=0\) or \(\sigma=0\), the stochastic term has variance zero and the same representation gives the stated degenerate case. \(\square\)

The variance depends on the time gap and model parameters, not on the current rate. The conditional mean does depend on \(r_s\): its distance from \(\theta\) is reduced by the factor \(e^{-\kappa h}\). This distinction is central when using the transition law for calculations.

Worked Example: Conditional Mean, Variance, and Second Moment

Take \(\kappa=2\), \(\theta=0.05\), \(\sigma=0.02\), \(r_s=0.03\), and \(h=0.5\). Calculate the conditional mean, variance, and second moment of \(r_{s+h}\) given \(\mathcal{F}_s\).

First, \(e^{-\kappa h}=e^{-1}\), so

$$ m_{s,h}=0.05+(0.03-0.05)e^{-1} =0.05-0.02e^{-1} \approx 0.04264. $$

For the variance, substitute the parameters into the transition formula. In particular, \(\sigma^2/(2\kappa)=0.02^2/(2\cdot2)=0.0004/4=0.0001\), giving

$$ v_{s,h}^2=0.0001(1-e^{-2})\approx 0.00008647, \qquad v_{s,h}=\sqrt{0.0001(1-e^{-2})}\approx 0.009299. $$

The conditional second moment is the variance plus the square of the conditional mean:

$$ \mathbb{E}[r_{s+h}^2\mid\mathcal{F}_s] =(0.05-0.02e^{-1})^2+0.0001(1-e^{-2}) \approx 0.001905. $$

Check: Subtracting the squared mean from the exact second-moment expression leaves \(0.0001(1-e^{-2})\), the variance just calculated. The unrounded expressions are used in this identity; the displayed decimal values are rounded.

Conditional Moments and Terminal Thresholds

Proposition: Under the assumptions of the transition-law theorem, the conditional expectation, variance, and second moment are \(\mathbb{E}[r_{s+h}\mid\mathcal{F}_s]=m_{s,h}\), \(\operatorname{Var}(r_{s+h}\mid\mathcal{F}_s)=v_{s,h}^2\), and \(\mathbb{E}[r_{s+h}^2\mid\mathcal{F}_s]=m_{s,h}^2+v_{s,h}^2\), almost surely.

Proof. The transition-law theorem represents \(r_{s+h}\) as \(m_{s,h}+G\), where conditionally on \(\mathcal{F}_s\), \(G\) is centered normal with variance \(v_{s,h}^2\). Thus its conditional mean is zero and its conditional second moment is \(v_{s,h}^2\). Linearity of conditional expectation gives \(\mathbb{E}[r_{s+h}\mid\mathcal{F}_s]=m_{s,h}\). By the definition of conditional variance,

$$ \operatorname{Var}(r_{s+h}\mid\mathcal{F}_s) =\mathbb{E}[(r_{s+h}-m_{s,h})^2\mid\mathcal{F}_s] =\mathbb{E}[G^2\mid\mathcal{F}_s] =v_{s,h}^2. $$

Finally, expanding the square gives \(\mathbb{E}[(m_{s,h}+G)^2\mid\mathcal{F}_s] =m_{s,h}^2+2m_{s,h}\mathbb{E}[G\mid\mathcal{F}_s]+\mathbb{E}[G^2\mid\mathcal{F}_s] =m_{s,h}^2+v_{s,h}^2\). All three identities hold almost surely. \(\square\)

Suppose \(h>0\) and \(\sigma\ne0\), so \(v_{s,h}>0\). Let \(\Phi\) denote the standard normal cumulative distribution function, \(\Phi(x)=\mathbb{P}(N\le x)\) for \(N\sim N(0,1)\). For any \(\mathcal{F}_s\)-measurable threshold \(L\), standardizing the conditional normal variable yields

$$ \mathbb{P}(r_{s+h}>L\mid\mathcal{F}_s) =1-\Phi\!\left(\frac{L-m_{s,h}}{v_{s,h}}\right), \qquad \mathbb{P}(r_{s+h}\le L\mid\mathcal{F}_s) =\Phi\!\left(\frac{L-m_{s,h}}{v_{s,h}}\right). $$

The normal distribution has no atoms when its variance is positive, so replacing \(>\) by \(\ge\), or \(\le\) by \(<\), does not change these probabilities. If \(h=0\) or \(\sigma=0\), do not standardize by a zero standard deviation: the rate is \(m_{s,h}\) with conditional probability one, and the probability of \(r_{s+h}>L\) is \(\mathbf{1}_{\{m_{s,h}>L\}}\).

Worked Example: A Threshold One Standard Deviation Above the Mean

Use the parameters of the preceding example and take the threshold to be one conditional standard deviation above the conditional mean. Find the conditional probability that the terminal rate is strictly above this threshold.

Set \(L=m_{s,h}+v_{s,h}\). Substitution gives \(L=0.05-0.02e^{-1}+\sqrt{0.0001(1-e^{-2})}\approx0.05194\). The standardized threshold is exactly

$$ \frac{L-m_{s,h}}{v_{s,h}}=\frac{v_{s,h}}{v_{s,h}}=1. $$

Therefore

$$ \mathbb{P}(r_{s+h}>L\mid\mathcal{F}_s)=1-\Phi(1)\approx0.1587. $$

Check: The threshold is one standard deviation above the mean by its definition, and the right tail of a standard normal above one is \(1-\Phi(1)\). Since the conditional variance is positive, the probability of equality with the threshold is zero.

Worked Example: A Threshold Equal to the Conditional Mean

Take \(\kappa=1\), \(\theta=0.04\), \(\sigma=0.03\), \(r_s=0.06\), and \(h=\ln 2\). Find the conditional probability that the terminal rate exceeds \(0.05\).

Here \(e^{-\kappa h}=e^{-\ln 2}=1/2\), so the conditional mean is

$$ m_{s,h}=0.04+(0.06-0.04)\frac12=0.05. $$

The conditional variance is

$$ v_{s,h}^2=\frac{0.03^2}{2}(1-e^{-2\ln 2}) =\frac{0.0009}{2}\left(1-\frac14\right) =0.0003375. $$

This variance is positive, so the conditional distribution is continuous and symmetric about \(0.05\). Consequently,

$$ \mathbb{P}(r_{s+h}>0.05\mid\mathcal{F}_s) =1-\Phi\!\left(\frac{0.05-0.05}{\sqrt{0.0003375}}\right) =1-\Phi(0)=0.5. $$

Check: A centered, nondegenerate normal variable has equal probability on either side of its mean; the two strict tail probabilities sum to one because the probability of equaling the mean is zero.

What “Crossing a Level” Means

The transition formulas calculate a terminal threshold event, such as \(r_{s+h}>L\). That is not in general the same event as the rate touching or crossing \(L\) at some time between \(s\) and \(s+h\). The latter is a pathwise event involving the whole trajectory, for example \(\{\sup_{s\le u\le s+h}r_u\ge L\}\); a one-time transition distribution does not determine its probability by the standardization above. Such a first-passage or boundary-crossing calculation requires a separate analysis. Keep the event being calculated explicit.

There is also a measure choice. The displayed probabilities and conditional expectations are under \(\mathbb{P}\), because the SDE was stated with a Brownian motion under \(\mathbb{P}\). In a pricing application, if the Vasicek SDE and its parameters are specified under the risk-neutral measure \(\mathbb{Q}\), the same derivation applies under \(\mathbb{Q}\), and the resulting probability is a \(\mathbb{Q}\)-conditional probability. One must not silently use parameters or a Brownian motion from one measure while interpreting the expectation under the other.

A Common Calculation Error

A frequent mistake is to mis-evaluate the factor \(\sigma^2/(2\kappa)\), often by squaring or dividing incorrectly. In the first worked example, the coefficient is \(0.02^2/(2\cdot2)\), which is \(0.0004/4=0.0001\), not \(0.000025\). The correct variance is therefore \(0.0001(1-e^{-2})\), approximately \(0.00008647\), and the standard deviation is approximately \(0.009299\). Using \(0.000025(1-e^{-2})\) would make the variance four times too small and would also give an incorrect standard deviation, second moment, and threshold probability.

A reliable check is to keep the variance in the second-moment identity: \(\mathbb{E}[r_{s+h}^2\mid\mathcal{F}_s]-\mathbb{E}[r_{s+h}\mid\mathcal{F}_s]^2=v_{s,h}^2\). This also clarifies why the second moment is not just the square of the conditional mean.

Check Your Understanding

In each question, condition on the information at the stated starting time, and distinguish terminal events from events involving the path between observation times.

  1. Starting from the transition law, derive the conditional mean and variance when the horizon is positive and the volatility is nonzero.
  2. Explain why the conditional second moment is the sum of the squared conditional mean and the conditional variance.
  3. For a threshold equal to the conditional mean, what is the conditional probability of a strict terminal exceedance when the conditional variance is positive?
  4. How should the terminal threshold probability be calculated when the horizon is zero or the volatility is zero?
  5. Why does the transition law alone not give the probability that the rate touches a specified level at any time during the horizon?