MathFin
Map / Valuation · Interest rates / MathFin.Models.Rates.VasicekMarketPriceOfRisk

Vasicek short rate under a constant market price of risk

MathFin.Models.Rates.VasicekMarketPriceOfRiskMSC 91G30MSC 60H30JEL E43 source

Textbook background (the SDEs are not formalized): with a constant market price of risk λ, the Vasicek short rate has real-world dynamics dr = κ(θ − r)dt + σ dB and, under the Girsanov measure Q_λ = μ.withDensity(exp(−λB_T − λ²T/2)), dynamics dr = κ(θ − λσ/κ − r)dt + σ dB^λ with B^λ_t = B_t + λt. The risk-adjusted long-run level is θ − λσ/κ. In the Lean, r_T and ∫₀ᵀ r_s ds are carried in their Wiener representations (vasicekShortRate_hasLaw_gaussian, vasicekIntegratedRate), as elsewhere in the Vasicek layer. That they solve the SDE, and the time-order swap behind the integrated rate, are cited, not proved. Q_λ is the measure the library constructs: isProbabilityMeasure_withDensity_girsanov shows it is a probability measure, and with a filtration Btheta_isQBrownianMotion shows that B^λ has, on [0, T], the increments of a Q_λ-Brownian motion.

Main results

  • vasicekSDEMean_physical_eq_riskNeutral: an algebraic identity of closed forms (κ ≠ 0): vasicekSDEMean at level θ equals vasicekSDEMean at the risk-adjusted level θ − λσ/κ plus λσ·B(T); the analogue of bsTerminal_physical_eq_riskNeutral.
  • vasicekShortRate_hasLaw_girsanov: under Q_λ, r_T ~ N(mean_θ − λσ·B(T), var). By the identity above this is the law of the Vasicek short rate at level θ − λσ/κ.
  • vasicekBondPrice_girsanov: the Q_λ-price of the zero-coupon bond, 𝔼_{Q_λ}[exp(−∫₀ᵀ r_s ds)], equals 𝔼_μ[exp(−∫₀ᵀ r_s ds)] at level θ − λσ/κ, in closed form exp(−M_{θ−λσ/κ}(T) + σ²V(T)/2) (vasicekBondPrice_eq).
  • vasicekShortRate_hasLaw_esscherTilt: a static Esscher tilt of r_T's own normalised driver under which r_T has the same law N(mean_θ − λσ·B(T), var). The tilt reproduces the terminal marginal only: it is T-dependent, does not make B + λt a Brownian motion, and prices nothing else. vasicekShortRate_map_esscherTilt_eq_map_girsanov records that it agrees with Q_λ on the law of r_T.

Both Girsanov results come from the Cameron–Martin shift wienerIntegralLp_hasLaw_girsanov: under Q_λ every Wiener integral ∫₀ᵀ f dB is N(−λ∫₀ᵀ f, ∫₀ᵀ f²). The joint law of (B_T, ∫₀ᵀ e^{−κ(T−s)} dB_s) is not needed. The mean shift is −λσ∫₀ᵀ e^{−κ(T−s)} ds = −λσ·B(T) for r_T, and −λσ∫₀ᵀ g = −λσ(T − B(T))/κ for the integrated rate.

References

  • D. Brigo and F. Mercurio, Interest Rate Models --- Theory and Practice [BrigoMercurio2006], §3.2.1
  • S. E. Shreve, Stochastic Calculus for Finance II: Continuous-Time Models [ShreveSCFII], Thm. 5.2.3
  • O. Vasicek, An equilibrium characterization of the term structure [Vasicek1977]

Tags

market price of risk, Vasicek model, risk-neutral measure, Cameron–Martin, Esscher transform, risk-adjusted mean, MSC 91G30, MSC 60H30, JEL E43

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-vasicek-girsanov-short-rate-law · interest_rates.json · full statement
Vasicek Short Rate under the Market-Price-of-Risk Girsanov Measure

Vasicek short rate with κ > 0 and a constant market price of risk λ. Under the Girsanov measure Q_λ = μ.withDensity(exp(−λB_T − λ²T/2)), the terminal short rate r_T = r₀e^{−κT} + θ(1 − e^{−κT}) + σ∫₀ᵀ e^{−κ(T−s)} dB_s has the Gaussian law N(mean_θ − λσ·B(T), σ²(1 − e^{−2κT})/(2κ)), with B(T) = (1 − e^{−κT})/κ. This is the law of the Vasicek short rate at the risk-adjusted level θ − λσ/κ. Q_λ is the measure the library builds: a probability measure (isProbabilityMeasure_withDensity_girsanov) under which, with a filtration, B_t + λt has, on [0, T], the increments of a Brownian motion (Btheta_isQBrownianMotion). The proof uses the Cameron–Martin shift of Wiener integrals under Q_λ (mean −λ∫f, variance unchanged); no joint law of (B_T, ∫e^{−κ(T−s)}dB_s) is needed. The short rate and its time integral are carried in their Wiener representations (integrals of deterministic kernels against the pre-Brownian driver B under μ); that they solve the short-rate SDE, and the time-order swap behind the integrated rate, are cited, not proved.

mf-vasicek-girsanov-bond-price · interest_rates.json · full statement
Vasicek Bond Price under the Girsanov Measure Is the Risk-Adjusted Vasicek Price

Vasicek model with κ > 0 and a constant market price of risk λ. Under the Girsanov measure Q_λ = μ.withDensity(exp(−λB_T − λ²T/2)), the zero-coupon bond price E_{Q_λ}[exp(−∫₀ᵀ r_s ds)] equals the Vasicek bond formula E_μ[exp(−∫₀ᵀ r_s ds)] evaluated at the risk-adjusted level θ − λσ/κ, i.e. exp(−r₀B(T) − (θ − λσ/κ)(T − B(T)) + σ²V(T)/2). Under Q_λ the Wiener integral of the integrated kernel g is shifted by −λ∫₀ᵀ g = −λ(T − B(T))/κ, so σ∫₀ᵀ g dB shifts by −λσ(T − B(T))/κ, exactly the change of the integrated mean when θ drops by λσ/κ. The short rate and its time integral are carried in their Wiener representations (integrals of deterministic kernels against the pre-Brownian driver B under μ); that they solve the short-rate SDE, and the time-order swap behind the integrated rate, are cited, not proved.

Declarations 7

theoremMathFin.vasicekSDEMean_physical_eq_riskNeutralsource
∀ (r₀ θ κ σ lam T : ℝ), κ ≠ 0 → vasicekSDEMean r₀ θ κ T = vasicekSDEMean r₀ (θ - lam * σ / κ) κ T + lam * σ * vasicekBondB κ T

Real-world vs. risk-neutral Vasicek mean. An algebraic identity of the closed form vasicekSDEMean, for κ ≠ 0: replacing the long-run level θ by the risk-neutral level θ − lamσ/κ changes the terminal mean by −lamσ·(1 − e^{−κT})/κ.

theoremMathFin.integral_vasicekKernelsource
∀ (κ T : ℝ), κ ≠ 0 → ∫ (u : ℝ) in 0..T, vasicekKernel κ T u = vasicekBondB κ T

The mass of the Vasicek kernel: ∫₀ᵀ e^{−κ(T−s)} ds = B(T) (κ ≠ 0), by the FTC with antiderivative e^{−κ(T−s)}/κ. It is the covariance of ∫₀ᵀ e^{−κ(T−s)} dB_s with B_T.

theoremMathFin.integral_vasicekKernelLpsource
∀ {κ : ℝ} (hκ : 0 < κ) (T : NNReal), ∫ (u : ℝ) in Set.Ioc 0 ↑T, ↑↑(vasicekKernelLp κ ⋯ T) u = vasicekBondB κ ↑T

∫₀ᵀ e^{−κ(T−s)} ds = B(T) for the L² element of the kernel.

theoremMathFin.vasicekShortRate_hasLaw_girsanovsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (r₀ θ σ lam : ℝ) {κ : ℝ} (hκ : 0 < κ) (T : NNReal), HasLaw (fun ω => vasicekSDEMean r₀ θ κ ↑T + σ * ↑↑((wienerIntegralLp B hB T) (vasicekKernelLp κ ⋯ T)) ω) (gaussianReal (vasicekSDEMean r₀ θ κ ↑T - lam * σ * vasicekBondB κ ↑T) (vasicekSDEVariance σ κ ↑T).toNNReal) (μ.withDensity fun ω => ENNReal.ofReal (Real.exp (-lam * B T ω - lam ^ 2 * ↑T / 2)))

The Vasicek terminal short rate under the Girsanov measure. Under Q_λ = μ.withDensity(exp(−lam·B_T − lam²T/2)), the terminal short rate in its Wiener representation r_T = mean_θ + σ∫₀ᵀ e^{−κ(T−s)} dB_s has law

r_T ~ N(mean_θ − lam·σ·B(T), σ²(1 − e^{−2κT})/(2κ)), B(T) = vasicekBondB κ T:

the Cameron–Martin shift wienerIntegralLp_hasLaw_girsanov moves the mean of the Wiener integral by −lam·∫₀ᵀ e^{−κ(T−s)} ds = −lam·B(T) and keeps its variance. By vasicekSDEMean_physical_eq_riskNeutral the mean is vasicekSDEMean r₀ (θ − lam·σ/κ) κ T, the law of the Vasicek short rate at the risk-adjusted level. That the representation solves the SDE is cited, not proved.

theoremMathFin.vasicekBondPrice_girsanovsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (r₀ θ σ lam : ℝ) {κ : ℝ} (hκ : 0 < κ) (T : NNReal), (∫ (ω : Ω), Real.exp (-vasicekIntegratedRate hB r₀ θ σ hκ T ω) ∂μ.withDensity fun ω => ENNReal.ofReal (Real.exp (-lam * B T ω - lam ^ 2 * ↑T / 2))) = ∫ (ω : Ω), Real.exp (-vasicekIntegratedRate hB r₀ (θ - lam * σ / κ) σ hκ T ω) ∂μ

The Vasicek bond under the Girsanov measure is the Vasicek bond at the risk-adjusted level. With ∫₀ᵀ r_s ds in its Wiener representation vasicekIntegratedRate,

𝔼_{Q_λ}[exp(−∫₀ᵀ r_s ds)] = 𝔼_μ[exp(−∫₀ᵀ r^{θ − lam·σ/κ}_s ds)],

where the right side is the μ-expectation of vasicekBondPrice_eq at long-run level θ − lam·σ/κ, in closed form exp(−M_{θ−lam·σ/κ}(T) + σ²V(T)/2) (vasicekBondPrice_eq). Under Q_λ the Wiener integral of the integrated kernel g is shifted by −lam·∫₀ᵀ g = −lam·(T − B(T))/κ (wienerIntegralLp_hasLaw_girsanov, integral_vasicekIntegratedKernelLp), so σ∫₀ᵀ g dB shifts by −lam·σ·(T − B(T))/κ, exactly the change of M(T) when θ drops by lam·σ/κ.

theoremMathFin.vasicekShortRate_hasLaw_esscherTiltsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (r₀ θ σ lam : ℝ) {κ : ℝ} (hκ : 0 < κ) (T : NNReal),
  0 < T →
    have I := fun ω => ↑↑((wienerIntegralLp B hB T) (vasicekKernelLp κ ⋯ T)) ω;
    have s := √(vasicekSDEVariance 1 κ ↑T);
    have c := -(lam * vasicekBondB κ ↑T) / s;
    HasLaw (fun ω => vasicekSDEMean r₀ θ κ ↑T + σ * I ω) (gaussianReal (vasicekSDEMean r₀ θ κ ↑T - lam * σ * vasicekBondB κ ↑T) (vasicekSDEVariance σ κ ↑T).toNNReal) (μ.withDensity fun ω => ENNReal.ofReal (Real.exp (c * (I ω / s) - c ^ 2 / 2)))

Vasicek terminal law with the risk-adjusted mean, under a static Esscher tilt of the terminal driver. For κ > 0 and T > 0, let r_T = mean_θ + σ ∫₀ᵀ e^{−κ(T−s)} dB_s be the terminal short rate in its Wiener representation, and Z = (∫₀ᵀ e^{−κ(T−s)} dB_s)/√v its standard-normal driver (v = (1 − e^{−2κT})/(2κ)). Under the Esscher tilt μ.withDensity(exp(cZ − c²/2)) with c = −lam·B(T)/√v, the same r_T has law N(mean_θ − lamσ·B(T), var).

This tilt is a terminal-marginal device, not the pricing measure. It is a T-dependent tilt of r_T's own normalised driver. Under it B + lam·t is not a Brownian motion, the rest of the path (e.g. ∫₀ᵀ r_s ds) does not have its risk-adjusted law, and it prices no other payoff. The pricing statements are vasicekShortRate_hasLaw_girsanov and vasicekBondPrice_girsanov, under the Girsanov measure μ.withDensity(exp(−lam·B_T − lam²T/2)). That measure gives r_T the same law as this tilt (vasicekShortRate_map_esscherTilt_eq_map_girsanov).

theoremMathFin.vasicekShortRate_map_esscherTilt_eq_map_girsanovsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (r₀ θ σ lam : ℝ) {κ : ℝ} (hκ : 0 < κ) (T : NNReal),
  0 < T →
    have I := fun ω => ↑↑((wienerIntegralLp B hB T) (vasicekKernelLp κ ⋯ T)) ω;
    have s := √(vasicekSDEVariance 1 κ ↑T);
    have c := -(lam * vasicekBondB κ ↑T) / s;
    Measure.map (fun ω => vasicekSDEMean r₀ θ κ ↑T + σ * I ω) (μ.withDensity fun ω => ENNReal.ofReal (Real.exp (c * (I ω / s) - c ^ 2 / 2))) = Measure.map (fun ω => vasicekSDEMean r₀ θ κ ↑T + σ * I ω) (μ.withDensity fun ω => ENNReal.ofReal (Real.exp (-lam * B T ω - lam ^ 2 * ↑T / 2)))

The terminal Esscher tilt and the Girsanov measure give r_T the same law: N(mean_θ − lam·σ·B(T), var) under both (vasicekShortRate_hasLaw_esscherTilt, vasicekShortRate_hasLaw_girsanov). Only this terminal marginal is shared. The Girsanov measure also prices the bond (vasicekBondPrice_girsanov); the tilt does not.