Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

Interest rate curves are the foundation of the pricing of interest rate derivatives, and reflect the market’s expectation of future interest rate development [1]. The market interest rate data is usually a set of discrete time sequences with different gaps, by which one can construct an interest rate curve with various interpolation algorithms. These algorithms should guarantee the interest rate curve satisfies continuity and smoothness conditions and accurately reflects the current market.

The cubic spline interpolation method [2] proposed by McCulloch (1975) is a popular choice for interest rate curve construction, and was developed by Fisher et al. (1995) to ensure the smoothness and goodness of fit of the interest rate curve [3]. However, the interest rate curve constructed by cubic spline interpolation is not guaranteed to be positive and is not arbitrage free. Lu Jun and Han Xuli (2005) proposed a rational cubic spline with cubic denominator and numerator which can preserve the monotonicity of the inputs [4]. Tian Meng (2006) proposed a rational cubic spline with cubic numerator and quadratic denominator which can guarantee the positivity of the constructed curve [5]. Based on the existence of rational splines, in this paper we propose a rational cubic spline with a cubic denominator and numerator that can ensure the constructed interest rate curve is positive.

2 Basic Interpolation Methods for Interest Rate Curves

The term structure of interest rates is fundamental to consistently value interest rate instruments. The term structure can refer to different curves: the discount curve, zero curve, or forward curve. However, we cannot obtain these curves directly from market data; instead, we use discrete dates and market quotes, and a wide range of models and numerical methods are employed to fit a continuous function to a set of discretely observed quotes.

As a brief review, we provide the mathematical background and notation for the term structure. There are three equivalent descriptions: the discount function d(t), the yield curve r(t), and instantaneous forward rate curve f(t).

$$ \displaystyle{d(t) = e^{-r(t)t}} $$

is equivalent to

$$ \displaystyle{d(t) = e^{-\int _{0}^{t}f(u)du }} $$

where

$$ \displaystyle{f(t) = \frac{\partial } {\partial t}r(t)t.} $$

2.1 Linear Interpolation

Suppose we have market quotes r 1, r 2, , r n at times t 1, t 2, , t n . The objective is to determine r t for any time t ∈ [t 1, t n ]. A straightforward method is linear interpolation. The interpolation can be linear on rates, discount factors, and the transformation of discount factors. Some common approaches are as follows:

First, we can give a formula for the zero rates. We determine i for time t such that t ∈ [t i , t i+1], and r t is calculated as the linear interpolation of r i and r i+1:

$$ \displaystyle{r_{t} = \frac{(t_{i+1} - t)} {(t_{i+1} - t_{i})}r_{i} + \frac{(t - t_{i})} {(t_{i+1} - t_{i})}r_{i+1}.} $$

For the instantaneous forward curve \( f(t) = \frac{\partial } {\partial t}r(t)t \), we have

$$ \displaystyle{f(t) = \frac{(t_{i+1} - 2t)} {(t_{i+1} - t_{i})} r_{i} + \frac{(2t - t_{i})} {(t_{i+1} - t_{i})}r_{i+1}.} $$

When it is linear on the discount factors, we can apply the linear interpolation on the discount factors directly. Since the discount factors are defined as \( d(t) = e^{-r(t)t} \), we have a set of discount factors d 1, d 2, , d n corresponding to r 1, r 2, , r n . The formula is

$$ \displaystyle{d(t) = \frac{(t_{i+1} - t)} {(t_{i+1} - t_{i})}d_{i} + \frac{(t - t_{i})} {(t_{i+1} - t_{i})}d_{i+1}.} $$

According to

$$ \displaystyle{r(t) = \frac{-\ln (d(t))} {t} } $$

we have

$$ \displaystyle{r(t) = \frac{-1} {t} \ln \left ( \frac{(t_{i+1} - t)} {(t_{i+1} - t_{i})}d_{i} + \frac{(t - t_{i})} {(t_{i+1} - t_{i})}d_{i+1}\right ).} $$

Then, the forward rate can be calculated as

$$ \displaystyle{ f(t) = \frac{(d_{i} - d_{i+1})} {((t_{i+1} - t)d_{i} + (t - t_{i})d_{i+1})}. } $$
(9.1)

If discount factors are linear on the logarithmic rate, we can derive a formula accordingly.

2.2 Cubic Spline Interpolation

As well as considering the same set of assumptions as in linear interpolation, spline interpolation requires a separate cubic polynomial for each interval. The aim is to determine the coefficients and the value of the rate at time t:

$$ \displaystyle{r(t) = a_{i} + b_{i}(t - t_{i}) + c_{i}(t - t_{i})^{2} + d_{ i}(t - t_{i})^{3},\ \ \ t \in [t_{ i},t_{i+1}].} $$

In order to determine the set of coefficients \( \{a_{i},b_{i},c_{i},d_{i},\ i = 1,2,\ldots,n - 1\} \), constraints on the value, the first derivative, and the second derivatives at t i should be satisfied.

First, the value of the piecewise polynomial should be identical at the knots (t i ), which gives the following system of equations:

$$ \begin{array}{rcl} &r_{i} = a_{i}, & \\ &r_{i+1} = a_{i} + b_{i}(t_{i+1} - t_{i}) + c_{i}(t_{i+1} - t_{i})^{2} + d_{ i}(t_{i+1} - t_{i})^{3}.& \end{array} $$

Since

$$ \displaystyle{f(t) = \frac{\partial } {\partial t}r(t)t = \frac{\partial r(t)} {\partial t} + r(t),} $$

and

$$ \displaystyle{\frac{\partial r(t)} {\partial t} = b_{i} + 2c_{i}(t - t_{i}) + 3d_{i}(t - t_{i})^{2},\ \ \ t \in [t_{ i},t_{i+1}],} $$

the piecewise polynomial should be differentiable to guarantee the continuity of the instantaneous forward rate curve f(t). Thus, we have

$$ \displaystyle{b_{i+1} = b_{i} + 2c_{i}(t_{i+1} - t_{i}) + 3d_{i}(t_{i+1} - t_{i})^{2},\ \ \ i = 1,2,\ldots,n - 2.} $$

Combining the 2(n − 2) conditions above, we now have 3n − 4 equations for 4n − 4 parameters. We still need another n constraints to obtain all of the parameters. We can use the so-called natural cubic splines to do this based on the second derivatives:

$$ \displaystyle{\frac{\partial ^{2}r(t)} {\partial t^{2}} = 2c_{i} + 6d_{i}(t - t_{i}),\ \ \ t \in [t_{i},t_{i+1}].} $$

These cubic splines are chosen so that the second derivatives of the functions at the knots are continuous and the second derivatives of the end points equal zero, which gives n linear equations in the system:

$$ \begin{array}{rcl} &c_{i+1} = c_{i} + 3d_{i}(t_{i+1} - t_{i}),\ \ \ i = 1,2,\ldots,n - 2,& \\ &c_{1} = 0, & \\ &c_{n-1} + 3d_{n-1}(t_{n} - t_{n-1}) = 0. & \end{array} $$

These splines guarantee the continuity and smoothness of the curve.

2.3 Monotone and Convex Splines

A simple observation is that the cubic splines in the last subsection could unexpectedly generate negative forward rates. The monotone convex spline method is introduced to build a continuous, smooth curve that ensures positive forward rates between the observations. Thus, the curve is arbitrage free. First, we calculate the forward rates f i d, i = 1, 2, , n from the market quotes r 1, r 2, , r n at times t 1, t 2, , t n , assuming forward rates are constant in each interval and are continuously compounded [6].

Various methods can be applied to fit a curve to the term structure of the interest rate; goodness of fit and smoothness of the curves are two measures of success. All such methods have strengths and weaknesses, and their selection depends on the specific requirement of the application.

In the following, we propose a rational cubic interpolation method for positive forward rates, which we call positivity preservation.

3 Rational Cubic Interpolation Method for Positivity Preservation

Let \( a =\tau _{1} <\tau _{2} <\ldots <\tau _{n} = b \) be a set of time knots, \( \theta = \frac{\tau -\tau _{i}} {\tau _{i+1}-\tau _{i}} \), \( h_{i} =\tau _{i+1} -\tau _{i} \), and \( f(\tau _{i}) = f_{i}(i = 1,2,\ldots,n) \) be the input data at time knot τ i . Define the rational cubic spline interpolation function in the i th interval [τ i , τ i+1] as

$$ \displaystyle\begin{array}{rcl} S_{i}(\tau ) = \frac{P_{i}(\theta )} {Q_{i}(\theta )},\ \ \ i = 1,2,\ldots,n - 1,& &{}\end{array} $$
(9.2)

where

$$ \displaystyle\begin{array}{rcl} P_{i}(\theta )& =& (1-\theta )^{3}f_{ i} +\theta (1-\theta )^{2}A +\theta ^{2}(1-\theta )B +\theta ^{3}f_{ i+1}{}\end{array} $$
(9.3)
$$ \displaystyle\begin{array}{rcl} Q_{i}(\theta )& =& (1-\theta )^{3} + v_{ i}(1-\theta )^{2}\theta + u_{ i}(1-\theta )\theta ^{2} +\theta ^{3}.{}\end{array} $$
(9.4)

In Eq. (9.4) v i  > 0 and u i  > 0 are shape-control parameters, and d i is the first derivative of the function f(τ) at time knot τ. To fulfill the condition S(x) ∈ C 1[a, b], the interpolation function defined by Eq. (9.2) should satisfy the following conditions:

$$ \displaystyle\begin{array}{rcl} \left \{\begin{array}{lll} S_{i}(\tau _{i}) & =&f_{i} \\ S_{i}(\tau _{i+1}) & =&f_{i+1} \\ S_{i}^{'}(\tau _{i}) & =&d_{i} \\ S_{i}^{'}(\tau _{i+1})& =&d_{i+1}.\end{array} \right.& &{}\end{array} $$
(9.5)

The terms A and B are given by

$$ \displaystyle\begin{array}{rcl} \left \{\begin{array}{lll} A & =&d_{i}h_{i} + v_{i}f_{i} \\ B & =& - d_{i+1}h_{i} + u_{i}f_{i+1}.\end{array} \right.& &{}\end{array} $$
(9.6)

The first derivative at time knot τ i , d i , is unknown in the market and is estimated as follows. We take two knots from both sides of τ i (if one side does not have two, we take more from the other side). Let \( \varDelta \tau _{j} =\tau _{j} -\tau _{i} \), assume the input data at the knots is f (j)(j = 1, 2, 3, 4), and define

$$ \displaystyle\begin{array}{rcl} \left \{\begin{array}{lll} \lambda _{0} & =& -\sum _{j=1}^{4}\lambda _{j} \\ \lambda _{j} & =& \frac{\varPi _{k=1}^{4}\varDelta \tau _{ k}} {\varDelta \tau _{j}^{2}\varPi _{{ k=1 \atop k\neq j} }^{4}(\varDelta \tau _{k}-\varDelta \tau _{j})},\ \ \ j = 1,2,3,4.\end{array} \right.& &{}\end{array} $$
(9.7)

Then, d i can be estimated by

$$ \displaystyle{ d_{i} =\lambda _{0}f_{i} +\sum _{j=1}^{4}\lambda _{ j}f_{(j)}. } $$
(9.8)

The accuracy of the estimation is \( O(\max \limits _{1\leq j\leq 4}\vert \varDelta \tau _{j}^{4}\vert ) \) [7], which is good. This will improve the smoothness and help retain the monotonicity of the inputs to the interest rate curve. However, as seen in Eq. (9.8), the estimation of the first derivative at knot τ i is achieved using four nearby points, so changes at knot τ i affect the shape of the curve considerably. The positivity-preserving property is analyzed as follows. Since \( \theta = \frac{\tau -\tau _{i}} {\tau _{i+1}-\tau _{i}} \) and τ ∈ [τ i , τ i+1], \( \theta \) is in the interval [0, 1]. Hence, a sufficient condition for the positivity-preserving property of the interpolation function defined by Eq. (9.2) is A > 0, B > 0, and the value range of the shape-control parameters can be obtained as follows:

$$ \displaystyle\begin{array}{rcl} \left \{\begin{array}{lll} v_{i} & >&\max (-\frac{d_{i}h_{i}} {f_{i}},0), \\ u_{i}& >&\max (\frac{d_{i+1}h_{i}} {f_{i+1}},0).\end{array} \right.& &{}\end{array} $$
(9.9)

When v i and u i satisfy these conditions (9.9), the curve constructed with the rational cubic spline interpolation method will always be positive and arbitrage free. The error estimation of the rational cubic spline interpolation is analyzed as follows. It is sufficient to only deal with the case where the knots are equally spaced. Without loss of generality, we only consider the subintervals \( [\tau _{i},\tau _{i+1}]\ (3 \leq i \leq n - 2) \), and when the knots are equally spaced let h i  = h. By Eqs. (9.7) and (9.8), we get

$$ \displaystyle\begin{array}{rcl} \lambda _{1} = \frac{1} {12h},\lambda _{2} = - \frac{2} {3h},\lambda _{3} = \frac{2} {3h},\lambda _{4} = - \frac{1} {12h},\lambda _{0} = 0,& &{}\end{array} $$
(9.10)
$$ \displaystyle\begin{array}{rcl} d_{i} = \frac{1} {12h}f_{i-2} - \frac{2} {3h}f_{i-1} + \frac{2} {3h}f_{i+1} - \frac{1} {12h}f_{i+2}.& &{}\end{array} $$
(9.11)

Then, the numerator of the interpolation function in Eq. (9.3) can be transformed into the following form:

$$ \displaystyle{ P_{i}(\theta ) = l_{1}f_{i-2} + l_{2}f_{i-1} + l_{3}f_{i} + l_{4}f_{i+1} + l_{5}f_{i+2} + l_{6}f_{i+3}, } $$
(9.12)

where

$$ \displaystyle\begin{array}{rcl} \left \{\begin{array}{lll} l_{1} & =& \frac{1} {12}\theta (1-\theta )^{2} \\ l_{2} & =&\theta (1-\theta )[-\frac{2} {3}(1-\theta ) - \frac{1} {12}\theta ] \\ l_{3} & =&(1-\theta )[(1-\theta )^{2} +\theta (1-\theta )v_{i} + \frac{2} {3}\theta ^{2}] \\ l_{4} & =&\theta [\theta (1-\theta )u_{i} +\theta ^{2} + \frac{2} {3}(1-\theta )^{2}] \\ l_{5} & =& -\theta (1-\theta )[ \frac{1} {12}(1-\theta ) + \frac{2} {3}\theta ] \\ l_{6} & =& \frac{1} {12}\theta ^{2}(1-\theta ).\end{array} \right.& &{}\end{array} $$
(9.13)

When f(t) ∈ C 1[a, b] and S(t) is the rational cubic interpolation function of f(t) in the subinterval [τ i , τ i+1], using the Peano–Kernel Theorem gives

$$ \displaystyle{ R[f] = f(t) - S(t) =\int \limits _{ \tau _{i-2}}^{\tau _{i+3} }f^{'}(\tau )R_{t}[(t-\tau )_{+}^{0}]d\tau, } $$
(9.14)

where

$$ \displaystyle{ R_{t}[(t-\tau )_{+}^{0}] = \left \{\begin{array}{ll} 1 -\frac{l_{2}+l_{3}+l_{4}+l_{5}+l_{6}} {Q_{i}(\theta )},&\quad \mbox{ $\tau _{i-2} <\tau <\tau _{i-1}$} \\ 1 -\frac{l_{3}+l_{4}+l_{5}+l_{6}} {Q_{i}(\theta )}, &\quad \mbox{ $\tau _{i-1} <\tau <\tau _{i}$} \\ 1 -\frac{l_{4}+l_{5}+l_{6}} {Q_{i}(\theta )}, &\quad \mbox{ $\tau _{i} <\tau < t$} \\ -\frac{l_{4}+l_{5}+l_{6}} {Q_{i}(\theta )}, &\quad \mbox{ $t <\tau <\tau _{i+1}$} \\ -\frac{l_{5}+l_{6}} {Q_{i}(\theta )}, &\quad \mbox{ $\tau _{i+1} <\tau <\tau _{i+2}$} \\ - \frac{l_{6}} {Q_{i}(\theta )}, &\quad \mbox{ $\tau _{i+2} <\tau <\tau _{i+3}$}. \end{array} \right. } $$
(9.15)

From Eq. (9.14) we get the following result:

$$ \displaystyle\begin{array}{rcl} \vert R[f]\vert = \vert \int \limits _{\tau _{i-2}}^{\tau _{i+3} }f^{'}(t)R_{t}[(t-\tau )_{+}^{0}]d\tau \vert \leq \vert f^{'}(t)\vert [\int \limits _{\tau _{ i-2}}^{\tau _{i-1} }\vert 1 -\frac{l_{2} + l_{3} + l_{4} + l_{5} + l_{6}} {Q_{i}(\theta )} \vert d\tau & & \\ +\int \limits _{\tau _{i-1}}^{\tau _{i} }\vert 1 -\frac{l_{3} + l_{4} + l_{5} + l_{6}} {Q_{i}(\theta )} \vert d\tau +\int \limits _{ \tau _{i}}^{t}\vert 1 -\frac{l_{4} + l_{5} + l_{6}} {Q_{i}(\theta )} \vert d\tau & & \\ +\int \limits _{t}^{\tau _{i+1} }\vert -\frac{l_{4} + l_{5} + l_{6}} {Q_{i}(\theta )} \vert d\tau +\int \limits _{ \tau _{i+1}}^{\tau _{i+2} }\vert -\frac{l_{5} + l_{6}} {Q_{i}(\theta )} \vert d\tau & & \\ +\int \limits _{\tau _{i+2}}^{\tau _{i+3} }\vert - \frac{l_{6}} {Q_{i}(\theta )}\vert d\tau ] \leq h\vert f^{'}(t)\vert w(v_{i},u_{i},\theta ),\qquad & &{}\end{array} $$
(9.16)

where

$$ \displaystyle{ w(v_{i},u_{i},\theta ) = 3+ \frac{1} {Q_{i}(\theta )}(\vert l_{2}+l_{3}+l_{4}+l_{5}+l_{6}\vert +\vert l_{3}+l_{4}+l_{5}+l_{6}\vert +2\vert l_{4}+l_{5}+l_{6}\vert +\vert l_{5}+l_{6}\vert +\vert l_{6}\vert ). } $$
(9.17)

For a given v i and u i , let \( e_{i} =\max \limits _{0<\theta <1}w(v_{i},u_{i},\theta ) \). This term is independent of the subinterval [τ i , τ i+1], and only dependent on the parameters v i and u i . The values e i , for various v i and u i , are given in Tables 9.1 and 9.2.

Table 9.1 The values of e i for v i  = 0. 001 with various values of u i
Table 9.2 The values of e i for u i  = 0. 001 with various values of v i

Based on the experimental results in Tables 9.1 and 9.2, we can see the value of e i only changes slightly for v i  > 0 and u i  > 0. This demonstrates that this interpolation method is stable.

4 Reconstruction of the Market Interest Rate Data

Table 9.3 details the USD market data from \( 04/01/2000 \).

Table 9.3 USD market data in 2000

In Table 9.3, the first column is the time from start to expiration, the second column is the expiration date, the third column is the market rate, and the last column is the time in years (365 days=1 year). To restrict the fluctuation of the interest rate curve when the input data changes sharply, we reconstruct the market data before applying the rational cubic interpolation method. Let (τ i , r i ) (i = 1, 2, , n) be a given set of market data, where τ i are the time knots. We assume r i is the value corresponding to the entire subinterval \( [\tau _{i_{1}},\tau _{i}]\ (i = 2,\ldots,n) \). The reconstructed rate is f i at the point \( \tau _{i}\ (i = 2,\ldots,n - 1) \):

$$ \displaystyle{ f_{i} = \frac{\tau _{i} -\tau _{i-1}} {\tau _{i+1} -\tau _{i-1}}r_{i+1} + \frac{\tau _{i+1} -\tau _{i}} {\tau _{i+1} -\tau _{i-1}}r_{i}. } $$
(9.18)

We add the additional subintervals [τ 0, τ 1] and [τ n , τ n+1] at the start and end, where

$$ \displaystyle\begin{array}{rcl} \left \{\begin{array}{lll} \tau _{0} & =&\tau _{1} - (\tau _{2} -\tau _{1}) \\ \tau _{n+1} & =&\tau _{n} + (\tau _{n} -\tau _{n-1})\end{array} \right.& &{}\end{array} $$
(9.19)

and

$$ \displaystyle{ r_{n+1} = r_{n} + \frac{\tau _{n} -\tau _{n-1}} {\tau _{n} -\tau _{n-2}}(r_{n} - r_{n-1}). } $$
(9.20)

Then, the reconstructed market data f i  (i = 1, 2, , n) can be obtained from Eq. (9.18) [6]. The results of applying the reconstruction algorithm to the market data (from Table 9.3) are given in Table 9.4. The third column in Table 9.4 is the reconstructed market data.

Table 9.4 USD market data in 2000

5 Analysis of the Interest Curve Constructed by Rational Cubic Interpolation

The constructed interest rate curve, found by applying the rational cubic interpolation method to the reconstructed market data, is given in Fig. 9.1.

Fig. 9.1
figure 1

Interest curve constructed by applying rational cubic interpolation to the reconstructed market interest rate data

In general, the term structure contains more short-term information, so the short term of the interest rate curve should focus on goodness of fit while the long term of the curve requires smoothness [8]. The interest rate curve constructed by the rational cubic interpolation method essentially satisfies these requirements. We now discuss the stability of the interest rate curve; when rational cubic interpolation is applied to the reconstructed market data the data in Table 9.3 changes from (7. 011, 7. 2250 %) to (7. 011, 11. 0000 %).

The two interest rate curves in Fig. 9.2 are constructed by the rational cubic interpolation method; the upper curve uses reconstructed market data and the lower curve uses the original market data. It can be seen that the upper curve, from reconstructed market data, has less volatility.

Fig. 9.2
figure 2

The interest curve constructed by rational cubic interpolation with and without the reconstruction of market interest rate data

6 Conclusion

The rational cubic interpolation algorithm can ensure that the constructed interest rate curve is positivity-preserving. The interpolation function is C 1 continuous and the constructed interest rate curve is stable and smooth. The algorithm to reconstruct the data can restrict the fluctuations of the interest rate curve when the input data jumps sharply.