专题: 金融工程与风险管理



Financial Risk Management Fundamental

Financial Risk

Definition

Contributory factors: volatile environment

Contributory factors: growth in trading activity

Contributory factors: advances in IT


Financial Risk Management before VaR

Risk measurement before VaR

Gap Analysis

PV01 Analysis

Duration Analysis

Convexity

Pros and cons of duration-convexity

Scenario Analysis

Portfolio Theory

Derivatives risk measures


Value at Risk (VaR)

Value at Risk

RiskMetrics

Portfolio theory and VaR

Attractions of VaR

Uses of VaR

Criticisms of VaR


Advanced Risk Models: Univariate

Value-at-Risk (VaR)

VaR Parameters: The Confidence Level (cl)

VaR Parameters: The Holding Period (hp)

VaR Surface

Determine the Confidence Level

Determine the Holding Period

Limitation of VaR

VaR uninformative of tail losses

VaR creates perverse incentives

VaR can discourage diversification

VaR not subadditive


Coherent Measure of Risk

Coherent Risk Measures

Implications of coherence

Alternative Measures of Risk: CVaR

CVaR is better than VaR

Alternative Measures of Risk: Worst-case scenario analysis

Alternative Measures of Risk: SPAN

Alternative Measures of Risk: Other Methods


Backtesting

Backtesting

Preparing Data: Obtaining Data

Preparing Data: Draw up backtest chart

Preparing Data: Get to know data

Preparing Data: Standardise Data

Measuring Exceptions

Example

Consider a VaR measure over a daily horizon defined at the 99% level of confidence cc. The window for backtesting is T=250T=250 days.

Basel Rule for Backtests

Evaluation of Backtesting


Advanced Risk Models: Multivariate

The Big Idea

Components of a Multivariate Risk Modeling Systems


Risk Mapping

Introduction

Reasons for mapping

Stages of mapping

Selecting Core Instruments

Mapping with Principal Components

Mapping Positions to Risk Factors

A General Example of Risk Mapping

Example: Mapping with Factor Models

Example: Mapping with Fixed-Income Portfolios

Choice of Risk Factors

It should be driven by the nature of the portfolio:

Mapping Complex Positions

Dealing with Optionality


VaR Methods

Delta-Normal

Historical Simulation

Monte Carlo Simulation

Comparison of Methods


Limitations of Risk Systems

Limitations of Risk Systems

课堂练习

某交易组合是由价值300,000美元的黄金投资和价值500,000美元的白银投资构成,假定以上两资产的日波动率分别为1.8%和1.2%,并且两资产回报的相关系数为0.6,请问:(Φ(1.96)=0.975\Phi(1.96)=0.975

(a) 交易组合10天展望期的97.5%VaR为多少?
(b) 投资分散效应减少的VaR为多少?


Introduction to Credit Risk

Settlement Risk


Overview of Credit Risk

Drivers of Credit Risk


Measurement of Credit Risk


Measuring Credit Risk

Credit Losses

Default mode: suppose all losses are due to the effect of defaults only.

The distribution of cresit losses (CLs) from a portfolio of NN instruments issued by different obligators can be described as
CL=i=1Nbi×CEi×(1fi)CL=\sum_{i=1}^Nb_i\times CE_i\times(1-f_i)

Measuring Actuarial Default Risk

Credit Event

Credit Event

Definition of **default by Standard & Pool's


Definition of **credit event by **International Swaps and Derivatives Association (ISDA)


Other events sometimes included are



Default Rates

Credit Ratings





Historical Default Rates





Cumulative and Marginal Dafault Rates





Transition Probabilities




Recovery Rates

The Bankruptcy Processes

Pecking order for a company's creditor:




Estimates of Recovery Rates

The recovery rate depends on the following factors:



The recovery rate for corporate debt.



The legal environment is also a main driver of recovery rates.







Measuring Default Risk from Market Prices

Corporate Bond Prices

Spreads and Default Risk: Single Period

Suppose a bond has a single payment $100 in one period, the market-determined yield yy^* can be derived from its price PP^*
P=$100(1+y)P^*=\frac{\$100} {(1+y^*)}
We apply risk-neutral pricing:



P=$100(1+y)=[$100(1+y)]×(1π)+[f×$100(1+y)]×πP^*=\frac{\$100} {(1+y^*)} =\left[\frac{\$100 }{(1+y)} \right]\times(1-\pi)+\left[\frac{f\times\$100 }{(1+y) }\right]\times\pi
(1+y)=(1+y)[1π(1f)]π=11f[11+y1+y]yy+π(1f)\Longrightarrow(1+y)=(1+y^*)[1-\pi(1-f)]\Longrightarrow\pi=\frac{1 }{1-f} \left[1-\frac{1+y }{1+y^*} \right]\Longrightarrow y^*\approx y+\pi(1-f)


Spreads and Default Risk: Multiple Periods

We compound interest rates and default rates over each period.Let πa\pi^a be the average annual default rate.
P=$100(1+y)T=[$100(1+y)T]×(1πa)T+[f×$100(1+y)T]×[1(1πa)T]P^*=\frac{\$100 }{(1+y^*)^T} =\left[\frac{\$100} {(1+y)^T }\right]\times(1-\pi^a)^T+\left[\frac{f\times\$100} {(1+y)^T }\right]\times[1-(1-\pi^a)^T]
(1+y)T=(1+y)T{(1πa)T+f[1(1πa)T]}\Longrightarrow(1+y)^T=(1+y^*)^T\{(1-\pi^a)^T+f[1-(1-\pi^a)^T]\}
If we use the cumulative default probability
1(1+y)T=[1(1+y)T]×(1π)+[f×1(1+y)T]×[1(1π)]\frac{1} {(1+y^*)^T} =\left[\frac{1} {(1+y)^T} \right]\times(1-\pi)+\left[\frac{f\times1} {(1+y)^T} \right]\times[1-(1-\pi)]
A very rough approximation:
1(1+y)T=[1(1+y)T]×[1π(1f)]yy+(π/T)(1f)\Longrightarrow\frac{1 }{(1+y^*)^T} =\left[\frac{1} {(1+y)^T} \right]\times[1-\pi(1-f)]\Longrightarrow y^*\approx y+(\pi/T)(1-f)


Risk Premium

In the previous analysis we assume risk neutrality. As a result, π\pi is a risk neutral measure, which is not necessarily equal to the objective, physical probability of default.

Assuming π\pi' and yy' be the physical probability of default and the discount rate. We have the following

P=$100(1+y)=[$100(1+y)]×(1π)+[f×$100(1+y)]×πP^*=\frac{\$100} {(1+y^*)} =\left[\frac{\$100} {(1+y')} \right]\times(1-\pi')+\left[\frac{f\times\$100} {(1+y')} \right]\times\pi'

yy+π(1f)+rp\Longrightarrow y^*\approx y+\pi'(1-f)+rp

The risk premium (rprp) must be tied to some meaure of bond riskiness as well as investor risk aversion. In addition, this premium may incorporate a **liquidity premium and tax effects.


Cross-Section of Yield Spreads





Time Variation in Credit Spreads

Part of default risk can be attributed to common credit risk factors such as


Equity Prices

The Merton Model


Pricing Equity and Debt

Firm value follows the geometric Brownian motion
dV=μVdt+σvdzdV=\mu Vdt+\sigma vdz
The value of firm can be decompose in to the value of equity (SS) and the value of debt (BB). The corporate bond price is obtained as
B=F(V,t), F(V,T)=min(V,BF), BF=KB=F(V,t),\text{ }F(V,T)=\min(V,B_F),\text{ }B_F=K
The equity value is
S=f(V,t), f(V,T)=max(VBF,0)S=f(V,t),\text{ }f(V,T)=\max(V-B_F,0)

Stock Valuation
S=Call=VN(d1)KerτN(d2)S=\text{Call}=VN(d_1)-Ke^{-r\tau}N(d_2)
where d1=ln(V/Kerτ)στ+στ2, d2=d1στd_1=\frac{\ln(V/Ke^{-r\tau})}{\sigma\sqrt{\tau}}+\frac{\sigma\sqrt{\tau}}{2},\text{ }d_2=d_1-\sigma\sqrt{\tau}

Firm Volatility
σV=(1/Δ)σS(S/V)\sigma_V=(1/\Delta)\sigma_S(S/V)

Bond Valuation
B=Risk-free bondPutB/Kerτ=N(d2)+(V/Kerτ)N(d2)B=\text{Risk-free bond}-\text{Put}\Longrightarrow B/Ke^{-r\tau}=N(d_2)+(V/Ke^{-r\tau})N(-d_2)

Risk-Neutral Dynamics of Default
1N(d2)=N(d2)1-N(d_2)=N(-d_2)

Pricing Credit Risk
PD=N[z]=N{[ln(K/V)δτ+0.5σ2τ]/[στ]}\text{PD}=N[z]=N\{[\ln(K/V)-\delta\tau+0.5\sigma^2\tau]/[\sigma\sqrt{\tau}]\}

Credit Option Valuation
Put=Kerτ{KerτN(d2)+V[1N(d1)]}=V[N(d1)]+Kerτ[N(d2)]\text{Put}=Ke^{-r\tau}-\{Ke^{-r\tau}N(d_2)+V[1-N(d_1)]\}=-V[N(-d_1)]+Ke^{-r\tau}[N(-d_2)]


Applying the Merton Model





A Detailed Example







课堂练习


Credit Exposures

Credit Exposore by Instrument

Credit Exposore by Instrument


Distribution of Credit Exposure

Expected & Worse Exposure

The expected credit exposure (ECE) is the expected value of the asset replacement value xx, if positive, on a target date:
ECE=x+f(x)dx\text{ECE}=\int_{-\infty}^{\infty}x^+f(x)dx

The worse credit exposure (WCE) is the largest (worst) credit exposure at some level of confidence. It is implicitly defined as the value that is not exceeded at the given confidence level pp:
1p=WCEf(x)dx1-p=\int_{\text{WCE}}^{\infty}f(x)dx

To model the potential credit exposure, we need to


Time Profile




The average expected credit exposure (AECE) is the average of the expected credit exposure over time, from now to maturity TT:

AECE=1Tt=0TECEtdt\text{AECE}=\frac{1}{T}\int_{t=0}^T\text{ECE}_tdt

The average worst credit exposure (AWCE) is defined similarly:

AWCE=1Tt=0TWCEtdt\text{AWCE}=\frac{1}{T}\int_{t=0}^T\text{WCE}_tdt


Exposure Modifiers

Exposure Modifiers

Marking-to-Market (MTM)

Margins

Collateral

Exposure Limits

Recouponing

Netting Arrangements

Other Modifiers


Credit Risk Modifiers

Credit Risk Modifiers


Credit Derivatives and Structured Products

Introduction


Credit Default Swaps

Definition of CDS





Settlement


Pricing

CDS contracts can be priced by considering the present value of the cash flows on each side of the contract.




The value VV and the fair spread ss of the CDS contract should satisfy the following:

V=(PV Payoff)s(PV Spread)=(t=1Tkt(1f)PVt)s(t=1TSt1PVt)V=(\text{PV Payoff})-s(\text{PV Spread})=\left(\sum_{t=1}^Tk_t(1-f)PV_t\right)-s\left(\sum_{t=1}^TS_{t-1}PV_t\right)

The default probabilities used to price the CDS contracts must be risk-neutraal probabilities, not real-world probabilities.




Counterparty Risk





Other Contracts

CDS Variants


Total Return Swaps

A total return swap (TRS) is a contract where one party, called the protection buyer, makes a series of payments linked to the total return on a reference asset. In exchange, the protection seller makes a series of payments tied to a reference rate, such as the yield on an equivalent Treasury issue (or LIBOR ) plus a spread.







Credit Spread Forwards and Option

In a credit spread forward contract, the buyer receives the difference between the credit spread at maturity and an agreed-upon spread, if positive. Conversely, a payment is made if the difference is negative. The payment is,
Payment=(SF)×MD×Notional\text{Payment}=(S-F)\times \text{MD}\times\text{Notional}
Or, equivalently
Payment=[P(y+F,τ)P(y+S,τ)]×Notional\text{Payment}=[P(y+F,\tau)-P(y+S,\tau)]\times\text{Notional}
In a credit spread option contract, the buyer pays a premium in exchange for the right to put any increase in the spread to the option seller at a predefined maturity:
Payment=(SK)+×MD×Notional\text{Payment}=(S-K)^+\times \text{MD}\times\text{Notional}


Structured Products

Credit-Linked Notes





Collateralized Debt Obligations

The waterfall structure of CDO



In this example, 80% of the capital structure is apportioned to tranche A, which has the highest credit rating of Aaa, using Moody’s rating, or AAA. It pays LIBOR + 45bp, for example. Other tranches have lower priorities and ratings. These intermediate, mezzanine, tranches are typically rated A, Baa, Ba, or B (A, BBB, BB, B, using S&P's ratings). For instance, tranche C would absorb losses from 3% to 10%. These numbers are called, respectively, the **attachment point and the detachment point.


Managing Credit Risk

Measuring the Distribution of Credit Losses

Measuring the Distribution of Credit Losses

Default mode (DM): considering only losses due to defaults instead of changges in market values

For a portfolio of NN conterparties, the credit loss (CL) is
CL=i=1Nbi×CEi×LGDi\text{CL}=\sum_{i=1}^Nb_i\times\text{CE}_i\times\text{LGD}_i

The net replacement value (NRV)
NRV=i=1NCEi\text{NRV}=\sum_{i=1}^N\text{CE}_i

The effect of correlations





Measuring Expected Credit Loss

Expected Loss over a Target Horizon

E[CL]=f(b,CE,LGD)(b×CE×LGD)dbdCEdLGD\begin{array}{lll} &&E[CL]=\int f(b,\text{CE},\text{LGD})(b\times\text{CE}\times\text{LGD})dbd\text{CE}d\text{LGD}\nonumber \end{array}

Assuming independency,

E[CL]=[f(b)(b)db][f(CE)(CE)dCE][f(LGD)(LGD)dLGD]\begin{array}{lll} E[CL]&=&\left[\int f(b)(b)db\right]\left[\int f(\text{CE})(\text{CE})d\text{CE}\right]\nonumber\\ &&\left[\int f(\text{LGD})(\text{LGD})d\text{LGD}\right]\nonumber \end{array}

ECL=Pr(default)×E[CE]×E[LGD]\begin{array}{lll} \Longrightarrow \text{ECL}=\Pr(\text{default})\times E[\text{CE}]\times E[\text{LGD}]\nonumber \end{array}


The Time Profile of Expected Loss

The present value of expected credit losses (PVECL):
PVECL=tE[CLt]×PVt=t[kt×ECEt×(1f)]×PVt\text{PVECL}=\sum_tE[\text{CL}_t]\times\text{PV}_t=\sum_t[k_t\times\text{ECE}_t\times(1-f)]\times\text{PV}_t

It can be simplified by adopting the average default probability and average exposure over the life of the asset:
PVECLA=Ave[kt]×Ave[ECEt]×(1f)×[tPVt]\text{PVECL}_A=\text{Ave}[k_t]\times \text{Ave}[\text{ECE}_t]\times(1-f)\times\left[\sum_t\text{PV}_t\right]

An even simpler approach, when ECE is constant, considers the final maturity TT only, using the cumulative default rate cTc_T and discount factor PVT\text{PV}_T:
PVECLF=cT×ECE×(1f)×PVT\text{PVECL}_F=c_T\times\text{ECE}\times(1-f)\times\text{PV}_T


Measuring Credit VaR

Measuring Credit VaR


Portfolio Credit Risk Models

Approaches to Portfolio Credit Risk Models