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

The mean of a sum of two squared OU fluctuations (the Feller-borderline CIR mean)

MathFin.Models.Rates.CIRSquaredOUMSC 60J60MSC 60G15MSC 91G30 source

Each component is an Ornstein–Uhlenbeck fluctuation in its Wiener representation,

Xᵢ t := x_{i0} e^{−(k/2)t} + s ∫₀ᵗ e^{−(k/2)(t−u)} dBᵢ_u,

which is the Vasicek short rate of Models/Rates/VasicekSDEGaussian at mean level 0, speed k/2 and volatility s; its law N(x_{i0}e^{−(k/2)t}, (s²/k)(1 − e^{−kt})) is vasicekShortRate_hasLaw_gaussian. With v₀ := x_{10}² + x_{20}² and θ := 2s²/k (so 2kθ = (2s)², the Feller-borderline parametrization of dV = k(θ − V) dt + 2s√V dW), V t := (X₁ t)² + (X₂ t)² has mean 𝔼[V t] = θ(1 − e^{−kt}) + v₀e^{−kt} (cirVariance_mean), the mean of the CIR process from v₀.

The statements are per-time: V t is a random variable for each t. That V solves the CIR SDE is not proved; it needs B₁, B₂ independent (Lévy's characterization of the driving Brownian motion of √V), which the mean computation does not use.

Main definitions

  • ouProcess: the Ornstein–Uhlenbeck fluctuation X_t = x₀e^{−(k/2)t} + s ∫₀ᵗ e^{−(k/2)(t−u)} dB_u in its Wiener representation.
  • cirTheta: the long-run level θ := 2s²/k of the Feller-borderline parametrization.
  • cirVariance: the sum of squares V_t = (X₁_t)² + (X₂_t)² of two OU fluctuations.

Main results

Public API (all in namespace MathFin.CIRSquaredOU):

  • ouProcess, ouProcess_integral_sq — the OU fluctuation and its second moment;
  • cirTheta, cirTheta_borderline, cirVariance, cirVariance_nonneg, cirVariance_mean — the long-run level, the sum of squares, its nonnegativity and its mean.

References

  • J. C. Cox, J. E. Ingersoll and S. A. Ross, A theory of the term structure of interest rates [CoxIngersollRoss1985]

Tags

CIR process, Ornstein–Uhlenbeck, squared Bessel, Feller condition, sum of squares, mean-reverting, MSC 60J60, MSC 60G15, MSC 91G30

Import neighbourhood

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

Corpus entries

mf-cir-squared-ou-mean · interest_rates.json · full statement
Mean of a Sum of Two Squared OU Fluctuations (Feller-Borderline CIR Mean)

The sum of squares of two OU fluctuations e^{-kt/2}(x_{i0} + s∫₀ᵗ e^{ku/2}dB_i) has mean θ(1−e^{−kt}) + v₀e^{−kt}, θ = 2s²/k, the mean of the Feller-borderline CIR process. That V solves the CIR SDE (which needs B₁, B₂ independent) is not proved.

Declarations 8

defMathFin.CIRSquaredOU.ouProcesssource
{Ω : Type u_1} → {mΩ : MeasurableSpace Ω} → {μ : Measure Ω} → {B : NNReal → Ω → ℝ} → IsPreBrownianReal B μ → (k : ℝ) → ℝ → ℝ → 0 < k → NNReal → Ω → ℝ

The OU fluctuation X_t = x₀e^{−(k/2)t} + s ∫₀ᵗ e^{−(k/2)(t−u)} dB_u: the Vasicek short rate in its Wiener representation at mean level 0, speed k/2, volatility s.

theoremMathFin.CIRSquaredOU.ouProcess_integral_sqsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) {k : ℝ} (hk : 0 < k) (s x0 : ℝ) (t : NNReal), ∫ (ω : Ω), ouProcess hB k s x0 hk t ω ^ 2 ∂μ = x0 ^ 2 * Real.exp (-(k * ↑t)) + s ^ 2 / k * (1 - Real.exp (-(k * ↑t)))

The OU second moment 𝔼[X_t²] = x₀²e^{−kt} + (s²/k)(1 − e^{−kt}), from the Gaussian law vasicekShortRate_hasLaw_gaussian.

used by 1: cirVariance_mean
theoremMathFin.CIRSquaredOU.ouProcess_sq_integrablesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) {k : ℝ} (hk : 0 < k) (s x0 : ℝ) (t : NNReal), Integrable (fun ω => ouProcess hB k s x0 hk t ω ^ 2) μ

The OU fluctuation is square integrable: a constant plus a multiple of an L² element.

used by 1: cirVariance_mean
defMathFin.CIRSquaredOU.cirThetasource
ℝ → ℝ → ℝ

The long-run level θ := 2s²/k, the Feller-borderline parametrization of dV = k(θ − V) dt + 2s√V dW.

theoremMathFin.CIRSquaredOU.cirTheta_borderlinesource
∀ (s k : ℝ), k ≠ 0 → 2 * k * cirTheta s k = (2 * s) ^ 2

The borderline identity 2kθ = (2s)² (false at k = 0, where θ = 0 by Lean's x/0 = 0).

defMathFin.CIRSquaredOU.cirVariancesource
{Ω : Type u_1} → {mΩ : MeasurableSpace Ω} → {μ : Measure Ω} → {B1 B2 : NNReal → Ω → ℝ} → IsPreBrownianReal B1 μ → IsPreBrownianReal B2 μ → (k : ℝ) → ℝ → ℝ → ℝ → 0 < k → NNReal → Ω → ℝ

The sum of squares V_t := (X₁_t)² + (X₂_t)² of two OU fluctuations, Xᵢ driven by Bᵢ from x_{i0}.

theoremMathFin.CIRSquaredOU.cirVariance_nonnegsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {B1 B2 : NNReal → Ω → ℝ} (hB1 : IsPreBrownianReal B1 μ) (hB2 : IsPreBrownianReal B2 μ) (k s x10 x20 : ℝ) (hk : 0 < k) (t : NNReal) (ω : Ω), 0 ≤ cirVariance hB1 hB2 k s x10 x20 hk t ω

V_t(ω) ≥ 0 for every (t, ω).

theoremMathFin.CIRSquaredOU.cirVariance_meansource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B1 B2 : NNReal → Ω → ℝ} (hB1 : IsPreBrownianReal B1 μ) (hB2 : IsPreBrownianReal B2 μ) {k : ℝ} (hk : 0 < k) (s x10 x20 : ℝ) (t : NNReal), ∫ (ω : Ω), cirVariance hB1 hB2 k s x10 x20 hk t ω ∂μ = cirTheta s k * (1 - Real.exp (-(k * ↑t))) + (x10 ^ 2 + x20 ^ 2) * Real.exp (-(k * ↑t))

The mean 𝔼[V_t] = θ(1 − e^{−kt}) + v₀e^{−kt}, θ = 2s²/k, v₀ = x_{10}² + x_{20}²: the sum of the two component second moments. Independence of B₁, B₂ is not used.