Comput Manag Sci https://doi.org/10.1007/s10287-018-0319-8 ORIGINAL PAPER Simulation and evaluation of the distribution of interest rate risk 1 1 Johan Hagenbjörk · Jörgen Blomvall Received: 30 September 2017 / Accepted: 22 May 2018 © The Author(s) 2018 Abstract We study methods to simulate term structures in order to measure inter- est rate risk more accurately. We use principal component analysis of term structure innovations to identify risk factors and we model their univariate distribution using GARCH-models with Student’s t-distributions in order to handle heteroscedasticity and fat tails. We ﬁnd that the Student’s t-copula is most suitable to model co- dependence of these univariate risk factors. We aim to develop a model that provides low ex-ante risk measures, while having accurate representations of the ex-post real- ized risk. By utilizing a more accurate term structure estimation method, our proposed model is less sensitive to measurement noise compared to traditional models. We per- form an out-of-sample test for the U.S. market between 2002 and 2017 by valuing a portfolio consisting of interest rate derivatives. We ﬁnd that ex-ante Value at Risk mea- surements can be substantially reduced for all conﬁdence levels above 95%, compared to the traditional models. We ﬁnd that that the realized portfolio tail losses accurately conform to the ex-ante measurement for daily returns, while traditional methods over- estimate, or in some cases even underestimate the risk ex-post. Due to noise inherent in the term structure measurements, we ﬁnd that all models overestimate the risk for 10-day and quarterly returns, but that our proposed model provides the by far lowest Value at Risk measures. Keywords Interest rate risk · Principal component analysis · Term structure · Value at Risk Jörgen Blomvall jorgen.blomvall@liu.se Johan Hagenbjörk johan.hagenbjork@liu.se Linköping University, 581 83 Linköping, Sweden 123 J. Hagenbjörk, J. Blomvall Mathematics Subject Classiﬁcation 62H25 · 91G30 1 Introduction Interest rate risk is an important topic for both risk management and optimal portfolio management. The theory of measuring interest rate risk has evolved from dealing with sensitivity to risk factors, and immunization against risk, to a more modern view, where a better understanding of the actual risk factors is used in order to generate possible outcomes of risk factors. This paper takes the perspective of measuring interest rate risk by simulating future term structure scenarios, and ensuring that these properly describe the observed realizations. Interest rate risk has not always been properly connected to the term structure of interest rates. Bond duration, introduced by Macaulay (1938), was originally deﬁned as bond sensitivity to discount factors. For the sake of simplicity, Macaulay (1938) chose to discount using yield to maturity, see Ingersoll et al. (1978) and Bierwag et al. (1983) for further details. A signiﬁcant constraint when deﬁning duration in terms of yield to maturity is that it cannot be used as a risk proxy unless the term structure is ﬂat, as shown by Ingersoll et al. (1978). The interest rate risk was not properly linked to movements in the term structure until Fisher and Weil (1971) provided a proof of how to construct an immunized bond portfolio by choosing the duration of a portfolio equal to the investment horizon. This proof was carried out through a constant parallel shift of the term structure of forward rates. The view of interest rate risk as the sensitivity to certain perturbations in the term structure led to many suggestions of risk factors to be used in order to handle non-parallel risk, some of which we will describe in Sect. 4. However, modern risk concepts used in the Basel regulations are evolving towards measuring risk as outcomes of possible shocks to the risk factors. The way of measuring this risk is advancing, from Value at Risk (VaR), to the similar but coherent risk measure; expected shortfall (ES), see Chang et al. (2016) and the FRTB document from the Basel Committee on Banking Supervision (2014). The computation of ES usually requires simulation of potential outcomes of identiﬁed risk factors, although historical simulation might be an option. In this paper, we model risk through estimating the univariate distribution of risk factors and using copulas in order to model their co-dependence. We choose to study the interest rate derivative market, instead of the bond mar- ket, where credit risk and liquidity cause additional problems for interest rate risk measurement. We use principal component analysis (PCA), which is a common, data driven, way of identifying risk factors in the interest rate market, see Litterman and Scheinkman (1991) and Topaloglou et al. (2002). We show that performing PCA on term structures estimated by bootstrapping and Cubic spline interpolation, results in problems of determining the systematic risk factors, which affects the results of the risk measurement. Instead, we wish to examine the possibility of improving risk mea- surement by utilizing an accurate method of measuring forward rate term structures, developed by Blomvall (2017). The well-established method proposed by Nelson and Siegel (1987) is also added for comparison. This method is commonly used in the bond market in order to mitigate noise problems, and dynamic extensions have been used in term structure forecasting by Diebold and Li (2006) and Chen and Li (2011). 123 Simulation and evaluation of the distribution of interest… It has also been used for risk simulation, by Abdymomunov and Gerlach (2014) and Charpentier and Villa (2010). In the light of the new, and the upcoming Basel regulations, we conclude that measuring interest rate risk through risk factor simulation is an important topic where literature is not very extensive. We also note that most papers evaluate different risk models using tail risk by studying the number of breaches in a VaR or ES setting, see e.g. Rebonato et al. (2005). While this is relevant for compliance of the regulations, it does not reﬂect the entire distribution, which is of importance for other applications, such as hedging or portfolio management. This paper thus focuses on the method of simulating term structure scenarios in order to accurately measure interest rate risk throughout the entire value distribution. We use VaR as a special case in order to illustrate differences in risk levels between the models. We ﬁnd that three properties are of importance when measuring interest rate risk. First, there should be no systematic price errors caused by the term structure estimation method. Second, the distribution of the risk factors must be consistent with their realizations. Third, lower risk is preferable. This paper aims to develop models that satisfy all three properties, which proves to be a difﬁcult task, especially for long horizons. This was also observed by Rebonato et al. (2005), where they had to rely on heuristic methods. In contrast, our aim is to use the extracted risk factors for risk measurement over different horizons. However, this paper does not focus on long term scenario generation over years or decades. The paper is disposed as follows. In Sect. 2 we discuss how to estimate the term structures, using the data described in Sect. 3. We use PCA to extract systematic risk factors, and their properties are studied in Sect. 4. We use GARCH models together with copulas to model the evolution of these risk factors, which we describe in Sects. 5 and 6. The model evaluation is carried out by simulating term structure scenarios from different models, and using these scenarios to value portfolios consisting of interest rate derivatives. The values of the generated scenarios for each day are compared to portfolio values of the realized historical term structures. We describe this proce- dure together with the statistical tests used for comparison in Sect. 7. The results are presented in Sect. 8, followed by conclusions in Sect. 9. 2 Term structure estimation Interest rate risk originates from movements in the term structure of interest rates. The term structure of interest rates is not directly observable, but has to be measured by solving an inverse problem based on observed market prices. However, these prices contain measurement noise, arising from market microstructure effects, as described by Laurini and Ohashi (2015). An important aspect of a well-posed inverse problem is that small changes in input data should result in small changes in output data. Hence, a term structure measurement method should not be sensitive to measurement noise in observed market prices. Term structure measurement methods can be divided into exact methods and inex- act methods. Exact methods will reprice the underlying ﬁnancial instruments used to construct the curve exactly, and use some interpolation method to interpolate inter- est rates between the cash ﬂow points belonging to those instruments. The fact that 123 J. Hagenbjörk, J. Blomvall exact methods reprice all in-sample instruments exactly, makes them very sensitive to measurement noise in the market prices, as pointed out by Blomvall (2017). Inexact methods often assume that the term structure can be parametrized by some parametric function, and use the least square method to ﬁnd these parameters. Inexact methods are less sensitive to measurement noise, but the limitations on the shape enforced by the parametric functions often lead to systematic price errors. Parametric methods include the parsimonious model by Nelson and Siegel (1987), and the extension by Svensson (1994). A way of extending interpolation methods to deal with noise is the recent application of kringing models by Cousin et al. (2016). This method can be adapted both for exact interpolation, or best ﬁtting of noisy observations. Blomvall (2017) presents a framework for measuring term structures though an optimization model that can be specialized to a convex formulation of the inverse problem. The framework is a generalization of previously described methods from literature, and is based on a trade-off between smoothness and price errors, which is accomplished by discretization and regularizations of the optimization problem. Blomvall and Ndengo (2013) compare this method to traditional methods, and show that it dominates all the compared traditional methods with respect to out-of-sample repricing errors. They also demonstrate a connection between in-sample price errors and interest rate risk, measured by the sum of variance in the curve. From this study, it is evident that low risk (variance) cannot be achieved in combination with low in- sample pricing errors. Each trading desk thus faces a decision of what level of risk, and what level of price errors should be acceptable according to laws and regulations. The methodology in this paper will primarily be based around the generalized framework by Blomvall (2017), which we will use to measure daily discretized for- ward rate term structures directly. Two other term structure measurement methods will be used as reference methods in the comparison. The ﬁrst one is the dynamic exten- sion of Nelson and Siegel (1987), which was introduced by Diebold and Li (2006), and has been popular in literature of term structure forecasting. The other method is bootstrapping interest rates and interpolating spot rates using natural Cubic splines, which according to Hagan and West (2006) is commonly used by practitioners. In order to reduce the dimensionality of the problem of measuring the risk inherent in the high dimensional term structures, we will measure the risk of a portfolio consisting of interest rate derivatives. The portfolio consists of forward rate agreements (FRA) and is set up to mimic the behavior of the FRA book of a bank. Forward rate agreements are traded in huge amounts on the OTC market, where all major banks hold a trading book of these instruments. This book is the direct result of trades with customers who want to swap their payment streams between ﬁxed and ﬂoating interest rates at some point in the future. Banks act market makers for this market, making proﬁt on the spread between bid and ask yields. Taking on risk is an undesirable side effect of this business. We have also been studying interest rate swaps alongside forward rate agreements, but their pricing function only depend on spot rates, which makes them less sensitive to forward rates due to the inherent integrating mechanism of spot rates. Since, we we seek a model which is able to explain the interest rate risk inherit in forward rates as well as spot rates, we do not focus on swaps in this paper. The portfolio composition is randomly generated, and the details of this are presented in Sect. 7. 123 Simulation and evaluation of the distribution of interest… Realized Portfolio Values Diﬀerences Compared to Median Portvolio Value Blomvall 100 Cubic Spline Nelson-Siegel −50 −100 −150 Blomvall −250 Cubic Spline −200 −500 Nelson-Siegel 2004 2006 2008 2010 2012 2014 2016 2004 2006 2008 2010 2012 2014 2016 Fig. 1 The left panel shows portfolio values for the forward rate agreement portfolio. The portfolio values are almost indistinguishable, and hence we show the difference in portfolio values compared to the median portfolio value for each day in the right panel Table 1 Portfolio volatilities based on differences of the portfolio values from left panel of Fig. 1,and standard deviations of the series from the right panel of Fig. 1 Portfolio volatility σ (median deviations) #Days as median Blomvall 24.53 5.431 1955 Cubic spline 29.09 12.94 1103 Nelson–Siegel 24.73 13.82 730 By using term structures estimated by the three methods described above, we price the portfolio. For the Blomvall (2017) method, we have used the parameters of the LSExp model described in Blomvall and Ndengo (2013), where we only penalize the discrete version of the second order derivative with exponential weights according to −2 ln 4 ( ) (2) e , if t ≤ 730 days, w = (1) 1, if t > 730 days, scaled with a penalty parameter P = 10. For the Nelson and Siegel (1987) model we have ﬁxed the parameter λ = 0.0609 as suggested by Diebold and Li (2006) and others. The choice of this parameter is based on making the third risk factor reach its maximum at the maturity of 30 months. The portfolio values can be found in the left panel of Fig. 1, and we note that all term structure estimation methods produce values that are seemingly consistent with each other most of the time. To further study the differences in portfolio values among these methods, without making any presumptions, we extract the median portfolio value out of the three methods for each day. One of the portfolios will thus equal the median value, and we assume that this value is the “correct” portfolio value. We then compare the value of each portfolio to this median to identify systematic price deviations, seen in the right panel of Fig. 1. By calculating the standard deviation of these series, we get a numeric estimate of the magnitude that each method deviates from the median value over the entire period. These values are presented in Table 1, together with portfolio volatilities and the number of days each method has attained the median value. We see that the Blomvall (2017) method has the lowest portfolio volatility and by far the Portfolio NPV J. Hagenbjörk, J. Blomvall Table 2 Interest rate swaps Maturity(years) 12345678910 included in term structure measurement Blomvall Nelson–Siegel Cubic spline Table 3 Forward rate agreements included in term structure measurement FRA [M × M] 1 ×42 ×53 ×64 ×75 ×86 ×97 × 10 8 × 11 9 × 12 12 × 15 15 × 18 18 × 21 Blomvall Nelson–Siegel Cubic spline lowest median deviation volatility, while it equals the median valuation most often. We interpret this as a sign of high consistency with market prices, which is one of our three desired properties when measuring risk. The Nelson and Siegel (1987) has low portfolio volatility but a high median deviation. This is due to its value drift away from the median value during long periods at a time, which we interpret this as a sign of systematic price errors due to the inﬂexible parametric nature of the model. In theory, the volatility of the portfolios can be divided into two unobservable components. The ﬁrst, arising from movement in the systematic risk factors, and the second, arising from noise. The presence of both high portfolio values and high deviations for the Cubic spline method indicates that the additional portfolio volatility is caused by noise that is ampliﬁed by the interpolation method. These ﬁndings are also in line with the results by Blomvall and Ndengo (2013). We will later see how this noise affects the shape of the systematic risk factors. 3Data The data used for estimating term structures in this study is retrieved from Thomson Reuters Eikon. We focus on the U.S. ﬁxed income market due to its high liquidity and availability of data. The data consists of time series for a 3 month USD LIBOR rate, ten annually spaced interest rate swaps, (Table 2), and twelve forward rate agreements (Table 3). The time series, containing bid and ask yields, range from 1996 to 2017, and are divided into an in-sample period (1996-01-02 to 2001-12-30), used for ﬁtting proper models to this data, and an out-of-sample period (2002-01-04 to 2017-07-01) used for the analysis of the interest rate risk for the portfolio. The data series have a few gaps, where data from one or more instruments is missing. Since this has a big impact on the estimation of term structures, we remove the dates for which the number of missing quotes exceeds the 10-day moving average of missing quotes, plus one. This cleaning process removes 24 out of 5512 days from the estimation. Of the remaining days, 1599 belong to the in-sample period and 3889 belong to the out-of-sample period. 123 Simulation and evaluation of the distribution of interest… 4 Systematic risk factors In this section we will present our view of risk measurement as a general framework, and how to utilize it for the purpose of measuring interest rate risk. We start by considering a portfolio consisting of n assets, where the price of an asset P (Δξ ) m×1 depends on the state of m random risk factors Δξ ∈ R . A second order Taylor approximation of the asset value around the current risk levels gives us T T P (Δξ ) ≈ P (0) + g Δξ + Δξ H Δξ (2) i i i where g =∇ P | , (3) i Δξ i Δξ =0 H =∇ P | . (4) i i Δξ =0 Δξ n×1 The total value of the portfolio with holdings h ∈ R is dependent on these risk factors according to V (h,Δξ) = h P (Δξ ). (5) i i i =1 This raises the question of which systematic risk factors to use in the analysis. A number of options have been presented in literature. Fisher and Weil (1971) present the duration concept in terms of a parallel shift in forward rates. By extending the parallel shift of duration to general functions, duration vector models are formed. i −1 One possibility here is to use polynomial functions of the form t as proposed by Prisman and Shores (1988) and Chambers et al. (1988). Another possibility is to use the exponential functions for level, slope and curvature from the term structure model by Nelson and Siegel (1987). This approach, which has been studied by Willner (1996) and Diebold et al. (2004), will be used in this paper to model the risk factors of the Nelson and Siegel (1987) model. A different, data-driven approach for identifying systematic risk factors is principal component analysis (PCA). This method can be used to approximate the covariance matrix of a dataset by ﬁnding a set of orthogonal components that maximize the variance. PCA was ﬁrst applied to term structures of interest rates by Litterman and Scheinkman (1991). This study was later followed by Knez et al. (1994) and Bliss (1997), among others. An alternative approach for feature extraction is independent component analysis (ICA). While PCA aims to explain the second order information, i.e. the variance, ICA tries to maximize independence in higher orders as well. As a result, the factors obtained from ICA will be independent; while factors obtained from PCA only will be uncorrelated, unless the data follows a Gaussian distribution. In contrast, ICA assumes a non-normal distribution in order to be able to separate the independent sources since it maximizes non-Gaussianity of the components (Chen et al. 2007). A weakness of ICA is that the factors cannot be ordered in terms of 123 J. Hagenbjörk, J. Blomvall importance, while PCA factors are ordered in terms of explained variance. In fact, the variance of the ICA factors cannot be determined in a unique way (Moraux and Villa 2003). Dealing with risk is directly related to dealing with variance, and since PCA factors are orthogonal, they also provide a natural interpretation (Molgedey and Galic 2001). While the less restrictive assumptions of ICA are appealing for non- Gaussian ﬁnancial data, more recent applications of ICA to interest rates, especially of higher dimensionality, are missing in literature. Hence, PCA will be used to extract risk factors in this paper. In order to extract risk factors using PCA, we have to discretize the term structures to compute the covariance matrix. The output of the Blomvall (2017) method is daily discretized forward rate term structures, f , which can be used directly. For the Cubic t,T spline method, we perform a discretization to daily spot rates s . To convert term t,T structures between forward rates and spot rates we use s τ − s τ f (τ − τ ) + s τ t,T T t,T −1 T −1 t,T T T −1 t,T −1 T −1 f = , s = . (6) t,T t,T τ − τ τ T T −1 T We have to decide whether to use the covariance matrix of spot rates or forward rates, and whether to use the interest rate levels or their innovations. Since risk is connected to changes in the term structure, rather than its levels, we believe that daily absolute innovations of interest rates should be used rather than levels in order to explain risk. We choose the covariance matrix instead of correlation since innovations are of similar magnitude across maturities, and we seek to explain this magnitude as well as the correlation. Forward rates contain the most local information, since spot rates are averages of forward rates. Forward rates are also the expectation of the future short rate, under the T -forward measure, implying that changes in forward rates should be linked to the ﬂow of information. Additionally, the risk factors of the central HJM model (Heath et al. 1992), are derived in terms of forward rates and forward rate volatility, which is why it would be ideal to use forward rates. However, performing a PCA on forward rate innovations requires forward rate data of high quality, in order to be able to extract realistic risk factors. Laurini and Ohashi (2015) provide an excellent review of the topic, and highlight the problem with measurement errors in forward rates due to market microstructure effects. They present a proposition that the effective number of risk factors should be the same, regardless of the choice of underlying interest type. The fact that this cannot be observed in literature provides strong evidence for the prevalence of measurement noise in the data. Instead of directly addressing this problem of term structure measurement, Laurini and Ohashi (2015) address the problem by introducing a technique for estimating the covariance matrix in the presence of measurement noise, called the long-run covariance matrix. We start by illustrating the risk factors resulting from performing a PCA on daily absolute differences of forward rate term structures, estimated with the Blomvall (2017) method, seen in the left panel of Fig. 2. Even though the analysis is carried out on forward rates, the risk factors do not indicate presence of noise. The correspond- ing forward rate risk factors, calculated for cubic spline interpolated spot rates, seem highly unrealistic due to its oscillating appearance, as seen in right panel of Fig. 2. The idea of explaining systematic risk using these kinds of oscillating risk factors 123 Simulation and evaluation of the distribution of interest… Eigenvectors for Blomvall, PC forward Eigenvectors for Cubic spline, PC forward Shift 4th Shift 4th 0.100 Twist 5th Twist 5th 0.04 0.075 Butterﬂy 6th Butterﬂy 6th 0.02 0.050 0.025 0.00 0.000 −0.02 −0.025 −0.050 −0.04 0 2 4 6 8 10 0 2 4 6 8 10 Maturity [Years] Maturity [Years] Fig. 2 Risk factors for PCA carried out for forward rates Risk Factors for Cubic spline, PC spot Forward Risk Factors for Cubic spline, PC spot 0.10 Shift 4th 0.2 0.08 Twist 5th Butterﬂy 6th 0.1 0.06 0.04 0.0 0.02 −0.1 0.00 Shift 4th −0.2 Twist 5th −0.02 Butterﬂy 6th −0.04 −0.3 0 2 4 6 8 10 0 2 4 6 8 10 Maturity [Years] Maturity [Years] Fig. 3 Risk factors for PCA carried out for spot rates and their implied risk factors for forward rates is economically unappealing since there is no information that would predict such a distinct behavior. Instead, this is an artifact of the interpolation method between the yearly spaced knot points of the cubic spline. By performing the PCA on spot rates directly, as illustrated in the left panel of Fig. 3, one might believe that these risk factors would explain the risk far better than the forward rate based risk factors seen earlier. Fewer risk factors will indeed be needed to explain the same fraction of the covariance matrix, but the forward rate risk factors implied by these spot rate risk factors are still highly unrealistic, as seen in the right panel of Fig. 3. By studying the volatility in the spot rate curves, and its implications for the forward rate volatility, we get an understanding of what is going on under this transformation. If C denotes the n × n covariance matrix of forward rates, we compute the vector of term structure volatilities for each discrete maturity point as the element-wise square root of the diagonal elements of C σ = diag(C ). (7) By approximating the covariance matrix from the ﬁrst n eigenvectors, forming the matrix E , and a vector containing their corresponding eigenvalues, λ , we can com- f n 123 J. Hagenbjörk, J. Blomvall Volatility for Spot Rates Volatility for Forward Rates 0.25 σ Blomvall s σf Blomvall σf Cubic spline σ Blomvall s σ Blomvall σ Cubic spline a fa fa 0.25 σ Blomvall σ Blomvall σ Cubic spline fa s s 0.20 a a σ Cubic spline 0.20 σ Cubic spline sa 0.15 σ Cubic spline fa 0.15 0.10 0.10 0.05 0.05 0 2 4 6 8 10 0 2 4 6 8 10 Maturity [Years] Maturity [Years] Fig. 4 Term structure volatilities for different representations of the data. Since we are able to explain almost the entire covariance matrix in-sample, the long dashed lines will not be distinguishable from the solid lines. The eigenvectors of Cubic spline spot rates are not able to explain the entire variance of the forward rates using this limited set of risk factors pute the forward rate volatility explained by this approximation as σ = diag(E diag(λ )E ). (8) f f n a n Let us introduce the n × n matrix A, 1/ i, if j ≤ i A = (9) i, j 0, otherwise, which transforms a vector of forward rates into spot rates. In a similar way, we can introduce B, which is the inverse of A, and transforms spot rates to forward rates. Using B, we can compute the forward rate volatility implied by the spot rate risk factors as T T σ = diag(BE diag(λ )E B ). (10) s s n a n s The result of these computations is illustrated in Fig. 4, and here it is evident that the term structures estimated from the Cubic spline method contain a lot of noise. The risk factors will, to a high degree, model this noise instead of the systematic risk in the market. This can be seen by comparing its forward rate volatility, σ , to the volatility of the Blomvall (2017) model. Studying the spot rate volatilities, in the left panel of Fig. 4, one gets the impression that the amount of volatility for the longer maturities is the same for both models. Performing the analysis on spot rates does not get rid of the noise, but rather hides it, as seen by the implied forward rate volatility σ . The volatility in forward rates is almost the same as when PCA is performed on the forward rate covariance matrix. This is due to the integrating property when converting forward rates to spot rates. For this reason, we study forward rate agreements rather than interest rate swaps, because of their price sensitivity to forward rates. Volatility [%] Volatility [%] Simulation and evaluation of the distribution of interest… Blomvall, PC forward Cubic spline, PC forward 1.0 1.0 0.8 0.8 PC 1-3 0.6 PC 1-3 0.6 PC 4-6 PC 4-6 PC 7-16 PC 1-6 0.4 0.4 PC 1-16 0.2 0.2 0.0 0.0 0 2 4 6 8 10 0 2 4 6 8 10 Maturity [Years] Maturity [Years] Fig. 5 Proportions of term structure variance explained by different risk factors By taking this analysis one step further, we can examine what faction of the total variance we are able to explain by different risk factors. The results are shown in Fig. 5, and we immediately note that close to all of the in-sample variance is explained by six risk factors for the Blomvall (2017) data. We also note that the majority of the variance in the long end of the term structure is explained by the ﬁrst three risk factors (shift, twist and butterﬂy). The movements in the short end of the curve are, on the other hand, explained by the following three components. For PCA based on forward rates of Cubic splines, a very large proportion of the variance in the matu- rity range between 6 months and 2 years remains unexplained by the ﬁrst six risk factors. In total, as many as 16 risk factors are needed to achieve a similar degree of explained variance across all maturities. Performing the same analysis on spot rate based risk factors, arising from PCA of daily discretized Cubic splines, we conclude that ten risk factors are needed. We will thus include two Cubic spline-based models in the risk measurement evaluation. One using 16 risk factors for forward rate inno- vations, Δ f , and another using ten risk factors for spot rate innovations, Δs , t,T t,T where Δ f = f − f ,Δs = s − s . (11) t,T t,T t −1,T t,T t,T t −1,T Both are based on the same term structures, where the bootstrapping technique is combined with cubic spline interpolation. As explained earlier, the difference is that the PCA will be carried out on either discretized spot rates directly, or its corre- sponding forward rates. Modeling each risk factor using a normal distribution with a constant variance equal to its corresponding eigenvalues would yield similar results for these two models according to Fig. 4. However, we will use more sophisticated volatility models and copulas to model the relationship between the components, as described below. We will then get back to this volatility analysis using those mod- els. Proportion of Variance Explained Proportion of Variance Explained J. Hagenbjörk, J. Blomvall Table 4 Tests for stylized facts from the equity market applied to the six most signiﬁcant principal com- ponent of Blomvall (2017) data Normality Skewness Heteroscedasticity Statistic p value Statistic p value Statistic p value Shift 0.978 6.83e−29 4.80 1.57e−06 76.5 1.73e−33 Twist 0.887 0 − 6.44 1.20e−10 518 4.54e−207 Butterﬂy 0.847 0 − 5.22 1.83e−07 216 5.80e−91 4th 0.698 0 10.6 1.89e−26 322 4.22e−133 5th 0.799 0 − 2.18 0.0289 586 8.23e−232 6th 0.836 0 − 5.74 9.59e−09 366 2.80e−150 5 Volatility and scenario modeling Volatility modeling of the equity market returns has been studied thoroughly, where several empirical properties have been documented, see Gavrishchaka and Banerjee (2006) and references therein. Equity returns have a very short-range autocorrelation, within time spans as small as a few minutes. Equity return volatility on the other hand, is found to be clustered with a long-range memory up to several months, while being mean-reverting. The distribution of returns is fat-tailed and leptokurtic at time frames up to a few days. Volatilities are also found to be negatively correlated with returns, called the leverage effect. The above-mentioned properties imply that the classical assumption of normally distributed returns, with constant volatility, makes an inappropriate model for equity returns. Several models to deal with these properties have thus been proposed. Since this paper considers interest rate risk, and not equity risk, we seek to model changes in the interest rate risk factors rather than equity returns. We ﬁnd that these properties are present also in the principal components of interest rate innovations, y = E Δ f . t t Studying the most signiﬁcant principal component time series, it is evident that some of these properties are present here as well. The statistic tests that have been carried out to conﬁrm this are: a normality test by Shapiro and Wilk (1965), a skewness test by Kim and White (2004) and a heteroscedasticity test by Engle (1982). The results of these tests for the six most signiﬁcant forward rate based principal components of the Blomvall (2017) dataset are found in Table 4. Deguillaume et al. (2013) empirically show that the interest rate volatility is depen- dent on the interest rate levels in certain regimes. For low interest rates, below 2%, and for high interest rates, above 6%, interest rate volatility increases proportionally to the interest rate level. For the regime of 2–6% however, the interest rate volatility does not seem to depend on the interest rate level. Although these are interesting ﬁndings, we choose to model interest rate volatility separated from interest rate levels. If the interest rate volatility is dependent on the current regime, a volatility model based on actual principal component changes will capture this behavior for these different regimes indirectly. This approach works regardless of the regime, even under negative interest rates. To model the observed stylized facts of the principal component series, 123 Simulation and evaluation of the distribution of interest… we have implemented several models of the GARCH class, primarily based on the arch package for Python written by Sheppard (2017). The simplest way to model volatility is the constant volatility model σ = c. (12) To handle the heteroscedasticity and skewness, a model based on the paper by Glosten et al. (1993), is applied. The GJR-GARCH( p, o, q) volatility process is given by p q 2 2 2 2 σ = ω + α |y | + γ |y | I + β σ . (13) i t −i i t − j i t y <0 t −k { t − j } i =1 j =1 k=1 To model changes in the principal components, we propose different processes, based on the volatility processes above. The simplest one is to model a constant, or even assume a zero drift y = μ + , (14) where is a random number drawn from either the normal distribution, or the Student’s t-distribution, which is scaled by the volatility from (Eq. 13). Our ﬁndings suggest that the drift term is of very limited importance compared to the volatility, and that the constants become insigniﬁcant, as we will see in Table 6 later. Autoregressive processes are commonly used for the evolution of risk factors in the term structure forecasting literature. Deﬁne the AR( p)-model as y = μ + Φ y + , (15) t L t −L i i i =1 where L is the lag of order i. Autoregressive models of order p = 1 are popular, since an autocorrelation is usually observed at lag one for the different principal com- ponents. However, there is no inherent mechanic in the ﬁxed income market to justify this behavior. This is rather an effect of term structures adapting to measurement noise and returning back to the previous shape the following day. As a result of this, the use of autoregressive models to model general movements in principal components can be questioned. We believe that this autocorrelation effect should be prevented by the term structure measurement method directly, by utilizing information from adja- cent days. This is, however, not yet integrated in the Blomvall (2017)framework, nor in any other term structure estimation method. We ﬁnd that negative autocorre- lations are present in the principal components, shown in Table 5. Even though this indicates that an AR(1) would improve our results, we have not been able to show any improvements by including autoregressive processes, which is why we do not present any AR results. We note that principal components based on Blomvall (2017) term structures have less autocorrelation than Cubic splines, especially in the most signiﬁcant component, which is another indication that Cubic splines contain more noise. 123 J. Hagenbjörk, J. Blomvall Table 5 Autocorrelation for the ten most signiﬁcant principal components for different methods, together with the proportion of the total variance explained by each eigenvector Shift Twist PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 Blomvall, 0.02 − 0.32 − 0.22 − 0.29 − 0.34 − 0.40 − 0.37 − 0.46 − 0.40 − 0.45 PC, forward 64.7% 17.8% 10.2% 3.3% 2.6% 1.1% 0.2% 0.0% 0.0% 0.0% Cubic spline, − 0.40 − 0.12 − 0.25 − 0.42 − 0.41 − 0.48 − 0.33 − 0.37 − 0.40 − 0.26 PC forward 28.0% 19.0% 14.8% 7.9% 7.5% 6.6% 5.6% 3.3% 2.7% 1.5% Cubic spline, 0.07 − 0.45 − 0.06 − 0.30 − 0.36 − 0.43 − 0.48 − 0.36 − 0.37 − 0.42 PC spot 70.4% 19.6% 5.1% 1.4% 0.8% 0.6% 0.5% 0.4% 0.3% 0.3% 5.1 Simulation of term structures When the process for each principal component is given, we are able to simulate term structures using the Monte Carlo method. Consider the discrete term structure of forward rates f , observed at time t, and let E denote the matrix of the n most t n signiﬁcant eigenvectors from the PCA. If y represents the simulated shocks for these n risk factors between the time point t and t + 1, the forward rate term structure dynamics are given by f = f + E y . (16) t +1 t n t It is worth pointing out that the Nelson and Siegel (1987) scenario generation model uses the exact same implementation to generate y as the principal component based models, but applied to the parameter series (β ,β ,β ) of the parametric functions 0 1 2 instead. An illustration of forward rate scenarios 1 day ahead is shown in Fig. 6, where we note a clear difference in terms of realism between the two models. When generating scenarios more than 1 day ahead, one of two techniques can be used. The ﬁrst, and simplest one, is to forecast volatility analytically. This is carried out by setting the shocks y to its expected value for the time points up to our simulation horizon. Using a zero mean model with a GARCH model, this means that we set the shocks to y = 0, and let the volatility mean revert over the simulation horizon. We then simulate daily changes using this mean reverting path of the volatility, and sum the changes. The second approach is to simulate different paths for the volatility, where we use the simulated values y to update the volatility process along its path for each scenario separately. This is far more time and memory consuming, but produces better results for simulation horizons longer than one day. Since volatility forecasting occupies only a part of the total time, we use the simulation-based volatility forecasts for horizons beyond one day. 5.2 Model ﬁtting and calibration All models are ﬁtted using the Bayesian Information Criterion (BIC) in order to avoid overﬁtting and over-parameterization. This since BIC has a higher penalty for addi- 123 Simulation and evaluation of the distribution of interest… Blomvall, PC forward Cubic spline, PC forward 0.025 0.025 0.020 0.020 0.015 0.015 0.010 0.010 0.005 0.005 0.000 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 Fig. 6 Example of 250 1-day-ahead term structure scenarios generated using the Blomvall (2017) model and Cubic spline model with forward rate risk factors for the date 15 January 2017. The thicker blue lines represent the term structure of the present date tional parameters than the Akaike Information Criterion (AIC) when the number of observations is large. BIC is used to determine the order of the GJR-GARCH( p, o, q), the constant and the order of lag of the autoregressive model, as well as the choice of residual distribution among normal and Student’s t. Different risk factors may have different model orders and use different distributions. The parameters attained for in-sample dataset can be found in Table 6, and we can observe that the same GARCH(1, 1)-model using a Student’s t distribution has been selected across all models. We also note that the drift term μ is insigniﬁcant for all the displayed parame- ters. The risk factors are estimated once, using 6 years of in-sample data between 1996 and 2001. The model parameters and copulas are recalibrated every 2 years, using new data but keeping the data window of 6 years ﬁxed. To illustrate some of the stylized facts of the risk factor changes, we study in-sample histograms for the normalized residuals for the three most signiﬁcant risk factors computed from the forward rate risk factor model by Blomvall (2017), seen in Fig. 7. It is clear that the GARCH-type models provide a better ﬁt constant volatility models. This should come as no surprise, since the data tested positive for heteroscedasticity. We also note that the Student’s t-distributed residuals have been selected over normally distributed ones, which also holds for less signiﬁcant risk factors. These ﬁndings also conﬁrm the stylized facts presented earlier. 6 Modeling co-dependence via copulas We have thus far described univariate models for the principal component time series. By construction, these series are uncorrelated for the in-sample data. If the input data were also normally distributed, they would be independent. As argued previously, the principal component series are not normally distributed, and hence not independent. In addition, the out-of-sample data used in the test will still be correlated to some degree. According to Kaut and Wallace (2011), copulas are able to capture such dependencies in non-normally distributed principal components, and we therefore apply copulas to deal with these dependencies. ForwardRate ForwardRate J. Hagenbjörk, J. Blomvall Table 6 Mean value and model parameters for the GARCH-process including degrees of freedom for the Student’s t-distribution together with their corresponding p values for the in-sample period μω α β ν Blomvall, PC Shift − 0.00094 2.6e−05 0.041 0.94 6.7 forward (0.27) (0.069) (0.00048) (0) (2.1e−10) Twist − 4.7e−05 4e−05 0.24 0.66 5.1 (0.89) (0.031) (0.0019) (7.6e−09) (7e−11) Butterﬂy 0.00018 2.5e−06 0.069 0.93 2.9 (0.36) (0.18) (0.10) (1e−88) (3.7e−31) Cubic spline, PC Shift − 0.00046 0.00032 0.73 0.22 3.0 forward (0.31) (3.8e−05) (2e−06) (0.0095) (3.6e−24) Twist − 0.001 6.9e−05 0.055 0.9 5.5 (0.23) (0.064) (0.012) (1.7e−95) (6.3e−12) Butterﬂy 0.00027 0.00015 0.31 0.51 4.6 (0.58) (0.35) (0.18) (0.22) (2.4e−10) Cubic spline, PC Shift − 0.00067 1.8e−05 0.045 0.94 5.7 spot (0.36) (0.15) (0.0038) (0) (1.7e−13) Twist − 7.9e−05 5.3e−05 0.57 0.077 2.5 (0.53) (0.0096) (0.0086) (0.12) (3.1e−22) Butterﬂy 0.00012 3.4e−07 0.069 0.93 5.8 (0.35) (0.087) (0.00019) (0) (1.8e−11) Nelson–Siegel β − 1.9e−05 3.5e−07 0.54 0.46 3.1 (0.36) (0.0017) (6.3e−05) (4e−05) (5.9e−24) β 1.7e−05 1.8e−08 0.076 0.92 4.0 (0.42) (0.19) (0.061) (2.7e−102) (5.1e−22) β 1.8e−05 6.2e−08 0.050 0.95 3.0 (0.71) (0.42) (0.027) (2e−218) (2.6e−44) Note that all model ﬁttings result in GARCH(1, 1)-models with Student’s t-distribution according to the Bayesian Information Criterion Simulation and evaluation of the distribution of interest… Shift Constant Volatility t(5.79) Twist Constant Volatility t(3.26) Butterﬂy Constant Volatility t(2.05) 2.5 Standardized Student’s t(5.79) 0.6 Standardized Student’s t(3.26) Standardized Student’s t(2.05) 0.5 Normal Normal Normal 0.5 2.0 0.4 0.4 1.5 0.3 0.3 1.0 0.2 0.2 0.5 0.1 0.1 0.0 0.0 0.0 −4 −2 0 2 4 6 −10 −5 0 5 10 −5 0 5 10 Shift p=1 o=0 q=1 t(6.67) Twist p=1 o=0 q=1 t(5.07) Butterﬂy p=1 o=0 q=1 t(2.87) 0.8 Standardized Student’s t(6.67) Standardized Student’s t(5.07) Standardized Student’s t(2.87) 0.5 0.5 Normal Normal Normal 0.6 0.4 0.4 0.3 0.3 0.4 0.2 0.2 0.2 0.1 0.1 0.0 0.0 0.0 −4 −2 0 2 4 6 −10 −5 0 5 −5 0 5 Fig. 7 In-sample histograms during 1996–2001 for the three most signiﬁcant risk factors from Blomvall (2017) model, using a constant volatility model (top) compared to a GARCH volatility model (bottom) Junker et al. (2006) study term structure dependence via copulas by investigating the long end and the short end of the term structure, represented by spot rates for 1-year and 5-year maturities respectively. They ﬁnd that elliptical copulas, such as normal and Student-t copulas are not suitable for modeling this complex dependence structure. Instead, the class of Archimedean couplas, including Frank and Gumbal copulas, could capture this structure. Modeling two distinct interest rate levels differs from modeling the movement of several risk factors. We thus had very limited success using Archimedean copulas, where they worked at all for this high dimensional data, using the R-package by Hofert et al. (2017). The copulas are calibrated using principal component changes normalized by the volatility from our volatility models, since they are to be used to generate dependent random numbers used in the volatility process. The inverse cumulative distribution function for the chosen distribution of each risk factor is then used together with the copula, in order to generate dependent scenarios. An in-sample estimation of different copulas, using the GARCH models described in Sect. 5, is performed in order to ﬁnd the best copula for each dataset. The likelihood value of each copula is compared within each dataset, using the Bayesian Information Criterion (BIC) to account for the number of parameters for each copula. The results are displayed in Table 7, and since the Student’s t-copula provides the best information for all datasets, we choose it to model the co-dependence across all models. Now that we have described our scenario generation model, we take a step back to once again study the term structure volatility. We make the same analysis as in Fig. 4, but we use our simulation models to generate scenarios for each day and compute empirical volatilities for the in-sample period using 1000 scenarios for each day. The results are found in Fig. 8 and there is a striking similarity to the theoretical volatilities 123 J. Hagenbjörk, J. Blomvall Table 7 BIC values for in-sample ﬁtting of different copulas to different datasets Blomvall, PC Cubic spline, PC Cubic spline, PC Nelson–Siegel forward forward spot Normal Copula 456.1 566.3 768.4 679.6 t Copula 1075 1675 1638 708.2 Volatility for Forward Rates σ Blomvall, PC forward σ Cubic spline, PC forward 0.25 σ Blomvall, PC spot σ Cubic spline, PC spot 0.20 0.15 0.10 0.05 0 2 4 6 8 10 Maturity [Years] Fig. 8 Simulated in-sample term structure volatilities for our models compared to theoretical volatilities from the PCA seen as thin dashed lines from the PCA. We clearly see that our way of modeling the evolution of term structures, in order to better ﬁt the ex-post realizations, does not affect the volatility to a high degree. There is still a strong presence of noise in the Cubic spline models. In fact, very similar volatilities are obtained for the out-of-sample period as well. In Sect. 8 we will see how this affects the simulated volatilities and risk measures. 7 Back-testing and evaluation procedure We now wish to evaluate which method is most consistent with the realizations that can be observed in the market during our out-of-sample period. Since we cannot directly observe term structures in the market, we compare it to the ones estimated using the different methods. The drawback of this approach is that it will make the realization, and thus this evaluation procedure, dependent on the term structure method used. Fur- thermore, it is problematic to evaluate time series of distributions of high dimensional term structures, against high dimensional realizations of term structures. Since term structures are primarily used to price interest rate instruments, we use portfolio values in order to reduce the dimensionality of the evaluation problem. By pricing a random- ized portfolio using our generated term structure scenarios and comparing them to the historical realizations, we reduce the problem to evaluating distributions of portfolio values, compared to realized values. Besides evaluating the ﬁt of the distribution, we Volatility [%] Simulation and evaluation of the distribution of interest… will also study portfolio volatilities and VaR to get a grasp of the cost of using the different methods for measuring interest rate risk. We use forward rate agreements (FRA) from the U.S. market to make up the portfo- lio as described earlier. Our portfolio tries to mimic an unhedged book by containing a randomized, normally distributed cash ﬂow for each day. To be able to study interest rate risk over the entire maturity span up to 10 years, we use the market quoted FRA contracts up to 21 × 24 months, and in addition, we synthesize contracts for longer maturities spanning up to 117 × 120 months spaced with 3 months in between. We do this in order to capture the risk in the entire maturity span studied in Figs. 2, 3, 4, 5, 6, and 8. These ﬁgures highlight the problems to correctly estimate forward rate risk in Cubic spline term structures. We have set up trades to the quoted market rates when available, or the Blomvall (2017) forward rate, making the initial value of the synthetic contract close to zero. We keep only one single cashﬂow per day in order to minimize the amount of cashﬂows to handle when simulating over longer time peri- ods, as described below. This is achieved by trading a normally distributed random amount in all maturities for all trading days during 3 months prior to the out-of-sample starting date. During the back-test, the longest contract is traded in order to maintain this structure. This results in a portfolio containing approximately 2500 instruments, which are constantly replaced as they roll out of maturity. The back-testing system is built in C++, using a custom built portfolio management system for QuantLib (Ametrano and Ballabio 2000), which is scripted in Python. Since the portfolio for a given day is constant across all scenarios, the portfolio valuation pro- cedure can be simpliﬁed. By gathering all cash ﬂows from the instruments making up the portfolio into one composite instrument, and pricing this single instrument across all scenarios, a dramatic speed up is achieved. This makes it possible to simulate 2000 scenarios within approximately 2.5 s per model, using a standard desktop computer. When simulation is carried out over a short time period, the LIBOR ﬁxing rates observed in the market can be used for ﬁxing the ﬂoating cash ﬂows of the instruments. Over longer evaluations, these realized ﬁxing rates will not match the generated term structure scenarios, as they should be a result of the realized path of the simulated term structures. For longer simulations, a trajectory of term structures for each trading day therefore has to be simulated. The ﬁxing rate r implied by a term structure for a given day t can be calculated as d(t )/d(t ) − 1 1 2 r = , (17) where d(t ) is the discount factor for ﬁxing date t of t , d(t ) is the discount factor 1 1 0 2 for the date resulting from advancing t by the tenor period, and t is the time between t and t , measured as a year fraction by the day-counting convention used in the 1 2 market. When ﬁxing rates differs among scenarios, portfolio composition will not only differ between days, but also between scenarios. This makes the valuation procedure substantially more computationally heavy. 123 J. Hagenbjörk, J. Blomvall 7.1 Statistical test In order to test different scenario generating models’ ability to generate scenarios that are consistent with historically observed realizations, we use a Wald-type test by Giacomini and White (2006). Consider the distribution function of the portfolio value f (x ), simulated over some time horizon starting at date t. Our goal should be to maximize the log-likelihood function of all n independent observations x , t = 1,..., n, L(θ |x) = ln f (x ). (18) t t t =1 The portfolios are identical across all models, but since the portfolio values are depen- dent on the term structure measurement method, our observations x , will differ among models. Since we do not know the distribution function, only our simulated scenario values x for i = 1,..., s, we will have to have to resort to a simulation-based maximum t,i likelihood method. The method that we use is based on the method by Kristensen and Shin (2012), where they present a non-parametric kernel-based method to approximate the likelihood function. We introduce a kernel density function f (x ), to approximate the real probability density function. Assume our s simulated portfolio scenario values of time t, follow the target distribution x ∼ f (·|θ). (19) t,i By the use of kernel-based methods, these scenarios can be used to estimate f (x |θ). Deﬁne the kernel density estimator f (x ) = K x − x , (20) t h k=1 where K (z/ h) K (z) = . (21) Here, K (·) is the kernel function, and K is the scaled kernel function, where h > 0 is the bandwidth. We use a Gaussian kernel given by θ 2 1 −(x − x ) θ t K (x − x ) = √ exp , (22) 2h 2π h which can be interpreted as placing a small Gaussian bell with standard deviation h, in each x . The kernel density estimator f (x ) is given by the normed sum of these bells, or more formally 123 Simulation and evaluation of the distribution of interest… θ 2 −(x − x ) t,i f (x ) = √ exp . (23) 2h 2π hs i =1 It has been shown that if Gaussian kernel functions are used to approximate data where the underlying density is Gaussian, the optimal choice for the bandwidth is given by 4σ h = , (24) 3s where σ is the sample standard deviation of x (Silverman 1986). Given the kernel density estimator in (23), we can replace the density function of from (18)by f (x ) to get L(·|θ) = ln f (x ). (25) t t t =1 By comparing these likelihood values, we can evaluate different models’ ability to measure risk. Using Pearson’s chi-squared test, we can examine whether the difference between the likelihood values of a reference model L (·|θ) and its comparison model L (·|θ) of two models are separated from zero. Deﬁne R R C C ˆ ˆ δ = ln f (x ) − ln f (x ), and δ = δ , (26) t t t t t t t =1 which gives us the test statistic 2 2 n δ ∼ χ (1). (27) t =1 t Besides the statistical test, the kernel distribution can be used for computing VaR or expected shortfall numerically. 8 Simulation results In order to generate term structure scenarios that are consistent with historical observa- tions, the univariate distribution of the changes in each risk factor have to be accurate, even for the out-of-sample data. However, as explained in Sect. 6, consistent uni- variate distributions do not guarantee that the scenarios are consistent in the case of co-dependence. Since it is necessary to match the univariate distributions, we start by showing out-of-sample QQ-plots for the three most signiﬁcant risk factors for our GJR-GARCH model, using the Blomvall (2017) data. The results shown in Fig. 9 are promising, and superior compared to similar results of constant volatility models, which we saw perform poorly even for the in-sample period (Fig. 7). We thus turn to the back-test described in Sect. 7 using this model with the Student’s t-copula. 123 J. Hagenbjörk, J. Blomvall Shift p=1 o=0 q=1 t(8.21) Twist p=1 o=0 q=1 t(4.33) Butterﬂy p=1 o=0 q=1 t(3.89) 4.0 5.0 5.0 2.0 2.5 0.0 0.0 0.0 -2.0 -2.5 -5.0 -5.0 -4.0 −5.0 −2.5 0.0 2.5 −5 0 5 −5 0 5 Theoretical Quantiles Theoretical Quantiles Theoretical Quantiles Fig. 9 Out-of-sample QQ-plot of forecasted normalized residuals of principal component innovations for the Blomvall (2017) model, ﬁtted 1999–2006 displaying 4 years between 2006 and 2010, thus including the ﬁnancial crisis 8.1 Back-test using a 1-day forecasting horizon We compare our datasets, using the portfolio which values we presented in Fig. 1 earlier. In order to emphasize the fact that the choice of forward rates or spot rates have very limited impact of the results of the Blomvall (2017) model, as indicated by the term structure volatility displayed in Fig. 8, we also provide results using spot rate risk factors. We also provide the results of a Cubic spline model using a constant volatility, normally distributed residuals with an independence copula. This represents independent scenario simulation using the results from the PCA on spot rate innovations directly, which would be a basic model requiring minimal implementation. The distribution of scenario volatilities, together the overall portfolio volatility is shown in Fig. 10. Here we have capped the simulation volatilitiy values at 100, in order to avoid unrealistic scenario outcomes, causing misrepresentation of the sample volatilities σ ¯ . In order to be able to compare the scenario volatilities to the portfolio volatilities in Table 1, we compute them as the standard deviation with the portfolio value from the previous day as the sample mean. We note that the capped simulated volatilities in Fig. 10 are very close to the portfolio volatilities presented in Table 1, and that the Blomvall (2017) models produce the lowest scenario volatilities followed by the Nelson and Siegel (1987) model. We also note that the Cubic spline model attains a lower portfolio volatility when spot rate risk factors are used compared to forward rate risk factors, which is expected according to Fig. 8, where the spot rate volatilities are lower. Low scenario volatility implies lower risk measures, which is desirable as long as the risk measure is consistent with realized outcomes, and the model produces prices that are consistent with market prices, without systematic errors. Systematic price errors were investigated in Sect. 2, and consistency with realized outcomes will now be studied using histograms together with the statistical test from Sect. 7.1. Using the kernel to obtain a continuous distribution, we use its inverse distribution to retrieve supposedly uniformly distributed random variables. From the inversion principle we know that these random variables will be uniformly distributed if the scenarios give a correct description of the realized portfolio returns. We study this using histograms, and the result over the out-of-sample period is shown in Fig. 11. We note that the Blomvall (2017) model display a good ﬁt relative to the realizations. Sample Quantiles Sample Quantiles Sample Quantiles Simulation and evaluation of the distribution of interest… Distribution of Simulated Portfolio Volatilities 0.07 Blomvall, PC forward Cubic spline, PC spot (¯ σ = 24.28) (¯ σ = 27.09) 0.06 Blomvall, PC spot Const. Cubic, PC spot (¯ σ = 24.29) (¯ σ = 27.59) 0.05 Cubic spline, PC forward Nelson-Siegel (¯ σ = 28.48) (¯ σ = 24.89) 0.04 0.03 0.02 0.01 0.00 0 20 40 60 80 100 Simulated Volatility Fig. 10 Histogram of the out-of-sample 1-day-ahead scenario volatilities between 2002 and 2017 for the portfolio. Values are capped at 100 Blomvall, PC forward Cubic spline, PC forward Const. Cubic spline, PC spot 1.50 2.5 1.25 1.25 2.0 1.00 1.00 1.5 0.75 0.75 1.0 0.50 0.50 0.5 0.25 0.25 0.00 0.00 0.0 0.0 0.5 1.0 0.0 0.5 1.0 0.0 0.5 1.0 Blomvall, PC spot Cubic spline, PC spot Nelson-Siegel 2.0 1.50 1.25 1.25 1.5 1.00 1.00 0.75 1.0 0.75 0.50 0.50 0.5 0.25 0.25 0.00 0.0 0.00 0.0 0.5 1.0 0.0 0.5 1.0 0.0 0.5 1.0 Fig. 11 Out-of-sample results between 2002 and 2017 using zero mean, GJR-GARCH and Student’s t-copula except for the last model which has constant volatility model with an independence copula Other models generally overestimate the risk in most cases, as indicated by higher probability mass in the center of the distribution. This is the result of most realizations having a smaller magnitude than the model predicts. However, all the Cubic spline models underestimate the risk for the most extreme realizations, as indicated by the higher bars in the tails of the distribution. Applying the statistical test from Sect. 7.1, we get the results displayed in Table 8. The Blomvall (2017) model obtain signiﬁcantly higher likelihood values than the Frequency J. Hagenbjörk, J. Blomvall Table 8 Results for the 1-day-horizon, where δ is the difference in likelihood value between the Blomvall (2017) model and the compared model Compared Model T δ p Blomvall, PC spot 0.463 − 0.00939 0.496 Cubic spline, PC forward nan −inf 0 Cubic spline, PC spot 68.3 −1.15 1.42e−16 Const. Cubic spline, PC spot nan −inf 0 Nelson–Siegel 0.799 0.0160 0.371 A negative δ indicates that the Blomvall (2017) model has a higher likelihood value. The p value is the probability that the null hypothesis of equal likelihood values is falsely rejected spline models. The Nelson and Siegel (1987) model obtain a higher likelihood value, but this is not statistically signiﬁcant. Two of the Cubic spline models provide outliers that are so unlikely that their probability is equal to zero. This results in numerical problems, but we can interpret this as p = 0. The Cubic spline model based on spot rate risk factors exhibits a better ﬁt in the histogram and in the statistical test. In addition, it produces lower portfolio volatility as seen earlier. Even though we model the entire distribution, we can use the scenarios and the kernel function to study the left tail of the distribution to compute VaR. We study this by sorting the supposedly uniformly distributed values that we retrieve from transforming realized portfolio values by the inverse of the kernel function. In the left panel of Fig. 12 we can depict the ex-post realizations of how often extreme losses occur relative to the expected frequency. We also use the kernel distribution to numerically compute ex-ante estimations of VaR for different conﬁdence levels, shown in the right panel of Fig. 12. We see that the Blomvall (2017) models produce the lowest VaR levels while having a very accurate representation of the tail distribution (left panel). Here, we also conﬁrm that all the Cubic spline models underestimate the extreme tail risk, as previously seen in the histograms in Fig. 11. This causes the constant volatility Cubic spline model to falsely perceive a relatively ﬂat VaR curve for increasing conﬁdence levels (right panel). Our Cubic spline model based on spot rate risk factors exhibits a lower VaR curve, as would be expected with the lower volatility results of Fig. 10. However, a part of this result comes at the price of underestimating the risk across all conﬁdence levels displayed in the left panel of Fig. 12. The Nelson and Siegel (1987) model overestimates the risk but still produces lower risk estimates compared to the Cubic spline models. Even though we only calculate VaR, the results are translated to expected shortfall as this is the expectation of VaR below the quantile. 8.2 Back-test using a 10-day forecasting horizon We also provide results for a 10-day horizon, since this is commonly used in Basel regulations. For this horizon, we start to notice differences between the analytical and the simulation based approach described in Sect. 5.1, and we thus use the simulation 123 Simulation and evaluation of the distribution of interest… Value at Risk QQ Average Value at Risk Blomvall, PC forward 0.06 Blomvall, PC spot 0.05 Cubic spline, PC forward Cubic spline, PC spot 0.04 Const. Cubic, PC spot Nelson-Siegel 0.03 0.02 0.01 0.00 0 0.00 0.01 0.02 0.03 0.04 0.05 0.01 0.02 0.03 0.04 0.05 Theoretical Quantiles Percentile Fig. 12 Tail risk QQ and 1-day-ahead average VaR over the out-of-sample period Distribution of Simulated Portfolio Volatilities 0.035 Blomvall, PC forward (¯ σ = 32.77) 0.030 Cubic spline, PC spot (¯ σ = 50.31) 0.025 Nelson-Siegel (¯ σ = 38.46) 0.020 0.015 0.010 0.005 0.000 0 20 40 60 80 100 120 140 Simulated Volatility Fig. 13 Histogram of the out-of-sample 10-day scenario volatilities between 2002 and 2017 for the port- folio. Values are capped at 150 based approach with 2000 scenarios. We chose to concentrate on the models displaying the best results for the 1-day simulation based on the amount of volatility and statistical test. Hence, we chose the Cubic spline model using spot rate risk factors, together with the Nelson and Siegel (1987) model as reference models. The scenario volatilities is shown in Fig. 13. Here we have capped simulation volatilitiy values at 150, due to unrealistic scenario outcomes, which mainly affects the Nelson and Siegel (1987) model, in terms of decreased average volatility. Studying the ﬁt of our models in Fig. 14 we start to notice a slight overestimation of the risk in the Blomvall (2017) model and the Nelson and Siegel (1987) model, especially for positive returns. The Cubic spline model displays a more severe over- estimation of the risk. Turning once again to the statistical test, we ran a separate test where simulations were spaced equal to the simulation horizon of 10 days to ensure that there is no dependence between observations, as required by the test. The results can be seen in Table 9, where we ﬁnd that the model by Blomvall (2017) produces sig- Frequency Observed Quantiles Value at Risk J. Hagenbjörk, J. Blomvall Blomvall, PC forward Cubic spline, PC spot Nelson-Siegel 2.5 1.75 1.50 1.50 2.0 1.25 1.25 1.00 1.5 1.00 0.75 0.75 1.0 0.50 0.50 0.5 0.25 0.25 0.00 0.0 0.00 0.0 0.5 1.0 0.0 0.5 1.0 0.0 0.5 1.0 Fig. 14 Out-of-sample results for a 10-day horizon plotted against the uniform distribution Table 9 Results for the 10-day simulation horizon, where δ is the difference in likelihood value between the reference model and the Blomvall (2017) model Compared model T δ p Cubic spline, PC spot 25.3 − 0.766 4.95e−07 Nelson–Siegel 14.4 − 0.0907 0.000148 A positive δ indicates that the reference model has a higher likelihood value. The p value is the probability that the null hypothesis of equal likelihood values is falsely rejected Value at Risk QQ Median Value at Risk Blomvall, PC forward 0.14 Cubic spline, PC spot 0.12 Nelson-Siegel 0.10 0.08 0.06 0.04 0.02 0.00 0 0.00 0.01 0.02 0.03 0.04 0.05 0.01 0.02 0.03 0.04 0.05 Percentile Theoretical Quantiles Fig. 15 Tail risk QQ and 1-day-ahead median values for VaR over the out-of-sample period niﬁcantly higher likelihood values than both the Cubic spline model and the dynamic Nelson and Siegel (1987) model. Studying the VaR for this commonly used simulation horizon, seen in Fig. 15, we note that the tail risk is overestimated by all models at this simulation horizon. Due to some unrealistic scenario values of the Nelson and Siegel (1987), we have use median values instead of average values of VaR. These measures are substan- tially lower for the Blomvall (2017) model, especially for the lowest percentile. This is a result of the model generating excessive noise in addition to the actual risk, Observed Quantiles Value at Risk Simulation and evaluation of the distribution of interest… Distribution of Simulated Portfolio Volatilities 0.012 Blomvall, PC forward (¯ σ = 89.64) 0.010 Cubic spline, PC spot (¯ σ = 134.90) 0.008 Nelson-Siegel (¯ σ = 151.73) 0.006 0.004 0.002 0.000 0 100 200 300 400 500 Simulated Volatility Fig. 16 Histogram of the weekly out-of-sample one-quarter-ahead scenario volatilities between 2002 and 2017 for the portfolio. Values are capped at 500 something that would unnecessarily increase capital requirements under Basel regu- lations. 8.3 Long-term back-testing As pointed out by Rebonato et al. (2005), evolving yield curves over long horizons is a difﬁcult task, and as described earlier, long-term scenario simulation using daily forecasts is a computationally cumbersome process. Because of this, we have limited the test to a one-quarter-ahead simulation using 500 scenarios. We perform weekly simulations instead of daily in order for the model to ﬁnish within 12 h. The volatility distribution is presented in Fig. 16. Here we have capped volatility values at 250, due to highly unrealistic scenario values. This mainly affects the Nelson and Siegel (1987) model, but also the Cubic spline model, while the Blomvall (2017) model shows no signs of unrealistic scenarios. Studying the histogram in Fig. 17 we note that the Blomvall (2017) has the best ﬁt, while other models show more severe problems even though the ﬁt for positive returns is a recurring problem for all models. We perform no statistical test for this horizon due to the limited number of independent observations. Computing the VaR measures in Fig. 18 has to be done using median value instead of average due to the unrealistic scenarios mentioned above. All models overestimate the risk, but the Blomvall (2017) model shows the best ﬁt and provides substantially lower VaR mea- sures. 8.4 Towards accurate measurements of interest rate risk To accurately model interest rate risk, it is necessary to ensure that the model does not capture noise. It is evident from the right panel of Fig. 4 that, measuring interest rate curves using cubic splines, introduces noise that may be hidden in the PCA of spot rates. Even though adding more realistic modeling of the principal components for Frequency J. Hagenbjörk, J. Blomvall Blomvall, PC forward Cubic spline, PC spot Nelson-Siegel 2.0 2.5 3.0 2.5 2.0 1.5 2.0 1.5 1.0 1.5 1.0 1.0 0.5 0.5 0.5 0.0 0.0 0.0 0.0 0.5 1.0 0.5 1.0 0.0 0.5 1.0 Fig. 17 Weekly Out-of-sample results between with simulation horizon of one quarter Value at Risk QQ Median Value at Risk 400 Blomvall, PC forward 0.175 Cubic spline, PC spot Nelson-Siegel 0.150 0.125 0.100 0.075 0.050 0.025 0.000 0 0.00 0.01 0.02 0.03 0.04 0.05 0.01 0.02 0.03 0.04 0.05 Theoretical Quantiles Percentile Fig. 18 Tail risk QQ and one-quarter-ahead median VaR for the out-of-sample period the Cubic spline models signiﬁcantly improves the results (Figs. 11, 12), it is obvious that improved modeling will not overcome the fact that noise is being modeled. As a direct consequence, the Cubic spline models manage to overestimate the inherent interest rate risk ex-ante, while it simultaneously underestimates the tail risk ex-post for the daily horizon (Fig. 12). The inherent property that Cubic spline models cannot deal with measurement noise that creates unrealistic interest rates for the 10-day and quarterly simulation horizons. The consequence of this is very high VaR measures (Figs. 15, 18). The Nelson and Siegel (1987) model creates less accurate prices (Fig. 1), but simul- taneously improve the risk measurement both ex-ante and ex-post compared to the Cubic spline models (Fig. 12). However, for longer horizons, also the Nelson and Siegel (1987) model tend to increase the risk signiﬁcantly (Figs. 15, 18), indicating that this model also models noise to a large extent. Relying on a formulation of the inverse problem that is more resilient to measurement noise, as the one suggested by Blomvall (2017), allows for decreased VaR and expected shortfall measures. This results in lower capital requirements for the FRTB, while having control over the realized risk. Observed Quantiles Value at Risk Simulation and evaluation of the distribution of interest… 9 Conclusions This paper concerns modeling of the entire distribution of interest rate risk by mod- eling its systematic risk factors. We ﬁnd GARCH-models useful for modeling of the volatility of principal component series. We also ﬁnd that the Student’s t-copula is the most suitable copula for modeling co-dependence between these principal compo- nent series. Based on these ﬁndings, we construct models that are independent of the underlying term structure measurement methods and work in all regimes, including negative interest rates. After establishing the interconnection between the measure- ment of interest rate risk, and the measurement of term structures, we identify three important properties. First, there should be no systematic price errors caused by the term structure measurement method. Second, the distribution of the risk factors must be consistent with their realizations. Third, lower risk is preferable. We investigate these three properties and seek a model which satisﬁes them all. Scenario volatility of different models are studied in order to compare their level of risk. The ability to generate scenarios that are consistent with realized outcomes, is studied by valuing a portfolio containing interest rate derivatives, and compare scenario values with real- ized outcomes. In order to reveal any weakness of the model, we choose forward rate agreements to make up the portfolio. These instruments are sensitive to changes to the forward rates, which is an inherent problem for traditional interest rate measure- ment methods. We conclude that our proposed model, based on Blomvall (2017)term structures, accurately reﬂects 1-day-ahead the risk in in the portfolio, while obtaining the lowest volatility and VaR levels. For the 10-day horizon, Cubic spline models and the Nelson and Siegel (1987) model exhibit further problems caused by the volatility arising from noise being scaled by the increased time horizon, leading to unnecessarily increases in capital requirements under Basel regulations. For long-term simulations over a quarter, the Blomvall (2017) produces the by far best results. We conclude that the term structures by the Blomvall (2017) model contain the least amount of noise, but that the method could be improved in order to further reduce the amount of noise. We believe that this would further reduce the measured risk, as well as improve the ﬁt of the risk distribution for longer simulation horizons. Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 Interna- tional License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. References Abdymomunov A, Gerlach J (2014) Stress testing interest rate risk exposure. J Bank Finance 49:287–301 Ametrano F, Ballabio L (2000) Quantlib—a free/open-source library for quantitative ﬁnance. http://quantlib. org/. Accessed 23 Nov 2015 Basel Committee on Banking Supervision (2014) Fundamental review of the trading book: a revised market risk framework. Consultative document Bierwag GO, Kaufman GG, Toevs A (1983) Duration: its development and use in bond portfolio manage- ment. Financ Anal J 39(4):15–35 123 J. Hagenbjörk, J. Blomvall Bliss RR (1997) Movements in the term structure of interest rates. Econ Rev Fed Reserve Bank Atlanta 82(4):16 Blomvall J (2017) Measurement of interest rates using a convex optimization model. Eur J Oper Res 256(1):308–316 Blomvall J, Ndengo M (2013) High quality yield curves from a generalized optimization framework. Working paper Chambers DR, Carleton WT, McEnally RW (1988) Immunizing default-free bond portfolios with a duration vector. J Financ Quant Anal 23(1):89–104 Chang CL, Jiménez-Martín JA, Maasoumi E, McAleer MJ, Pérez-Amaral T (2016) Choosing expected shortfall over VaR in Basel III using stochastic dominance. USC-INET Research Paper No. 16-05 Charpentier A, Villa C (2010) Generating yield curve stress-scenarios. Working paper Chen Y, Li B (2011) Forecasting yield curves in an adaptive framework. Cent Eur J Econ Model Econom 3(4):237–259 Chen Y, Härdle W, Spokoiny V (2007) Portfolio value at risk based on independent component analysis. J Comput Appl Math 205(1):594–607 Cousin A, Maatouk H, Rullière D (2016) Kriging of ﬁnancial term-structures. Eur J Oper Res 255(2):631– Deguillaume N, Rebonato R, Pogudin A (2013) The nature of the dependence of the magnitude of rate moves on the rates levels: a universal relationship. Quant Finance 13(3):351–367 Diebold FX, Li C (2006) Forecasting the term structure of government bond yields. J Econom 130(2):337– Diebold FX, Ji L, Li C (2004) A three-factor yield curve model: non-afﬁne structure, systematic risk sources, and generalized duration. Macroecon Finance Econom Essays Mem Albert Ando 1:240–274 Engle RF (1982) Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inﬂation. Econom J Econom Soc 50(4):987–1007 Fisher L, Weil RL (1971) Coping with the risk of interest-rate ﬂuctuations: returns to bondholders from naive and optimal strategies. J Bus 44(4):408–431 Gavrishchaka VV, Banerjee S (2006) Support vector machine as an efﬁcient framework for stock market volatility forecasting. Comput Manag Sci 3(2):147–160 Giacomini R, White H (2006) Tests of conditional predictive ability. Econometrica 74(6):1545–1578 Glosten LR, Jagannathan R, Runkle DE (1993) On the relation between the expected value and the volatility of the nominal excess return on stocks. J Finance 48(5):1779–1801 Hagan PS, West G (2006) Interpolation methods for curve construction. Appl Math Finance 13(2):89–129 Heath D, Jarrow R, Morton A (1992) Bond pricing and the term structure of interest rates: a new methodology for contingent claims valuation. Econom J Econom Soc 60(1):77–105 Hofert M, Kojadinovic I, Maechler M, Yan J (2017) Multivariate dependence with copulas. https://cran.r- project.org/web/packages/copula/copula.pdf. Accessed 12 Apr 2017 Ingersoll JE, Skelton J, Weil RL (1978) Duration forty years later. J Financ Quant Anal 13(4):627–650 Junker M, Szimayer A, Wagner N (2006) Nonlinear term structure dependence: copula functions, empirics, and risk implications. J Bank Finance 30(4):1171–1199 Kaut M, Wallace SW (2011) Shape-based scenario generation using copulas. CMS 8(1):181–199 Kim TH, White H (2004) On more robust estimation of skewness and kurtosis. Finance Res Lett 1(1):56–73 Knez PJ, Litterman R, Scheinkman J (1994) Explorations into factors explaining money market returns. J Finance 49(5):1861–1882 Kristensen D, Shin Y (2012) Estimation of dynamic models with nonparametric simulated maximum likelihood. J Econom 167(1):76–94 Laurini MP, Ohashi A (2015) A noisy principal component analysis for forward rate curves. Eur J Oper Res 246(1):140–153 Litterman RB, Scheinkman J (1991) Common factors affecting bond returns. J Fixed Income 1(1):54–61 Macaulay FR (1938) Some theoretical problems suggested by the movements of interest rates, bond yields and stock prices in the united states since 1856. NBER books Molgedey L, Galic E (2001) Extracting factors for interest rate scenarios. Eur Phys J B Condens Matter Complex Syst 20(4):517–522 Moraux F, Villa C (2003) The dynamics of the term structure of interest rates: an independent component analysis. Connect Approaches Econ Manag Sci 6:215 Nelson CR, Siegel AF (1987) Parsimonious modeling of yield curves. J Bus 60(4):473–489 123 Simulation and evaluation of the distribution of interest… Prisman EZ, Shores MR (1988) Duration measures for speciﬁc term structure estimations and applications to bond portfolio immunization. J Bank Finance 12(3):493–504 Rebonato R, Mahal S, Joshi M, Buchholz LD, Nyholm K (2005) Evolving yield curves in the real-world measures: a semi-parametric approach. J Risk 7(3):1 Shapiro SS, Wilk MB (1965) An analysis of variance test for normality (complete samples). Biometrika 52(3/4):591–611 Sheppard K (2017) arch. https://github.com/bashtage/arch Silverman BW (1986) Density estimation for statistics and data analysis, vol 26. CRC Press, Boca Raton Svensson LE (1994) Estimating and interpreting forward interest rates: Sweden 1992–1994. Tech rep, National Bureau of Economic Research Topaloglou N, Vladimirou H, Zenios SA (2002) Cvar models with selective hedging for international asset allocation. J Bank Finance 26(7):1535–1561 Willner R (1996) A new tool for portfolio managers: level, slope, and curvature durations. J Fixed Income 6(1):48–59
Computational Management Science – Springer Journals
Published: Jun 5, 2018
It’s your single place to instantly
discover and read the research
that matters to you.
Enjoy affordable access to
over 18 million articles from more than
15,000 peer-reviewed journals.
All for just $49/month
Query the DeepDyve database, plus search all of PubMed and Google Scholar seamlessly
Save any article or search result from DeepDyve, PubMed, and Google Scholar... all in one place.
Get unlimited, online access to over 18 million full-text articles from more than 15,000 scientific journals.
Read from thousands of the leading scholarly journals from SpringerNature, Elsevier, Wiley-Blackwell, Oxford University Press and more.
All the latest content is available, no embargo periods.
“Hi guys, I cannot tell you how much I love this resource. Incredible. I really believe you've hit the nail on the head with this site in regards to solving the research-purchase issue.”
Daniel C.
“Whoa! It’s like Spotify but for academic articles.”
@Phil_Robichaud
“I must say, @deepdyve is a fabulous solution to the independent researcher's problem of #access to #information.”
@deepthiw
“My last article couldn't be possible without the platform @deepdyve that makes journal papers cheaper.”
@JoseServera
DeepDyve Freelancer | DeepDyve Pro | |
---|---|---|
Price | FREE | $49/month |
Save searches from | ||
Create lists to | ||
Export lists, citations | ||
Read DeepDyve articles | Abstract access only | Unlimited access to over |
20 pages / month | ||
PDF Discount | 20% off | |
Read and print from thousands of top scholarly journals.
Already have an account? Log in
Bookmark this article. You can see your Bookmarks on your DeepDyve Library.
To save an article, log in first, or sign up for a DeepDyve account if you don’t already have one.
All DeepDyve websites use cookies to improve your online experience. They were placed on your computer when you launched this website. You can change your cookie settings through your browser.
ok to continue