Affine term structure model

From HandWiki

An affine term structure model is a financial model that relates zero-coupon bond prices (i.e. the discount curve) to a spot rate model. It is particularly useful for deriving the yield curve – the process of determining spot rate model inputs from observable bond market data. The affine class of term structure models implies the convenient form that log bond prices are linear functions of the spot rate[1] (and potentially additional state variables).

Background

Start with a stochastic short rate model [math]\displaystyle{ r(t) }[/math] with dynamics:

[math]\displaystyle{ dr(t)=\mu(t,r(t)) \, dt + \sigma(t,r(t)) \, dW(t) }[/math]

and a risk-free zero-coupon bond maturing at time [math]\displaystyle{ T }[/math] with price [math]\displaystyle{ P(t,T) }[/math] at time [math]\displaystyle{ t }[/math]. The price of a zero-coupon bond is given by:[math]\displaystyle{ P(t,T) = \mathbb{E}^{\mathbb{Q}}\left\{ \exp\left[ -\int_{t}^{T}r(t')dt' \right] \right\} }[/math]where [math]\displaystyle{ T=t+\tau }[/math], with [math]\displaystyle{ \tau }[/math] being is the bond's maturity. The expectation is taken with respect to the risk-neutral probability measure [math]\displaystyle{ \mathbb{Q} }[/math]. If the bond's price has the form:

[math]\displaystyle{ P(t,T)=e^{A(t,T)-rB(t,T)} }[/math]

where [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] are deterministic functions, then the short rate model is said to have an affine term structure. The yield of a bond with maturity [math]\displaystyle{ \tau }[/math], denoted by [math]\displaystyle{ y(t,\tau) }[/math], is given by:[math]\displaystyle{ y(t,\tau) = -{1\over{\tau}}\log P(t,\tau) }[/math]

Feynman-Kac formula

For the moment, we have not yet figured out how to explicitly compute the bond's price; however, the bond price's definition implies a link to the Feynman-Kac formula, which suggests that the bond's price may be explicitly modeled by a partial differential equation. Assuming that the bond price is a function of [math]\displaystyle{ x\in\mathbb{R}^{n} }[/math] latent factors leads to the PDE:[math]\displaystyle{ -{\partial P\over{\partial \tau}} + \sum_{i=1}^{n}\mu_{i}{\partial P\over{\partial x_{i}}} + {1\over{2}}\sum_{i,j=1}^{n} \Omega_{ij}{\partial^{2} P\over{\partial x_{i}\partial x_{j}}} - rP = 0, \quad P(0,x) = 1 }[/math]where [math]\displaystyle{ \Omega }[/math] is the covariance matrix of the latent factors where the latent factors are driven by an Ito stochastic differential equation in the risk-neutral measure:[math]\displaystyle{ dx = \mu^{\mathbb{Q}}dt + \Sigma dW^{\mathbb{Q}}, \quad \Omega = \Sigma\Sigma^{T} }[/math]Assume a solution for the bond price of the form:[math]\displaystyle{ P(\tau,x) = \exp\left[A(\tau) + x^{T}B(\tau) \right], \quad A(0) = B_{i}(0) = 0 }[/math]The derivatives of the bond price with respect to maturity and each latent factor are:[math]\displaystyle{ \begin{aligned} {\partial P\over{\partial \tau}} &= \left[ A'(\tau) + x^{T}B'(\tau)\right]P \\ {\partial P\over{\partial x_{i}}} &= B_{i}(\tau)P \\ {\partial^{2} P\over{\partial x_{i}\partial x_{j}}} &= B_{i}(\tau)B_{j}(\tau)P\\ \end{aligned} }[/math]With these derivatives, the PDE may be reduced to a series of ordinary differential equations:[math]\displaystyle{ -\left[A'(\tau) + x^{T}B'(\tau) \right] + \sum_{i=1}^{n}\mu_{i}B_{i}(\tau) + {1\over{2}}\sum_{i,j=1}^{n} \Omega_{ij}B_{i}(\tau)B_{j}(\tau) - r = 0, \quad A(0) = B_{i}(0) = 0 }[/math]To compute a closed-form solution requires additional specifications.

Existence

Using Ito's formula we can determine the constraints on [math]\displaystyle{ \mu }[/math] and [math]\displaystyle{ \sigma }[/math] which will result in an affine term structure. Assuming the bond has an affine term structure and [math]\displaystyle{ P }[/math] satisfies the term structure equation, we get:

[math]\displaystyle{ A_t(t,T)-(1+B_t(t,T))r-\mu(t,r)B(t,T)+\frac{1}{2}\sigma^2(t,r)B^2(t,T)=0 }[/math]

The boundary value

[math]\displaystyle{ P(T,T)=1 }[/math]

implies

[math]\displaystyle{ \begin{align} A(T,T)&=0\\ B(T,T)&=0 \end{align} }[/math]

Next, assume that [math]\displaystyle{ \mu }[/math] and [math]\displaystyle{ \sigma^2 }[/math] are affine in [math]\displaystyle{ r }[/math]:

[math]\displaystyle{ \begin{align} \mu(t,r)&=\alpha(t)r+\beta(t)\\ \sigma(t,r)&=\sqrt{\gamma(t)r+\delta(t)} \end{align} }[/math]

The differential equation then becomes

[math]\displaystyle{ A_t(t,T)-\beta(t)B(t,T)+\frac{1}{2}\delta(t)B^2(t,T)-\left[1+B_t(t,T)+\alpha(t)B(t,T)-\frac{1}{2}\gamma(t)B^2(t,T)\right]r=0 }[/math]

Because this formula must hold for all [math]\displaystyle{ r }[/math], [math]\displaystyle{ t }[/math], [math]\displaystyle{ T }[/math], the coefficient of [math]\displaystyle{ r }[/math] must equal zero.

[math]\displaystyle{ 1+B_t(t,T)+\alpha(t)B(t,T)-\frac{1}{2}\gamma(t)B^2(t,T)=0 }[/math]

Then the other term must vanish as well.

[math]\displaystyle{ A_t(t,T)-\beta(t)B(t,T)+\frac{1}{2}\delta(t)B^2(t,T)=0 }[/math]

Then, assuming [math]\displaystyle{ \mu }[/math] and [math]\displaystyle{ \sigma^2 }[/math] are affine in [math]\displaystyle{ r }[/math], the model has an affine term structure where [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] satisfy the system of equations:

[math]\displaystyle{ \begin{align} 1+B_t(t,T)+\alpha(t)B(t,T)-\frac{1}{2}\gamma(t)B^2(t,T)&=0\\ B(T,T)&=0\\ A_t(t,T)-\beta(t)B(t,T)+\frac{1}{2}\delta(t)B^2(t,T)&=0\\ A(T,T)&=0 \end{align} }[/math]

Models with ATS

Vasicek

The Vasicek model [math]\displaystyle{ dr=(b-ar)\,dt+\sigma \,dW }[/math] has an affine term structure where

[math]\displaystyle{ \begin{align} p(t,T)&=e^{A(t,T)-B(t,T)r(t)}\\ B(t,T)&=\frac{1}{a}\left(1-e^{-a(T-t)}\right)\\ A(t,T)&=\frac{(B(t,T)-T+t)(ab-\frac{1}{2}\sigma^2)}{a^2}-\frac{\sigma^2B^2(t,T)}{4a} \end{align} }[/math]

Arbitrage-Free Nelson-Siegel

One approach to affine term structure modeling is to enforce an arbitrage-free condition on the proposed model. In a series of papers,[2][3][4] a proposed dynamic yield curve model was developed using an arbitrage-free version of the famous Nelson-Siegel model,[5] which the authors label AFNS. To derive the AFNS model, the authors make several assumptions:

  1. There are three latent factors corresponding to the level, slope, and curvature of the yield curve
  2. The latent factors evolve according to multivariate Ornstein-Uhlenbeck processes. The particular specifications differ based on the measure being used:
    1. [math]\displaystyle{ dx = K^{\mathbb{P}}(\theta-x)dt + \Sigma dW^{\mathbb{P}} }[/math] (Real-world measure [math]\displaystyle{ \mathbb{P} }[/math])
    2. [math]\displaystyle{ dx = -K^{\mathbb{Q}}xdt + \Sigma dW^{\mathbb{Q}} }[/math] (Risk-neutral measure [math]\displaystyle{ \mathbb{Q} }[/math])
  3. The volatility matrix [math]\displaystyle{ \Sigma }[/math] is diagonal
  4. The short rate is a function of the level and slope ([math]\displaystyle{ r = x_{1} + x_{2} }[/math])

From the assumed model of the zero-coupon bond price:[math]\displaystyle{ P(\tau,x) = \exp\left[A(\tau) + x^{T}B(\tau) \right] }[/math]The yield at maturity [math]\displaystyle{ \tau }[/math] is given by:[math]\displaystyle{ y(\tau) = -{A(\tau)\over{\tau}} - {x^{T}B(\tau)\over{\tau}} }[/math]And based on the listed assumptions, the set of ODEs that must be solved for a closed-form solution is given by:[math]\displaystyle{ -\left[A'(\tau) + B'(\tau)^{T}x \right] - B(\tau)^{T}K^{\mathbb{Q}}x + {1\over{2}}B(\tau)^{T}\Omega B(\tau) - \rho^{T}x = 0, \quad A(0) = B_{i}(0) = 0 }[/math]where [math]\displaystyle{ \rho = \begin{pmatrix} 1 & 1 & 0 \end{pmatrix}^{T} }[/math] and [math]\displaystyle{ \Omega }[/math] is a diagonal matrix with entries [math]\displaystyle{ \Omega_{ii} = \sigma_{i}^{2} }[/math]. Matching coefficients, we have the set of equations:[math]\displaystyle{ \begin{aligned} -B'(\tau) &= \left(K^{\mathbb{Q}}\right)^{T}B(\tau) + \rho, \quad B_{i}(0) = 0 \\ A'(\tau) &= {1\over{2}}B(\tau)^{T}\Omega B(\tau), \quad A(0) = 0 \end{aligned} }[/math]To find a tractable solution, the authors propose that [math]\displaystyle{ K^{\mathbb{Q}} }[/math] take the form:[math]\displaystyle{ K^{\mathbb{Q}} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & \lambda & -\lambda \\ 0 & 0 & \lambda \end{pmatrix} }[/math]Solving the set of coupled ODEs for the vector [math]\displaystyle{ B(\tau) }[/math], and letting [math]\displaystyle{ \mathcal{B}(\tau) = -{1\over{\tau}}B(\tau) }[/math], we find that:[math]\displaystyle{ \mathcal{B}(\tau) = \begin{pmatrix} 1 & {1-e^{-\lambda\tau}\over{\lambda \tau}} & {1-e^{-\lambda\tau}\over{\lambda \tau}} - e^{-\lambda\tau} \end{pmatrix}^{T} }[/math]Then [math]\displaystyle{ x^{T}\mathcal{B}(\tau) }[/math] reproduces the standard Nelson-Siegel yield curve model. The solution for the yield adjustment factor [math]\displaystyle{ \mathcal{A}(\tau) = -{1\over{\tau}}A(\tau) }[/math] is more complicated, found in Appendix B of the 2007 paper, but is necessary to enforce the arbitrage-free condition.

Average expected short rate

One quantity of interest that may be derived from the AFNS model is the average expected short rate (AESR), which is defined as:[math]\displaystyle{ \text{AESR} \equiv {1\over{\tau}}\int_{t}^{t+\tau}\mathbb{E}_{t}(r_{s})ds = y(\tau) - \text{TP}(\tau) }[/math]where [math]\displaystyle{ \mathbb{E}_{t}(r_{s}) }[/math] is the conditional expectation of the short rate and [math]\displaystyle{ \text{TP}(\tau) }[/math] is the term premium associated with a bond of maturity [math]\displaystyle{ \tau }[/math]. To find the AESR, recall that the dynamics of the latent factors under the real-world measure [math]\displaystyle{ \mathbb{P} }[/math] are:[math]\displaystyle{ dx = K^{\mathbb{P}}(\theta-x)dt + \Sigma dW^{\mathbb{P}} }[/math]The general solution of the multivariate Ornstein-Uhlenbeck process is:[math]\displaystyle{ x_{t} = \theta + e^{-K^{\mathbb{P}}t}(x_{0}-\theta) + \int_{0}^{t} e^{-K^{\mathbb{P}}(t-t')}\Sigma dW^{\mathbb{P}} }[/math]Note that [math]\displaystyle{ e^{-K^{\mathbb{P}}t} }[/math] is the matrix exponential. From this solution, it is possible to explicitly compute the conditional expectation of the factors at time [math]\displaystyle{ t+\tau }[/math] as:[math]\displaystyle{ \mathbb{E}_{t}(x_{t+\tau}) = \theta + e^{-K^{\mathbb{P}}\tau}(x_{t}-\theta) }[/math]Noting that [math]\displaystyle{ r_{t} = \rho^{T}x_{t} }[/math], the general solution for the AESR may be found analytically:[math]\displaystyle{ {1\over{\tau}}\int_{t}^{t+\tau}\mathbb{E}_{t}(r_{s})ds = \rho^{T}\left[ \theta + {1\over{\tau}}\left( K^{\mathbb{P}} \right)^{-1}\left(I - e^{-K^{\mathbb{P}}\tau}\right)(x_{t}-\theta) \right] }[/math]

References

  1. Duffie, Darrell; Kan, Rui (1996). "A Yield-Factor Model of Interest Rates" (in en). Mathematical Finance 6 (4): 379–406. doi:10.1111/j.1467-9965.1996.tb00123.x. ISSN 1467-9965. 
  2. Christensen, Jens H. E.; Diebold, Francis X.; Rudebusch, Glenn D. (2011-09-01). "The affine arbitrage-free class of Nelson–Siegel term structure models" (in en). Journal of Econometrics. Annals Issue on Forecasting 164 (1): 4–20. doi:10.1016/j.jeconom.2011.02.011. ISSN 0304-4076. http://www.sciencedirect.com/science/article/pii/S0304407611000388. 
  3. Christensen, Jens H. E.; Rudebusch, Glenn D. (2012-11-01). "The Response of Interest Rates to US and UK Quantitative Easing" (in en). The Economic Journal 122 (564): F385–F414. doi:10.1111/j.1468-0297.2012.02554.x. ISSN 0013-0133. https://academic.oup.com/ej/article/122/564/F385/5079473. 
  4. Christensen, Jens H. E.; Krogstrup, Signe (2019-01-01). "Transmission of Quantitative Easing: The Role of Central Bank Reserves" (in en). The Economic Journal 129 (617): 249–272. doi:10.1111/ecoj.12600. ISSN 0013-0133. http://www.frbsf.org/economic-research/files/wp2014-18.pdf. 
  5. Nelson, Charles R.; Siegel, Andrew F. (1987). "Parsimonious Modeling of Yield Curves". The Journal of Business 60 (4): 473–489. doi:10.1086/296409. ISSN 0021-9398. 

Further reading