Table of Contents Author Guidelines Submit a Manuscript
Mathematical Problems in Engineering
Volume 2015, Article ID 959312, 6 pages
Research Article

Calculation of Credit Valuation Adjustment Based on Least Square Monte Carlo Methods

1School of Management, Harbin Institute of Technology, Harbin 150001, China
2School of Finance, Harbin University of Commerce, Harbin 150028, China

Received 16 June 2014; Accepted 24 November 2014

Academic Editor: Mohamed A. Seddeek

Copyright © 2015 Qian Liu. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


Counterparty credit risk has become one of the highest-profile risks facing participants in the financial markets. Despite this, relatively little is known about how counterparty credit risk is actually priced mathematically. We examine this issue using interest rate swaps. This largely traded financial product allows us to well identify the risk profiles of both institutions and their counterparties. Concretely, Hull-White model for rate and mean-reverting model for default intensity have proven to be in correspondence with the reality and to be well suited for financial institutions. Besides, we find that least square Monte Carlo method is quite efficient in the calculation of credit valuation adjustment (CVA, for short) as it avoids the redundant step to generate inner scenarios. As a result, it accelerates the convergence speed of the CVA estimators. In the second part, we propose a new method to calculate bilateral CVA to avoid double counting in the existing bibliographies, where several copula functions are adopted to describe the dependence of two first to default times.

1. Introduction

For nearly three decades, the deepening of financial innovation made the efficiency of social resource allocation gradually increase. The scale of the global financial derivatives market has been far greater than the total size of the global economy. Most global derivatives trading occurs in the OTC market; therefore, counterparty credit risk management for OTC derivatives needs to be focused on. Counterparty credit risk is complex, resulting in the closure of many large financial institutions, thereby causing thousands of counterparties associated with them to suffer huge losses, so how to estimate counterparty credit risk is becoming increasingly important.

Credit crisis and the ongoing European sovereign debt crisis have highlighted the native form of credit risk, namely, the counterparty risk (Crépey et al. [1]). Counterparty credit risk is defined as the risk that the counterparty to a derivative transaction could default before the final settlement of the transaction cash flows (Brigo and Pallavicini [2]). Since the subprime crisis and default of many banks afterwards, counterparty credit risk has been taken into account by most financial institutions since the regulator has required banks to keep additional capital charges to compensate counterparty risk. Zhang and Wang [3] developed fast and accurate numerical solutions by using fast Fourier transform (FFT) technique. The simulations show that the SVDEJD model is suitable for modeling the long-time real-market changes and stock returns are negatively correlated with volatility. The model and the proposed option pricing method are useful for empirical analysis of asset returns and managing credit risk. Li et al. [4] propose an improved attribute bagging method, weight-selected attribute bagging (WSAB), to evaluate credit risk. And the experimental results based on two credit benchmark databases show that the method, WSAB, is outstanding in both prediction accuracy and stability.

Credit valuation adjustment (CVA) is defined as the difference between the risk-free portfolio value and the true portfolio value that takes into account the possibility of institution and counterparty default (Brigo and Pallavicini [5]). We call it unilateral CVA when only the counterparty has the potential to default and the institution is assumed to be risk-free. Likewise, bilateral CVA assumes that both parties have the possibility to default before the maturity. As in most existing bibliographies such as Zhu and Pykhtin [6], Alavian et al. [7], and Brigo and Pallavicini [8], the authors mainly focus on the details of contracts like collateral agreements, rehypothecation, and close-out rules. Wu et al. [9] propose a stochastic DEA model considering undesirable outputs with weak disposability which not only can deal with the existence of random errors in the collected data, but also depicts the production rules uncovered by weak disposability of the undesirable outputs. This model introduces the concept of risk to define the efficiency of decision making units (DMUs) and utilizes the correlationship matrix of all the variables to portray the weak disposability. Albanese et al. [10] introduce an innovative theoretical framework for the valuation and replication of derivative transactions between defaultable entities based on the principle of arbitrage freedom. The framework extends the traditional formulations based on credit and debit valuation adjustments (CVA and DVA for short, resp.). Bo and Capponi [11] obtain an explicit formula for the bilateral counterparty valuation adjustment of a credit default swaps portfolio referencing an asymptotically large number of entities. They have the result that counterparty adjustments are highly sensitive to portfolio credit risk volatility as well as to the intensity of the common jump process. Rohan and Dmitry [12] think that the effect of counterparty credit on valuation and risk management dramatically increased. Existing modeling and infrastructure no longer worked and a rethink from first principles had to take place. So they evolved a new generation of interest rate modeling based on dual curve pricing and integrated credit valuation adjustment (CVA) is evolving. Jimmy et al. [13] analyse the impact of wrong-way risks on both CVA itself and tail risks of CVA. They demonstrate that the induced tail risk adjustment to account for wrong-way risk can be more significant than the impact on CVA itself. We hope this paper would serve as a complement to the existing research, especially in terms of simulation methods.

As universally agreed, least square Monte Carlo method (Longstaff and Schwartz [14]; Thom [15]) is efficient in the valuation of American or Bermudan options. In essence, the valuation of CVA shares the same principle as both require us to calculate conditional expectation as fast as possible. Therefore, this paper is focused on how to apply least square Monte Carlo method to calculate unilateral CVA (UCVA, for short) and then bilateral CVA (BCVA, for short) with the help of copula functions. We find that this method is impeccable and hope it would become a standard in the CVA valuation.

2. Unilateral Credit Valuation Adjustment

In credit risk modeling, usually we define the probability space and the default time of institution and its counterparty by and , respectively. We define the augmented filtration , where is the usual filtration containing all market information except defaults, while carries only the information of defaults. Besides, we define the default intensity and cumulated default intensity as Then, first time to default (FTD) is defined as ( is standard uniform random variable) Moreover, due to the fact that default intensity is always positive, we have Thus, the following lemma about conditional expectation will help us calculate CVA: The proof is given in Lee et al. [16].

After modeling default events, we need to explore on the other side all the cash flows during the contract’s life. For simplicity, we assume that collateralization or funding is not involved; thus mark-to-market (MtM, for short) value of the contract is defined as the conditional expectation of all the discounted cash-flow with respect to the filtration .

Normally, in the event where a counterparty has defaulted, an institution may close out the position and is not obliged to make future contractual payments (reasonably, since payments are unlikely to be received). However, the underlying contracts must be settled depending on the MtM value at the time of default. Consider the impact of positive or negative MtM with a counterparty in default.(i)Positive MtM. When a counterparty defaults, they will be unable to make future commitments and hence an institution will have a claim on the positive MtM at the time of the default. The amount of this MtM minus any recovery value will represent the loss due to the default. (ii)Negative MtM. In this case, an institution owes its counterparty through negative MtM and is still legally obliged to settle this amount. Hence, from a valuation perspective, the position is essentially unchanged. An institution does not gain or lose from their counterparty’s default in this case.Therefore, when we calculate UCVA, we only take the positive part of MtM into consideration. If we consider further the recovery rate and the discount factor denoted by , we deduce the following formula on the assumption of no wrong-way risk or, more specifically, no dependence between recovery rate, default, and exposure.

A concrete example would be swap, whose fixed/floating leg value is the conditional expectation of all the coupons paid in the future discounted to the current time. Namely, cash-flow is the sum of all the coupons paid at each future instant. Consider According to the formula of UCVA, we need to take the expectation twice so that a natural idea comes to mind, to say we generate random variables to calculate the inner expectation and to calculate the outer expectation. Graphically we have Figure 1.

Figure 1: Principle of nested Monte Carlo methods.

Let denote the mark-to-market value of the contract on each inner scenario: Then on each scenario omega, since we have already simulated market data between and , we generate once again scenarios between and to get the coupon values on each extended scenario. Thus, the mark-to-market value at instant can be presented as and the formula of UCVA is given by However, this method is not the top choice because of its massive computational efforts. According to [17], the convergence rate is of order −2/3, but this can be improved to −1 owing to the least square Monte Carlo method that we will present below. In fact, under the assumption that all the coupons are Markovian, we can calculate the conditional expectation by regression: Now the problem is the minimization of the expected squared error with respect to coefficients: The necessary condition is therefore It would be more convenient to present the result in a matrix formulation and thus we define In order to find the optimal coefficients we generate scenarios of the underlying asset So finally We calculate UCVA by

Remarks 1. (i) Good choice of basis functions is the key of regression. The typical choice would be Laguerre polynomial or Legendre polynomial.
(ii) We should generate a new scenario of the underlying asset to evaluate the contract’s value other than the one used for regression to avoid bias.
(iii) The error analysis of the LSMC estimator is far from trivial since it comes from different sources: impossibility of the usage of infinite number of basis functions, error of the coefficients in the regression, error based on the number of exercise dates used in the algorithm, and so forth.
Concerning the aggregation, we have, respectively, positive, absolute, and exercise region:

3. Numerical Example

Here we intend to examine the algorithm for a vanilla swap [18], where the floating leg is given by the 1-year Libor and the fixed leg is given by the fixed rate . We suppose the interest rate follows the Hull-White model while the default intensity could be constant. We observe that all three estimators converge to the same limit given sufficient numbers of scenarios.

The framework of numerical simulation is divided into the following four steps.(1)We simulate the time of default according to the stochastic model of its default intensity, normally a mean-reverting model.(2)We simulate all the cash flows occurring when the trading position is entered, which is based on the underlying assets. For example, we assume the interest rate follows Hull-White model.(3)We use nested least square Monte Carlo method (or Markov Chain Monte Carlo method) to calculate the conditional expectation of the future cash flows to determine the future MtM value.(4)Based on the future MtM and the probability of default, we use three different aggregation methods to calculate unilateral CVA.From Figures 2, 3, 4 and 5, no matter which kinds of Monte Carlo methods are adopted, we have seen that the convergence of UCVA estimators under least square Monte Carlo method is fast. From this experiment, we find that the theoretical results deduced in Section 2 of this paper are useful to calculate UCVA because all the cases show that the values are convergent no matter which Monte Carlo methods are adopted and no matter which aggregation methods are used. Thus, the theoretical results deduced in Section 2 would be suitable in extensive real-world application situations.

Figure 2: Convergence of UCVA estimators, constant default intensity, and least square Monte Carlo.
Figure 3: Convergence of UCVA estimators, constant default intensity, and Markov Chain Monte Carlo.
Figure 4: Convergence of UCVA estimators, hybrid rate-default model, and least square Monte Carlo.
Figure 5: Convergence of UCVA estimators, hybrid rate-default model, and Markov Chain Monte Carlo.

4. Bilateral Credit Valuation Adjustment

Unilateral CVA assumes the institution to be risk-free; however, after subprime crisis, people realize that no one is really immune to default risk. A trend that has become increasingly popular, especially since the credit crisis started in 2007, has been to consider the bilateral nature of counterparty risk. This means that an institution would consider a CVA calculated under the assumption that they, as well as their counterparty, may default. Intuitively, using bilateral CVA is compelling, mainly since it has a symmetry that allows the counterparties to agree on a price.

However, in the past, the formula of BCVA was based on subtracting the two unilateral credit valuation adjustment (CVA) formulas as seen from the two different parties in the transaction. This formula is only a simplified representation of bilateral risk and ignores the fact that upon the first default close-out proceedings are ignited. As such, it involves double counting. We want to modify it and introduce first to default time so that our formula depends on default dependence between the two parties, whereas the former one does not. Mathematically we have But rather, given that is the first to default time, A typical idea would be using copula functions to calculate joint default probability, among which product copula and Gaussian copula are the most commonly used.

If two default intensities are supposed to be constant, then we get Intuitively, when the correlation between two default times is larger, two parties tend to default at the same time; therefore UCVA will be offset by DVA to some extent and lead to a BCVA near zero.

5. Conclusion

This paper firstly discusses the calculation of unilateral credit valuation adjustment; it can be divided into five steps, giving some definitions about the calculation process of unilateral CVA; then we get the conditional expectation which can help us calculate CVA; in the third step, we explore on the other side all the cash flows during the contract. Through analysis, we get such a result that when we calculate UCVA, we only should take the positive part of MtM into consideration. At last, we get the calculating formula of UCVA. At the third part, we give a numerical example. Then we consider the calculation of bilateral credit valuation adjustment. The main contribution of this paper is the application of least square Monte Carlo methods to the calculation of CVA, which accelerates the convergence rate by a big margin. Another key point is the introduction of first to default time and joint default probability by copula function, which makes bilateral CVA more acceptable and at the same time easy to calculate. Further details remain to be examined by real practice, for example, the calculation of UCVA for different genres of financial products and the choice of copula functions in the calculation of BCVA. Besides, its applications on network model and risk analysis could be paid attention to [19].

Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.


  1. S. Crépey, R. Gerboud, Z. Grbac, and N. Ngor, “Counterparty risk and funding: the four wings of the TVA,” International Journal of Theoretical and Applied Finance, vol. 16, no. 2, Article ID 1350006, 2013. View at Publisher · View at Google Scholar · View at Scopus
  2. D. Brigo and A. Pallavicini, “Funding, Collateral and Hedging: uncovering the mechanics and the subtleties of funding valuation adjustments,” 2011,
  3. S. M. Zhang and L. H. Wang, “A fast Fourier transform technique for pricing European options with stochastic volatility and jump risk,” Mathematical Problems in Engineering, vol. 2012, Article ID 761637, 17 pages, 2012. View at Publisher · View at Google Scholar · View at MathSciNet
  4. J. Li, H. Wei, and W. Hao, “Weight-selected attribute bagging for credit scoring,” Mathematical Problems in Engineering, vol. 2013, Article ID 379690, 13 pages, 2013. View at Publisher · View at Google Scholar · View at Scopus
  5. D. Brigo and A. Pallavicini, “Counterparty Risk FAQ: Credit VaR, PFE, CVA, DVA, Closeout, Netting, Collateral, Re-hypothecation, WWR, Basel, Funding, CCDS and Margin Lending,” 2011,
  6. S. Zhu and M. Pykhtin, “A guide to modeling counterparty credit risk,” GARP Risk Review, vol. 37, pp. 16–22, 2007. View at Google Scholar
  7. S. Alavian, J. Ding, P. Whitehead, and L. Laudicina, “Counterparty Valuation Adjustment (CVA),” 2008,
  8. D. Brigo and A. Pallavicini, “Counterparty risk and contingent CDS valuation under correlation between interest-rates and default,” Working Paper, 2007. View at Google Scholar
  9. C. Wu, Y. Li, Q. Liu, and K. Wang, “A stochastic DEA model considering undesirable outputs with weak disposability,” Mathematical and Computer Modelling, vol. 58, no. 5-6, pp. 980–989, 2013. View at Publisher · View at Google Scholar · View at Scopus
  10. C. Albanese, D. Brigo, and F. Oertel, “Restructuring counterparty credit risk,” International Journal of Theoretical and Applied Finance, vol. 16, no. 2, Article ID 1350010, 2013. View at Publisher · View at Google Scholar · View at Scopus
  11. L. Bo and A. Capponi, “Bilateral credit valuation adjustment for large credit derivatives portfolios,” Finance and Stochastics, vol. 18, no. 2, pp. 431–482, 2014. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus
  12. D. Rohan and P. Dmitry, “Overnight index swap and integrated credit valuation adjustment discounting,” Journal of Securities Operations & Custody, vol. 5, no. 3, pp. 262–275, 2012. View at Google Scholar
  13. S. Jimmy, V. Doug, and C. Wei, “Credit valuation adjustment tail risk and the impact of wrong way trades,” Journal of Risk Management in Financial Institutions, vol. 6, no. 3, pp. 280–301, 2013. View at Google Scholar
  14. F. A. Longstaff and E. S. Schwartz, “Valuing American options by simulation: a simple least-squares approach,” Review of Financial Studies, vol. 14, no. 1, pp. 113–147, 2001. View at Publisher · View at Google Scholar · View at Scopus
  15. H. Thom, Longstaff schwartz pricing of bermudan options and their Greeks [Oxford thesis], Institute for Mathematical Finance, University of Oxford, 2009.
  16. J. Lee, T. R. Bielecki, S. Crépey, and T. R. Bielecki, “Dynamic hedging of counterparty exposure,” Working Paper, 2011. View at Google Scholar
  17. M. Broadie, Y. Du, and C. C. Moallemi, “Risk estimation via regression,” Working Paper, Columbia University, 2011. View at Google Scholar
  18. A. Lipton and A. Sepp, “Credit value adjustment for credit default swaps via the structural default model,” 2009,
  19. Y. Li, P. Luo, and C. Wu, “Information loss method to measure node similarity in networks,” Physica A: Statistical Mechanics and its Applications, vol. 410, pp. 439–449, 2014. View at Publisher · View at Google Scholar · View at MathSciNet