Monte Carlo Simulation



Similar documents
Credit Risk Models: An Overview

Contents. List of Figures. List of Tables. List of Examples. Preface to Volume IV

Generating Random Numbers Variance Reduction Quasi-Monte Carlo. Simulation Methods. Leonid Kogan. MIT, Sloan , Fall 2010

arxiv: v1 [q-fin.rm] 3 Dec 2014

Statistics for Retail Finance. Chapter 8: Regulation and Capital Requirements

Basics of Statistical Machine Learning

Portfolio Distribution Modelling and Computation. Harry Zheng Department of Mathematics Imperial College

Two Topics in Parametric Integration Applied to Stochastic Simulation in Industrial Engineering

PHASE ESTIMATION ALGORITHM FOR FREQUENCY HOPPED BINARY PSK AND DPSK WAVEFORMS WITH SMALL NUMBER OF REFERENCE SYMBOLS

An Internal Model for Operational Risk Computation

Risk Measures for Solvency Regulation and Asset Liability Management

Spatial Statistics Chapter 3 Basics of areal data and areal data modeling

Sales forecasting # 2

A LOGNORMAL MODEL FOR INSURANCE CLAIMS DATA

Regulatory and Economic Capital

Diversification Between Different Risk Types ISDA - London - March 2004

Monte Carlo Methods in Finance

A Log-Robust Optimization Approach to Portfolio Management

Marshall-Olkin distributions and portfolio credit risk

The Monte Carlo Framework, Examples from Finance and Generating Correlated Random Variables

Numerical Methods for Option Pricing

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

Time Series Analysis

Master s Theory Exam Spring 2006

Linear Classification. Volker Tresp Summer 2015

6.2 Permutations continued

Variance Reduction. Pricing American Options. Monte Carlo Option Pricing. Delta and Common Random Numbers

Master of Mathematical Finance: Course Descriptions

Department of Mathematics, Indian Institute of Technology, Kharagpur Assignment 2-3, Probability and Statistics, March Due:-March 25, 2015.

Statistical Machine Learning

Tail-Dependence an Essential Factor for Correctly Measuring the Benefits of Diversification

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

Risk Factor Contributions in Portfolio Credit Risk Models

3. Monte Carlo Simulations. Math6911 S08, HM Zhu

MATH4427 Notebook 2 Spring MATH4427 Notebook Definitions and Examples Performance Measures for Estimators...

Measuring Economic Capital: Value at Risk, Expected Tail Loss and Copula Approach

A HYBRID GENETIC ALGORITHM FOR THE MAXIMUM LIKELIHOOD ESTIMATION OF MODELS WITH MULTIPLE EQUILIBRIA: A FIRST REPORT

Some remarks on two-asset options pricing and stochastic dependence of asset prices

Vasicek Single Factor Model

Risk Measures, Risk Management, and Optimization

Maximum Likelihood Estimation

Tutorial on Markov Chain Monte Carlo

ECON20310 LECTURE SYNOPSIS REAL BUSINESS CYCLE

CONTENTS. List of Figures List of Tables. List of Abbreviations

Energy Markets. Weather Derivates

Arbitrage-Free Pricing Models

Java Modules for Time Series Analysis

A Uniform Asymptotic Estimate for Discounted Aggregate Claims with Subexponential Tails

Monte Carlo-based statistical methods (MASM11/FMS091)

Calculating VaR. Capital Market Risk Advisors CMRA

Estimating an ARMA Process

Aggregate Loss Models

Non Linear Dependence Structures: a Copula Opinion Approach in Portfolio Optimization

APPLYING COPULA FUNCTION TO RISK MANAGEMENT. Claudio Romano *

Package EstCRM. July 13, 2015

FORWARDS AND EUROPEAN OPTIONS ON CDO TRANCHES. John Hull and Alan White. First Draft: December, 2006 This Draft: March 2007

Dynamic Asset Allocation Using Stochastic Programming and Stochastic Dynamic Programming Techniques

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

Quantitative Operational Risk Management

Message-passing sequential detection of multiple change points in networks

From CFD to computational finance (and back again?)

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Supplement to Call Centers with Delay Information: Models and Insights

INTEREST RATES AND FX MODELS

Hedging Options In The Incomplete Market With Stochastic Volatility. Rituparna Sen Sunday, Nov 15

Options 1 OPTIONS. Introduction

A Model of Optimum Tariff in Vehicle Fleet Insurance

A SURVEY ON CONTINUOUS ELLIPTICAL VECTOR DISTRIBUTIONS

Measuring Portfolio Value at Risk

Systematic risk modelisation in credit risk insurance

Estimating the Degree of Activity of jumps in High Frequency Financial Data. joint with Yacine Aït-Sahalia

Recent Developments of Statistical Application in. Finance. Ruey S. Tsay. Graduate School of Business. The University of Chicago

Matching Investment Strategies in General Insurance Is it Worth It? Aim of Presentation. Background 34TH ANNUAL GIRO CONVENTION

Basel II: Operational Risk Implementation based on Risk Framework

Lecture 3: Linear methods for classification

Pricing of a worst of option using a Copula method M AXIME MALGRAT

Working Paper A simple graphical method to explore taildependence

Probability Calculator

Subject ST9 Enterprise Risk Management Syllabus

A Bootstrap Metropolis-Hastings Algorithm for Bayesian Analysis of Big Data

Introduction to Markov Chain Monte Carlo

Gaussian Conjugate Prior Cheat Sheet

Parametric fractional imputation for missing data analysis

Efficiency and the Cramér-Rao Inequality

Volatility modeling in financial markets

STAT 830 Convergence in Distribution

Estimating the random coefficients logit model of demand using aggregate data

Transcription:

1 Monte Carlo Simulation Stefan Weber Leibniz Universität Hannover email: sweber@stochastik.uni-hannover.de web: www.stochastik.uni-hannover.de/ sweber

Monte Carlo Simulation 2 Quantifying and Hedging the Downside Risk Risk management and financial regulation rely on the proper assessment of the downside risk of financial positions. Macroeconomic perspective regulators design and enforce appropriate rules for regulatory capital VaR current industry standard for downside risk not optimal New Basel Capital Accord (Basel II) only intermediate step Business perspective financial institutions improve portfolio value respecting regulatory capital rules hedge financial risks, in particular downside risk

Monte Carlo Simulation 3 Implementing Risk Measures Estimation of risk measures essential in practice Simulation algorithms are very tractable and applicable in many models Large losses are rare: risk measure simulation can be slow This requires variance reduction techniques

Monte Carlo Simulation 4 Outline (i) Toy example: Normal Copula Model (NCM) Credit portfolios Credit metrics Risk measurement (ii) Monte Carlo Simulation Importance sampling Stochastic approximation

Monte Carlo Simulation 5 Normal Copula Model

Monte Carlo Simulation 6 Better Manage Your Risks!

Monte Carlo Simulation 7 Credit Portfolios One-period model with time periods t = 0, 1 Financial positions at t = 1 are modeled as random variables Credit Portfolio Losses Portfolio with m positions (obligors) The random loss at time 1 due to a default of obligor i = 1, 2,..., m is denoted by l i The total losses are given by L = m i=1 l i Typical decomposition: l i = v i D i with exposure v i and default indicator D i {0, 1}

Monte Carlo Simulation 8 Credit Portfolios (2) Framework above is completely general (if we focus on one-period credit loss models) Risk assessment in practice requires specific models that need to be estimated/calibrated and evaluated Examples Credit Metrics JP Morgan; based on Normal Copula Credit Risk+ Credit Suisse; Poisson mixture model Copula models like the t-copula model general family; Gaussian mixture like t-copula particularly tractable

Monte Carlo Simulation 9 Credit Metrics Model of overall losses of credit portfolio over fixed time horizon Losses L = X 0 are given by: m L = v i D i. i=1 Default indicators: D i = 1 {Yi >y i } Marginal default probabilities: p i = P {D i = 1} m-dimensional normal factor with standardized marginals: Y = (Y 1, Y 2,..., Y m ) Threshold levels: y i = Φ 1 (1 p i )

Monte Carlo Simulation 10 Credit Metrics (continued) In industry applications the covariance matrix of the Gaussian vector Y is often specified through a factor model: where Y i = A i0 ε i + d A ij Z j i = 1,..., m, d < m; j=1 1 = A 2 i0 + A 2 i1 +... + A 2 id A i0 > 0, A ij 0, Z 1,..., Z d are d independent standard normal random variables (systematic risks), and ε 1,..., ε m are m independent standard normal random variables which are independent of Z 1,..., Z d (idiosyncratic risks).

Monte Carlo Simulation 11 Credit Metrics (continued) JP Morgan s Credit Metrics is a simplistic toy model. The dependence structure is based on a Gaussian copula and ad hoc. The model exhibits no tail-dependence. Credit Metrics model is like Black-Scholes. Credit Metrics is also called Normal Copula Model (NCM). The NCM can be used as a basis for Gaussian mixture models like the t-copula model. Risk estimation techniques that work in the NCM can often be extended to Gaussian mixture models and other models.

Monte Carlo Simulation 12 Risk Measurement Credit Portfolio Losses Losses L = X 0 are given by: L = m v i D i. i=1 Downside Risk For a given portfolio model, the downside risk ρ(x) needs to be computed for a given risk measure ρ. Example: Shortfall risk If ρ is utility-based shortfall risk, then ρ(x) is given by the unique root s of the function f(s) := E[l( X s)] z.

Monte Carlo Simulation 13 Risk Measurement and Monte Carlo Shortfall risk Shortfall risk ρ(x) is given by the unique root s of the function Computational Problems f(s) := E[l( X s)] z. Downside risk focuses on the tail. Rare events are hard to simulate. Stochastic root finding problem needs to be solved. Efficient Computation Variance reduction techniques increase the accuracy/rate of convergence, e.g. importance sampling (Dunkel & W., 2007) Stochastic approximation (Dunkel & W., 2008a, 2008b)

Monte Carlo Simulation 14 Monte Carlo Simulation

Monte Carlo Simulation 15 Importance Sampling Shortfall risk Shortfall risk ρ(x) is given by the unique root s of the function First task: Estimate with h(l) = l(l s). Problem: f(s) := E[l( X s)] z. E P [l(l s)] = E P [h(l)] (i) Tail events are rare; if we compute the sample average of iid replications under h(l), we will converge very slowly to E P [h(l)]. (ii) Solution: simulate the important tail part more frequently!

Monte Carlo Simulation 16 Importance Sampling (2) First task: Estimate E P [l(l s)] = E P [h(l)] with h(l) = l(l s). Two-step variance reduction: (i) Importance sampling for L conditional on factor Z. (ii) Variance reduction for factor Z.

Monte Carlo Simulation 17 Special case: independent default events In the factor model, independence corresponds to A i0 = 1, A ij = 0 i = 1,..., m, j = 1,..., d. Importance Sampling: If Q is an equivalent probability measure with a density of the form then E P [h(l)] = E Q [ h(l) g(l) dq dp = g(l), ]. Sampling L k independently from the distribution of L under Q, we get an unbiased, consistent estimator of E P [h(l)]: Jn g = 1 n h(l k ) n g(l k ). k=1

Monte Carlo Simulation 18 Exponential twisting SR loss function: Suppose that l(x) = γ 1 x γ 1 [0, ) (x) is polynomial. Measure change: Consider class of probability measures Q θ, θ 0, with dq θ dp = exp(θl), ψ(θ) where ψ(θ) = log E[exp(θL)] = m i=1 log[1 + p i(e θv i 1)]. Optimal measure change: Minimize an upper bound for the L 2 -error of the estimator of E P [l(l s)]. This suggests an optimal θ s.

Monte Carlo Simulation 19 Exponential twisting (continued) (i) Calculate q i (θ s ) := p i e v iθ s 1 + p i (e v iθ s 1). (ii) Generate m Bernoulli-random numbers D i {0, 1}, such that D i = 1 with probability q i (θ s ). (iii) Calculate ψ(θ s ) = m log[1 + p i (e θ sv i 1)] i=1 and L = m i=1 v id i, and return the estimator l(l s) exp [ Lθ s + ψ (θ s )].

Monte Carlo Simulation 20 Exponential twisting (continued) 1 (a) naive MC method 1 (b) one-step method: exponential twisting E[(L-c) γ 1 {L c} ] / γ 0.1 0.01 0.001 1e-04 1e-05 1e-06 c=0.2 L + c=0.3 L + 1e-05 c=0.4 L + c=0.5 L + 1e-06 2 2.5 3 3.5 4 4.5 5 log 10 (n) E[(L-c) γ 1 {L c} ] / γ 0.1 0.01 0.001 1e-04 c=0.2 L + c=0.3 L + c=0.4 L + c=0.5 L + 2 2.5 3 3.5 4 4.5 5 log 10 (n) Figure 1: MC results for estimating SR with piecewise polynomial loss function in the NCM. Length of error bars is sample standard deviation of estimator.

Monte Carlo Simulation 21 Stochastic Approximation Stochastic approximation methods provide more efficient root-finding techniques for shortfall risk (Dunkel & W., 2008). Robbins-Monro Algorithm Let Ŷs : [0, 1] R such that E[Ŷs(U)] = f(s) for U unif[0,1]. Choose a constant γ ( 1 2, 1], c > 0, and a starting value s 1 [a, b] s. For n N we define recursively: [ s n+1 = Π [a,b] s n + c ] n γ Y n with (1) Y n = Ŷs n (U n ) (2) for a sequence (U n ) of independent, unif[0,1]-distributed random variables.

Monte Carlo Simulation 22 Stochastic Approximation (2) Averaging procedure Theorem 1 Suppose that γ ( 1 2, 1). For arbitrary ρ (0, 1) we define s n = 1 ρ n n i=(1 ρ)n Then s n s P -almost surely. For every ε > 0 there exists another process ŝ such that P ( s n = ŝ n n) 1 ε and ( ) ρn (ŝn s σ 2 (s ) ) N 0, (f (s )) 2. Optimal rate and asymptotic variance guaranteed Finite sample properties usually good s i.

Monte Carlo Simulation 23 Stochastic approximation (3) PDF 0.2 0.1 Polyak-Ruppert N = 10000 c = 100 γ = 0.7 ρ = 0.1 n = 60 n = 3 10 2 n = 10 4 0 10 5 0 5 10 S n Averaging algorithmus: ρn( s n s ) is asymptotically normal (simulation of UBSR with polynomial loss function in the NCM with IS).

Monte Carlo Simulation 24 Conclusion

Monte Carlo Simulation 25 Conclusion (i) Axiomatic theory of risk measures VaR is not a good risk measure Better risk measures have been designed, e.g. Utility-based Shortfall Risk (ii) Implementation in credit portfolio models Importance sampling Stochastic approximation

Monte Carlo Simulation 26 Further research Comparison of stochastic average approximation with stochastic approximation Extension of the proposed techniques to a larger class of risk measures, e.g. optimized certainty equivalents Adjustments for liquidity risk Dynamic risk measurement procedures, and their numerical implementation

Monte Carlo Simulation 27 Thank you for your attention!