# Cox–Ingersoll–Ross model

(Redirected from CIR process)
Three trajectories of CIR processes

In mathematical finance, the Cox–Ingersoll–Ross (CIR) model describes the evolution of interest rates. It is a type of "one factor model" (short rate model) as it describes interest rate movements as driven by only one source of market risk. The model can be used in the valuation of interest rate derivatives. It was introduced in 1985 by John C. Cox, Jonathan E. Ingersoll and Stephen A. Ross as an extension of the Vasicek model.

## The model

CIR process

The CIR model specifies that the instantaneous interest rate ${\displaystyle r_{t}}$ follows the stochastic differential equation, also named the CIR Process:

${\displaystyle dr_{t}=a(b-r_{t})\,dt+\sigma {\sqrt {r_{t}}}\,dW_{t}}$

where ${\displaystyle W_{t}}$ is a Wiener process (modelling the random market risk factor) and ${\displaystyle a}$, ${\displaystyle b}$, and ${\displaystyle \sigma \,}$ are the parameters. The parameter ${\displaystyle a}$ corresponds to the speed of adjustment to the mean ${\displaystyle b}$, and ${\displaystyle \sigma \,}$ to volatility. The drift factor, ${\displaystyle a(b-r_{t})}$, is exactly the same as in the Vasicek model. It ensures mean reversion of the interest rate towards the long run value ${\displaystyle b}$, with speed of adjustment governed by the strictly positive parameter ${\displaystyle a}$.

The standard deviation factor, ${\displaystyle \sigma {\sqrt {r_{t}}}}$, avoids the possibility of negative interest rates for all positive values of ${\displaystyle a}$ and ${\displaystyle b}$. An interest rate of zero is also precluded if the condition

${\displaystyle 2ab\geq \sigma ^{2}\,}$

is met. More generally, when the rate (${\displaystyle r_{t}}$) is close to zero, the standard deviation (${\displaystyle \sigma {\sqrt {r_{t}}}}$) also becomes very small, which dampens the effect of the random shock on the rate. Consequently, when the rate gets close to zero, its evolution becomes dominated by the drift factor, which pushes the rate upwards (towards equilibrium).

This process can be defined as a sum of squared Ornstein–Uhlenbeck process. The CIR is an ergodic process, and possesses a stationary distribution. The same process is used in the Heston model to model stochastic volatility.

### Distribution

• Future distribution
The distribution of future values of a CIR process can be computed in closed form:
${\displaystyle r_{t+T}={\frac {Y}{2c}},}$
where ${\displaystyle c={\frac {2a}{(1-e^{-aT})\sigma ^{2}}}}$, and Y is a non-central chi-squared distribution with ${\displaystyle {\frac {4ab}{\sigma ^{2}}}}$ degrees of freedom and non-centrality parameter ${\displaystyle 2cr_{t}e^{-aT}}$. Formally the probability density function is:
${\displaystyle f(r_{t+T};r_{t},a,b,\sigma )=c\,e^{-u-v}\left({\frac {v}{u}}\right)^{q/2}I_{q}(2{\sqrt {uv}}),}$
where ${\displaystyle q={\frac {2ab}{\sigma ^{2}}}-1}$, ${\displaystyle u=cr_{t}e^{-aT}}$, ${\displaystyle v=cr_{t+T}}$, and ${\displaystyle I_{q}(2{\sqrt {uv}})}$ is modified Bessel function of the first kind of order ${\displaystyle q}$.
• Asymptotic distribution
Due to mean reversion, as time becomes large, the distribution of ${\displaystyle r_{\infty }}$ will approach a gamma distribution with the probability density of:
${\displaystyle f(r_{\infty };a,b,\sigma )={\frac {\beta ^{\alpha }}{\Gamma (\alpha )}}r_{\infty }^{\alpha -1}e^{-\beta r_{\infty }},}$
where ${\displaystyle \beta =2a/\sigma ^{2}}$ and ${\displaystyle \alpha =2ab/\sigma ^{2}}$.

### Properties

• Mean reversion,
• Level dependent volatility (${\displaystyle \sigma {\sqrt {r_{t}}}}$),
• For given positive ${\displaystyle r_{0}}$ the process will never touch zero, if ${\displaystyle 2ab\geq \sigma ^{2}}$; otherwise it can occasionally touch the zero point,
• ${\displaystyle \operatorname {E} [r_{t}\mid r_{0}]=r_{0}e^{-at}+b(1-e^{-at})}$, so long term mean is ${\displaystyle b}$,
• ${\displaystyle \operatorname {Var} [r_{t}\mid r_{0}]=r_{0}{\frac {\sigma ^{2}}{a}}(e^{-at}-e^{-2at})+{\frac {b\sigma ^{2}}{2a}}(1-e^{-at})^{2}.}$

### Calibration

The continuous SDE can be discretized as follows
${\displaystyle r_{t+\Delta t}-r_{t}=a(b-r_{t})\,\Delta t+\sigma \,{\sqrt {r_{t}\Delta t}}\varepsilon _{t},}$
which is equivalent to
${\displaystyle {\frac {r_{t+\Delta t}-r_{t}}{{\sqrt {r}}_{t}}}={\frac {ab\Delta t}{{\sqrt {r}}_{t}}}-a{\sqrt {r}}_{t}\Delta t+\sigma \,{\sqrt {\Delta t}}\varepsilon _{t},}$
provided ${\displaystyle \varepsilon _{t}}$ is n.i.i.d. (0,1). This equation can be used for a linear regression.

### Simulation

Stochastic simulation of the CIR process can be achieved using two variants:

## Bond pricing

Under the no-arbitrage assumption, a bond may be priced using this interest rate process. The bond price is exponential affine in the interest rate:

${\displaystyle P(t,T)=A(t,T)\exp(-B(t,T)r_{t})\!}$

where

${\displaystyle A(t,T)=\left({\frac {2h\exp((a+h)(T-t)/2)}{2h+(a+h)(\exp((T-t)h)-1)}}\right)^{2ab/\sigma ^{2}}}$
${\displaystyle B(t,T)={\frac {2(\exp((T-t)h)-1)}{2h+(a+h)(\exp((T-t)h)-1)}}}$
${\displaystyle h={\sqrt {a^{2}+2\sigma ^{2}}}}$

## Extensions

Time varying functions replacing coefficients can be introduced in the model in order to make it consistent with a pre-assigned term structure of interest rates and possibly volatilities. The most general approach is in Maghsoodi (1996). A more tractable approach is in Brigo and Mercurio (2001b) where an external time-dependent shift is added to the model for consistency with an input term structure of rates. A significant extension of the CIR model to the case of stochastic mean and stochastic volatility is given by Lin Chen (1996) and is known as Chen model. A CIR process is a special case of a basic affine jump diffusion, which still permits a closed-form expression for bond prices.

## References

• Hull, John C. (2003). Options, Futures and Other Derivatives. Upper Saddle River, NJ: Prentice Hall. ISBN 0-13-009056-5.
• Cox, J.C., J.E. Ingersoll and S.A. Ross (1985). "A Theory of the Term Structure of Interest Rates". Econometrica. 53: 385–407. doi:10.2307/1911242.CS1 maint: multiple names: authors list (link)
• Maghsoodi, Y. (1996). "Solution of the extended CIR Term Structure and Bond Option Valuation". Mathematical Finance (6): 89–109.
• Damiano Brigo; Fabio Mercurio (2001). Interest Rate Models — Theory and Practice with Smile, Inflation and Credit (2nd ed. 2006 ed.). Springer Verlag. ISBN 978-3-540-22149-4.
• Brigo, Damiano; Fabio Mercurio (2001b). "A deterministic-shift extension of analytically tractable and time-homogeneous short rate models". Finance & Stochastics. 5 (3): 369–388.
• Open Source library implementing the CIR process in python