Fast Computation of the Economic Capital, the Value at Risk and the Greeks of a Loan Portfolio in the Gaussian Factor Model

Similar documents
Implementing Models in Quantitative Finance: Methods and Cases

Valuation of Forward Starting CDOs

Pricing & Risk Management of Synthetic CDOs

Strategies for Improving the Efficiency of Monte-Carlo Methods

Exhibit 2 The Two Types of Structures of Collateralized Debt Obligations (CDOs)

CLIQUE OPTION PRICING

Synthetic CDO Pricing Using the Student t Factor Model with Random Recovery

by Kian Guan Lim Professor of Finance Head, Quantitative Finance Unit Singapore Management University

ELEMENTS OF MONTE CARLO SIMULATION

The Use of Importance Sampling to Speed Up Stochastic Volatility Simulations

Pricing CDOs with the Fourier Transform Method. Chien-Han Tseng Department of Finance National Taiwan University

GRANULARITY ADJUSTMENT FOR DYNAMIC MULTIPLE FACTOR MODELS : SYSTEMATIC VS UNSYSTEMATIC RISKS

Computer Exercise 2 Simulation

Dynamic Factor Copula Model

arxiv: v1 [math.st] 18 Sep 2018

Pricing Variance Swaps under Stochastic Volatility Model with Regime Switching - Discrete Observations Case

Handbook of Financial Risk Management

MEASURING PORTFOLIO RISKS USING CONDITIONAL COPULA-AR-GARCH MODEL

A Generic One-Factor Lévy Model for Pricing Synthetic CDOs

Time-changed Brownian motion and option pricing

Monte Carlo and Empirical Methods for Stochastic Inference (MASM11/FMSN50)

Dependence Modeling and Credit Risk

Factor Copulas: Totally External Defaults

CPSC 540: Machine Learning

Credit Risk Modeling Using Excel and VBA with DVD O. Gunter Loffler Peter N. Posch. WILEY A John Wiley and Sons, Ltd., Publication

The Binomial Lattice Model for Stocks: Introduction to Option Pricing

Computer Exercise 2 Simulation

Determining the Efficient Frontier for CDS Portfolios

Financial Risk Management

EC316a: Advanced Scientific Computation, Fall Discrete time, continuous state dynamic models: solution methods

Optimal Stochastic Recovery for Base Correlation

-divergences and Monte Carlo methods

ACTUARIAL RESEARCH CLEARING HOUSE 1996 VOL. 1. A Numerical Method for Computing the Probability Distribution of Total Risk of a Portfolio

Lecture notes on risk management, public policy, and the financial system Credit risk models

Monte Carlo Methods in Structuring and Derivatives Pricing

Advanced Tools for Risk Management and Asset Pricing

EFFICIENT MONTE CARLO ALGORITHM FOR PRICING BARRIER OPTIONS

Modelling the Sharpe ratio for investment strategies

New approaches to the pricing of basket credit derivatives and CDO s

Theoretical Problems in Credit Portfolio Modeling 2

The Binomial Lattice Model for Stocks: Introduction to Option Pricing

An Approximation for Credit Portfolio Losses

Distortion operator of uncertainty claim pricing using weibull distortion operator

Slides for Risk Management

Monte Carlo and Empirical Methods for Stochastic Inference (MASM11/FMSN50)

F19: Introduction to Monte Carlo simulations. Ebrahim Shayesteh

Economi Capital. Tiziano Bellini. Università di Bologna. November 29, 2013

Much of what appears here comes from ideas presented in the book:

NUMERICAL AND SIMULATION TECHNIQUES IN FINANCE

Monte Carlo and Empirical Methods for Stochastic Inference (MASM11/FMSN50)

Chapter 2 Uncertainty Analysis and Sampling Techniques

Synthetic CDO Pricing Using the Student t Factor Model with Random Recovery

IEOR E4602: Quantitative Risk Management

P2.T6. Credit Risk Measurement & Management. Malz, Financial Risk Management: Models, History & Institutions

Credit Risk Summit Europe

Analytical Pricing of CDOs in a Multi-factor Setting. Setting by a Moment Matching Approach

Dynamic Modeling of Portfolio Credit Risk with Common Shocks

Recent developments in. Portfolio Modelling

Presented at the 2012 SCEA/ISPA Joint Annual Conference and Training Workshop -

Machine Learning for Quantitative Finance

F A S C I C U L I M A T H E M A T I C I

Modeling spark spread option and power plant evaluation

CPSC 540: Machine Learning

GENERATING DAILY CHANGES IN MARKET VARIABLES USING A MULTIVARIATE MIXTURE OF NORMAL DISTRIBUTIONS. Jin Wang

Alternative VaR Models

The Pennsylvania State University. The Graduate School. Department of Industrial Engineering AMERICAN-ASIAN OPTION PRICING BASED ON MONTE CARLO

Exam in TFY4275/FY8907 CLASSICAL TRANSPORT THEORY Feb 14, 2014

Simple Dynamic model for pricing and hedging of heterogeneous CDOs. Andrei Lopatin

STEX s valuation analysis, version 0.0

Interest Rate Bermudan Swaption Valuation and Risk

Week 1 Quantitative Analysis of Financial Markets Distributions B

II. What went wrong in risk modeling. IV. Appendix: Need for second generation pricing models for credit derivatives

Risk Measurement in Credit Portfolio Models

The Correlation Smile Recovery

Chapter 5 Univariate time-series analysis. () Chapter 5 Univariate time-series analysis 1 / 29

Point Estimation. Some General Concepts of Point Estimation. Example. Estimator quality

EE266 Homework 5 Solutions

University of California Berkeley

Statistical Methods in Financial Risk Management

A Study on Numerical Solution of Black-Scholes Model

Homework #4. Due back: Beginning of class, Friday 5pm, December 11, 2009.

Market interest-rate models

Practical example of an Economic Scenario Generator

Implied Correlations: Smiles or Smirks?

A Skewed Truncated Cauchy Logistic. Distribution and its Moments

arxiv: v1 [q-fin.rm] 1 Jan 2017

Statistical Models and Methods for Financial Markets

2.1 Mathematical Basis: Risk-Neutral Pricing

Monte Carlo Methods for Uncertainty Quantification

Homework 1 posted, due Friday, September 30, 2 PM. Independence of random variables: We say that a collection of random variables

Managing the Newest Derivatives Risks

Using Monte Carlo Integration and Control Variates to Estimate π

Introduction Dickey-Fuller Test Option Pricing Bootstrapping. Simulation Methods. Chapter 13 of Chris Brook s Book.

European Journal of Economic Studies, 2016, Vol.(17), Is. 3

Credit Risk Management: A Primer. By A. V. Vedpuriswar

Numerical software & tools for the actuarial community

Monte Carlo Methods in Option Pricing. UiO-STK4510 Autumn 2015

"Pricing Exotic Options using Strong Convergence Properties

SIMULATION OF ELECTRICITY MARKETS

STOCHASTIC VOLATILITY AND OPTION PRICING

Transcription:

arxiv:math/0507082v2 [math.st] 8 Jul 2005 Fast Computation of the Economic Capital, the Value at Risk and the Greeks of a Loan Portfolio in the Gaussian Factor Model Pavel Okunev Department of Mathematics LBNL and UC Berkeley Berkeley, CA 94720 July 1,2005 Abstract We propose a fast algorithm for computing the economic capital, Value at Risk and Greeks in the Gaussian factor model. The algorithm proposed here is much faster than brute force Monte Carlo simulations or Fourier transform based methods [1]. While the algorithm of Hull-White [3] is comparably fast, it assumes that all the loans in the portfolio have equal notionals and recovery rates. This is a very restrictive assumption which is unrealistic for many portfolios encountered in practice. Our algorithm makes no assumptions about the homogeneity of the portfolio. Additionally, it is easier to implement than the algorithm of Hull-White. We use the implicit function theorem to derive analytic expressions for the Greeks. This work was supported by the Director, Office of Science, Office of Advanced Scientific Computing Research, of the U.S. Department of Energy under Contract No. DE- AC03-76SF00098. E-mail: pokunev@math.lbl.gov 1

1 The Gaussian Factor Model Let us consider a portfolio of N loans. Let the notional of loan i be equal to N i. Then the ith loan represents fraction f i = N i j N j (1) of the notional of the whole portfolio. This means that if loan i defaults and the entire notional of the loan is lost the portfolio loses fraction f i or 100f i % of its value. In practice when a loan i defaults a fraction r i of its notional will be recovered by the creditors. Thus the actual loss given default (LGD) of loan i is LGD i = f i (1 r i ) (2) fraction or LGD i = 100f i (1 r i )% (3) of the notional of the entire portfolio. We now describe the Gaussian m-factor model of portfolio losses from default. Themodelrequiresanumberofinputparameters. Foreachloaniwe are give a probability p i of its default. Also for each i and each k = 1,...,m we are given a number w i,k such that m k=1 wi,k 2 < 1. The number w i,k is the loading factor of the loan i with respect to factor k. Let φ 1,...,φ m and φ i,i = 1,...,N be independent standard normal random variables. Let Φ(x) be the cdf of the standard normal distribution. In our model loan i defaults if m w i,k φ k + m 1 wi,k 2 φi < Φ 1 (p i ) (4) k=1 k=1 This indeed happens with probability p i. The factors φ 1,...,φ m are usually interpreted as the state of the global economy, the state of the regional economy, the state of a particular industry and so on. Thus they are the factors that affect the default behavior of all or at least a large group of loans in the portfolio. The factors φ 1,...,φ N are interpreted as the idiosyncratic risks of the loans in the portfolio. Let I i be defined by I i = I {loan i defaulted} (5) We define the random loss caused by the default of loan i as L i = f i (1 r i )I i, (6) 2

where r i is the recovery rate of loan i. The total loss of the portfolio is L = i L i (7) An important property of the Gaussian factor model is that the L i s are not independent of each other. Their mutual dependence is induced by the dependence of each L i on the common factors φ 1,...,φ m. Historical data supports the conclusion that losses due to defaults on different loans are correlated with each other. Historical data can also be used to calibrate the loadings w i,k.the L i s are not independent of each other. Their mutual dependence is induced by the dependence of each L i on the common factors φ 1,...,φ m. Historicaldatasupportstheconclusionthatlossesduetodefaults on different loans are correlated with each other. Historical data can also be used to calibrate the loadings w i,k. 2 Conditional Portfolio Loss L When the values of the factors φ 1,...,φ m are fixed, the probability of the default of loan i becomes p i = Φ Φ 1 (p i ) kw i,k φ k 1 kw 2 i,k (8) The random losses L i become conditionally independent Bernoulli variables with the mean given by and the variance given by E cond (L i ) = f i (1 r i )p i (9) VAR cond (L i ) = f 2 i (1 r i ) 2 p i (1 p i ) (10) By the Central Limit Theorem [2] the conditional distribution of the portfolio loss L, given the values of the factors φ 1,...,φ m, can be approximated by the normal distribution with the mean E cond (L) = i E cond (L i ) (11) 3

and the variance VAR cond (L) = i VAR cond (L i ) (12) We define the CDF of the unconditional portfolio loss L by F(x) = Prob(L x), (13) for all real numbers x. Since the conditional loss distribution is approximately normal, the CDF can be approximated by N F(x) Φ(E cond,var cond,x) ρ(φ i )dφ 1...dφ m, (14) i=1 where Φ(E cond,var cond,x) is the CDF of the normal distribution with mean E cond and variance VAR cond, while ρ(x) is the density of the standard normal distribution. 3 Numerical Example In this section we apply the proposed algorithm to the single factor Gaussian model of a portfolio with N = 125 names. We choose a 125 name portfolio because it is the size of the standard DJCDX.NA.IG portfolio. We choose a single factor model because it is the one most frequently used in practice. The parameters of the portfolio are f i = 1 N p i = 0.015+ 0.05(i 1) N 1 r i = 0.5 0.1(i 1) N 1 w i1 = 0.5 0.1(i 1) N 1, (15) where i = 1,...,N. In Figure 1 we compare the CDF computed using 10 6 Monte Carlo samples with the CDF computed using formula (14). 1 The agreement between 1 The author has the code implementing the algorithm described here in MATLAB, VBA for Excel and C. 4

the two is good. We add that the quality of approximation will improve even further for a bigger portfolio and many bank portfolios have much more than 125 names. Figure 1: CDF of the Unconditional Portfolio Loss 100 99.5 Analytic Approximation MC Simulation probability % 99 98.5 98 97.5 10 11 12 13 14 15 16 17 18 19 20 portfolio loss % 4 Computation of VaR and Economic Capital We define the VaR (value at risk) of a given portfolio as the level of loss (expressed as fraction of portfolio notional), such that the probability of the portfolio loss being less or equal to VaR is equal to a predefined confidence level q. Typically, q is chosen to be between 0.99 and 1. Thus we have Prob(L VaR) = q (16) 5

From the results of the previous section it follows that an accurate approximation to VaR can be found by solving the equation N Φ(E cond,var cond,var) ρ(φ i )dφ 1...dφ m = q (17) i=1 This equation can be solved, for example, by bisection. To find the solution to (17) with accuracy of 1 basis point (0.01%) we would need to evaluate the left hand side of (17) no more than 14 times. Example. We want to calculate the VaR of the portfolio (15) with the confidence level q = 99.75%. We solve the equation (17) and round the solution to the nearest basis point to arrive at VaR = 16.36%. We now run Monte Carlo simulation with 5, 000, 000 samples and compute the probability that the portfolio loss is less or equal to 16.36%. Rounded to the nearest basis point it turns out to be 99.75%. Thus the VaR of the portfolio is indeed 16.36%. If desired, the convergence can be sped-up by using Newton s method. After the VaR is calculated we can calculate the economic capital by subtracting the average portfolio loss from V ar. We now compare the algorithm proposed here with other proposed alternatives. The FFT based methods [1] require the computation of a large number of Fourier transforms. To determine the VaR with an error of less than 1 basis point (0.01%) it is necessary to compute approximately 10,000 Fourier transforms. Each Fourier transform is as expensive to evaluate as the left handside of(17). Thus our algorithmis significantly faster than thefft based methods. It is well known that the FFT methods are much faster than the direct Monte Carlo simulation. Thus our algorithm is much faster than the Monte Carlo approach. Finally, the recursive approach of Hull-White [3] is comparable in speed to the algorithm proposed here. However, it assumes that all the loans in the portfolio have equal notionals and recovery rates. This is a very restrictive assumption which is unrealistic for many portfolios encountered in practice. Our algorithm makes no assumptions about homogeneity of the portfolio. Additionally, it is easier to implement than the algorithm of Hull-White. 6

5 Computing the Greeks Since V ar satisfies equation (17) we can use the implicit function theorem [6] to find its partial derivatives with respect to the parameters of the model. These partial derivatives are traditionally called the Greeks in finance. We arrive at the following expressions VaR = N i N i Φ(E cond,var cond,var) N VaR Φ(E cond,var cond,var) N (18) VaR = p i p i Φ(E cond,var cond,var) N VaR Φ(E cond,var cond,var) N (19) VaR = w i,k w i,k Φ(E cond,var cond,var) N VaR Φ(E cond,var cond,var) N (20) and VaR = r i r i Φ(E cond,var cond,var) N VaR Φ(E cond,var cond,var) N (21) q VaR = 1 Φ(E VaR cond,var cond,var) N (22) These expressions can be easily evaluated by numerical integration using Hermite-Gauss quadrature. 6 Conclusions We proposed an algorithm for computing the VaR and the economic capital of a loan portfolio in the Gaussian factor model. The proposed method was tested on a portfolio of 125 names and gave high accuracy results. The accuracy will be even higher for portfolios with more names. Many of the bank portfolios are much larger than 125 names. The proposed algorithm is much faster than the FFT based methods [1] and the brute force Monte 7

Carlo approach. The speed of the Hull-White algorithm [3] is comparable to that of the the algorithm proposed here, but the Hull-White algorithm requires that all the loans in the portfolio have equal notionals and recovery rates. This is a very restrictive assumption which is unrealistic for many portfolios encountered in practice. Our algorithm makes no assumptions about the homogeneity of the portfolio. Also, it is easier to implement than the algorithm of Hull-White. Additionally, we obtained analytical expressions for the Greeks using the implicit function theorem. We also comment that the algorithm can be extended trivially to the case of stochastic recovery rates and recovery rates correlated with the state of the factor variables. Some of the ideas used in this paper were previously explored in [4] and [5]. 7 Acknowledgments I thank my adviser A. Chorin for his help and guidance during my time in UC Berkeley. I thank Mathilda Regan and Valerie Heatlie for their help in preparing this article. Last, but not least, I thank my family for their constant support. References [1] A. Debuysscher, M. Szegö, M. Freydefront and H. Tabe. Fourier Transform Method-Technical Document. Available from Moody s. [2] W. Feller. An Introduction to Probability Theory and Its Applications. Wiley, 1968. [3] J. Hull and A. White. Valuation of a CDO and an n-th to Default CDS Without Monte Carlo Simulation. The Journal of Derivatives, Winter 2004. [4] P. Okunev. A Fast Algorithm for Computing Expected Loan Portfolio Tranche Loss in the Gaussian Factor Model. Report-LBNL-57676, Lawrence Berkeley National Laboratory, Berkeley, CA, 2005. 8

[5] P. Okunev. Using Hermite Expansions for Fast and Arbitrarily Accurate Computation of the Expected Loss of a Loan Portfolio Tranche in the Gaussian Factor Model. Report-LBNL-57835, Lawrence Berkeley National Laboratory, Berkeley, CA, 2005. [6] W. Rudin. Principles of Mathematical Analysis. McGraw-Hill, 1976. 9