Professional Documents
Culture Documents
Backtesting Principles
Testing strategies
Recommandations
Christophe Hurlin
University of Orléans
Introduction
Introduction
De…nition
Let frt gTt=1 be a given P&L series. The daily (conditional) VaR for
a nominal coverage rate α is de…ned as
Introduction
Introduction
De…nition
Backtesting is a set of statistical procedures designed to check if
the real losses are in line with VaR forecasts (Jorion, 2007).
Introduction
Outlines
Backtesting Principles
Backtesting Principles
Backtesting Principles
De…nition
We denote It (α) the hit variable associated to the ex-post
observation of an α% VaR exception at time t :
(
1 if rt < VaR t jt 1 (α)
It (α) =
0 else
Backtesting Principles
Backtesting Principles
Backtesting Principles
Backtesting Principles
8
VaR(95%)
P&L
6
-2
-4
-6
0 50 100 150 200 250
Backtesting Principles
8
VaR(95%)
P&L
6
-2
-4
-6
0 50 100 150 200 250
Backtesting Principles
E [ It (α) j Ft 1] =α
Backtesting Principles
Testing strategies
What are the backtesting strategies?
Testing strategies
Testing strategies
Testing strategies:
1 Frequency-based tests
2 Magnitude-based tests
3 Multivariate tests
4 Independence tests
5 Duration-based tests
De…nition
Christo¤ersen (1998) proposes a Likelihood Ratio statistic for UC
de…ned as:
h i
LRUC = 2 ln (1 α)T H αH
h i
d
+2 ln (1 H/T )T H (H/T )H ! χ2 (1)
T !∞
Example
Berkowitz and O-Brien (2002) consider the VaR forecasts of six US
commercial banks
Testing strategies
Testing strategies:
1 Frequency-based tests
2 Magnitude-based tests
3 Multivariate tests
4 Independence tests
5 Duration-based tests
All these tests do not take into account the magnitude of the
losses beyond the VaR
Example
Consider two banks that both have a one-day 1%-VaR of $100
million. Assume each bank reports three VaR exceptions, but the
average VaR exceedance is $1 million for bank A and $500 million
for bank B.
In this case, standard backtesting methodologies would indicate
that the performance of both models is equal and acceptable.
De…nition
We de…ne a super exception using a VaR with a much smaller
coverage probability α0 , with α0 < α. In this case, a super
exception is de…ned as a loss greater than VaRt (α0 ).
Solution
Given VaR exceptions It (α) and VaR super exception It (α0 ), we
de…ne a Risk Map that jointly accounts for the number and the
magnitude of the VaR exceptions
H0 : E [It (α)] = α
H1 : E [It (α)] 6= α.
Non-rejection
area for test
on VaR super
exceptions
We can also test jointly for both magnitude and frequency of VaR
exceptions:
Multivariate approach
Perignon C. and Smith, D. (2008), A New Approach to
Comparing VaR Estimation Methods, Journal of
Derivatives
15
14
13
12
Number of VaR Exceptions (N)
11
10
9
8
7
6
5
4
3 Nominal risk 5%
2
1 Nominal risk 1%
0
0 1 2 3 4 5 6 7 8
Number of VaR Super Exceptions (N')
15
14
13
12
Number of VaR Exceptions (N)
11
10
9
8
7
6
5
4
3 Nominal risk 5%
2
1 Nominal risk 1%
0
0 1 2 3 4 5 6 7 8
Number of VaR Super Exceptions (N')
Testing strategies
Testing strategies:
1 Frequency-based tests
2 Magnitude-based tests
3 Multivariate tests
4 Independence tests
5 Duration-based tests
H0,CC : r1 = ... = rK = 0
Testing strategies
Testing strategies:
1 Frequency-based tests
2 Magnitude-based tests
3 Multivariate tests
4 Independence tests
5 Duration-based tests
1 π 01 π 01
Π=
1 π 11 π 11
π ij = Pr [ It (α) = j j It 1 (α) = i ]
De…nition
The null of CC can be de…ned as follows:
1 α α
H0,CC : Π = Πα =
1 α α
1 π 01 π 01
Π=
1 π 11 π 11
π ij = Pr [ It (α) = j j It 1 (α) = i ]
De…nition
The null of IND can be de…ned as follows:
1 β β
H0,IND : Π = Π β =
1 β β
h i
T H H
LRCC = 2 ln (1 α) (α)
d
+2 ln [(1 π b n0101 (1
b 01 )n00 π π b n1111 ]
b 11 )n10 π ! χ2 (2)
T !∞
By de…nition:
LRCC = LRUC + LRIND
H0,CC : δ = βk = γk = 0, 8k = 1, ..., K .
Pr [ It (α) = 1 j Ft 1] = F (π t ) .
1
H0 : β = 0, δ = 0, γ = 0 and c = F (α) .
since under the null of CC:
1
Pr(It = 1 j Ft 1) = F (F (α)) = α.
Testing strategies
Testing strategies:
1 Frequency-based tests
2 Magnitude-based tests
3 Multivariate tests
4 Independence tests
5 Duration-based tests
dv = tv tv 1
Pr [dv = k ] = α (1 α )k 1
k2N .
De…nition
Christo¤ersen and Pelletier (2004) use under the null hypothesis
the exponential distribution:
H0,IND : b = 1 H0,CC : b = 1, a = α
De…nition
The orthonormal polynomials associated to a geometric
distribution with a success probability β are de…ned by the
following recursive relationship, 8d 2 N :
(1 β) (2j + 1) + β (j d + 1)
Mj +1 (d; β) = p Mj (d; β)
(j + 1) 1 β
j
Mj 1 (d; β) ,
j +1
Example
We can show that if d follows a geometric distribution of
parameter β, then:
p
M1 (d; β) = (1 βd ) / 1 β
with
E [M1 (d; β)] = 0
De…nition
The null hypothesis of CC can be expressed as
De…nition
Under UC, the mean of durations between two violations is equal
to 1/α, and the null hypothesis is
Backtesting
Recommandations
Backtesting
Backtesting
Backtesting
Backtesting
Backtesting
Backtesting
Recommandation 3: The power of your tests may be low..
De…nition
The power of a backtesting test corresponds to its capacity to
detect misspeci…ed VaR model.
Pr [ Rejection H0 j H1 ]
Example
Berkowitz, J., Christo¤ersen, P. F., and Pelletier, D., 2013,
Evaluating Value-at-Risk Models with Desk-Level Data.
Management Science.
Backtesting
Backtesting
Backtesting
Backtesting
Backtesting
Example
LRCC tests: for 47% of the samples, we don’t reject (at 5%) the
null for any of the six VaR forecats. In 71% of the samples, we
reject at the most one VaR.
Example
DQCC tests: for 20% of the samples, we don’t reject (at 5%) the
null for any of the six VaR forecats. In 51% of the samples, we
reject at the most one VaR.
Backtesting
Backtesting
Backtesting
Backtesting
Backtesting