Lecture5 23
Lecture5 23
Financial Risk
4-th quarter 2022/23
Lecture 5: Extreme
value statistics wrap
up
Use
E. Gilleland: “Computing Software” as an aid in choosing what software to use
Links are available under “Anslag” in Canvas: remember that you need to hook up
to Chalmers/GU with vpn when you want to follow the links
2
Extreme value statistics (EVS) is the branch of statistics
developed to handle extreme risks
3
price tomorrow−price today
Apple losses (= - 100 × ) one year back
price today
1.92
Obtain observations 𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 of block maxima (e.g. weekly or yearly maxima)
5
The asymptotic motivation: What does
Since all the parameters are unknown anyway, we are left with
the problem of estimating 𝜇𝜇, 𝜎𝜎, 𝛾𝛾 from data, i.e. to use the
Block Maxima method.
6
The Peaks over thresholds (PoT) method (Coles p. 74-91)
Choose a (high) threshold 𝑢𝑢 and obtain observations of the 𝑁𝑁 excesses of the threshold
and of the times 𝑡𝑡1 , … , 𝑡𝑡𝑁𝑁 of exceedance
• Assume excesses are i.i.d and GP distributed and that 𝑡𝑡1 , … , 𝑡𝑡𝑁𝑁 are occurrence times
of an independent Poisson process, so that 𝑁𝑁 has a Poisson distribution
• Use the observed excesses to estimate the GP parameters and 𝑁𝑁 to estimate the
mean of the Poisson distribution
• Estimate tail 𝐹𝐹� 𝑥𝑥 = 1 − 𝐹𝐹 𝑥𝑥 = 𝐹𝐹� 𝑢𝑢 𝐹𝐹�𝑢𝑢 𝑥𝑥 − 𝑢𝑢 , where 𝐹𝐹�𝑢𝑢 𝑥𝑥 − 𝑢𝑢 = the conditional
distribution function of threshold excesses, by
� 𝑁𝑁 �
𝐹𝐹 𝑥𝑥 = 𝐹𝐹𝑢𝑢 (𝑥𝑥 − 𝑢𝑢)
𝑛𝑛
7
�
Why not just estimate 𝐹𝐹(𝑥𝑥) by 𝑁𝑁(𝑥𝑥)/𝑛𝑛? Because if 𝑥𝑥 is a very high level then
𝑁𝑁(𝑥𝑥) is small or zero, and then this estimator is useless -- and it is such very large
𝑥𝑥-es we are interested in.
Solving 1 − 𝐹𝐹� 𝑥𝑥𝑝𝑝 = 𝑝𝑝 for 𝑥𝑥𝑝𝑝 we get an estimator of the 𝑝𝑝-th quantile of 𝑋𝑋:
𝜎𝜎� 𝑛𝑛 −�
𝛾𝛾 𝑁𝑁
𝑥𝑥𝑝𝑝 = 𝑢𝑢 + (1 − 𝑝𝑝) −1 , for 𝑝𝑝 > 1 −
𝛾𝛾� 𝑁𝑁 𝑛𝑛
8
the distribution of Block Maxima can be obtained from a PoT model
• suppose that values larger than u occur as a Poisson process with intensity 𝜆𝜆 and that
this process is independent of the sizes of the excesses
𝛾𝛾 −1/�
𝛾𝛾
• suppose excesses are i.i.d. and have GP distribution 𝐻𝐻 𝑥𝑥 = 1 − 1 + (𝑥𝑥 − 𝑢𝑢)
𝜎𝜎
• Let 𝑀𝑀𝑇𝑇 = the largest of the observations in the time interval [0, 𝑇𝑇].
Then,
1
−
𝛾𝛾
𝑥𝑥 − 𝑢𝑢 − 𝜆𝜆𝜆𝜆 𝛾𝛾 − 1 𝜎𝜎/𝛾𝛾)
1 + 𝛾𝛾
𝑃𝑃 𝑀𝑀𝑇𝑇 ≤ 𝑥𝑥 = exp − 𝜎𝜎 𝜆𝜆𝜆𝜆 𝛾𝛾 , for 𝑥𝑥 > 0
9
Maximum likelihood inference (Coles p. 30-34)
stationarity??
11
The PoT method for stationary time series
1. Decluster: identify approximately i.i.d clusters of large values by
a) Block method: divide observations up into blocks of a fixed length r,
all values in a block which exceed the level u is a cluster
b) Blocks-runs method: the first cluster starts at first exceedance of u
and contains all excesses of u within a fixed length r thereafter.
The second cluster starts at the next exceedance of u and contains
all excesses of u within r thereafter, and so on. . .
c) Runs method: the first cluster starts with the first exceedance of u
and stops as soon as there is a value below u, the second cluster
starts with the next exceedance of u, and so on …
= EV distribution!
13
Remember
14