Class 3
Class 3
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 33 / 140
Risk Measures Value at Risk - one asset
Asset return
Pt+1 − Pt + Dt+1
Rt+1 =
Pt
where Pt is the price at time t and Dt are the dividends.
VaR - Aplications
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 35 / 140
Risk Measures Value at Risk - one asset
Z R∗
∗
α = P (R ≤ R ) = f (R)dR
−∞
Normal VaR
If f (R) is the density of the normal distribution with mean µ and standard
deviation σ, that is, R ∼ N (µ, σ 2 ) then,
1 (R−µ)2
f (R) = √ e− 2σ2 .
2πσ
Let us compute R∗ ,
Z R∗ Z R∗
(R−µ)2
1
α= f (R) dR = e− 2σ2 dR =
√
−∞ −∞ 2πσ
R∗ −µ ∗
R −µ
Z
σ 1 − x2
= √ e 2 dx = Φ
−∞ 2π σ
where Φ is the cumulative distribution of the normal standard (0, 1).
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 38 / 140
Risk Measures Value at Risk - one asset
Normal VaR
R∗ − µ
α=Φ
σ
R∗ − µ
= Φ−1 (α) ⇔
σ
R∗ = µ + σΦ−1 (α)
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 39 / 140
Risk Measures Value at Risk - one asset
Remarks:
• The VaR increases with the wealth invested.
• The VaR also increases with the standard deviation, that is, with the
volatility of the asset.
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 40 / 140
Risk Measures Value at Risk - one asset
When the returns follow a normal distribution but the parameters µ and
σ 2 are unknown, we can use a sample to estimate them,
T T
1X 2 1 X
µ̂ = Rt and σ̂ = (Rt − µ̂)2
T T −1
t=1 t=1
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 41 / 140
Risk Measures Value at Risk - one asset
#{ i : xi ≤ x}
F̂ (x) = .
n
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 42 / 140
Risk Measures Value at Risk - one asset
7 2 7
P (X ≤ 3) = F̂ (3) = p(1) + p(2) + p(3) = 24 + 24 + 24 = 0.6(6).
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 43 / 140
Risk Measures Value at Risk - one asset
R∗ = R[int(αn)]
when the sample is sorted in ascending order.
If αn is an integer number:
αn
P̂ R ≤ R[αn] = F̂ R[αn] = = α.
n
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 44 / 140
Risk Measures Value at Risk - one asset
Temporal aggregation
Consider an asset with price Pt at time t.
The simple return between times t and t + 1 is defined as:
Pt+1 − Pt Pt+1
Rt,t+1 = = − 1.
Pt Pt
When
Pt+1
∼ 1 then Rt,t+1 ∼ rt,t+1
Pt
(Prove using the Taylor formula).
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 45 / 140
Risk Measures Value at Risk - one asset
Pt+k
rt,t+k = ln
Pt
Pt+k Pt+1 Pt+2 Pt+k
rt,t+k = ln = ln ··· =
Pt Pt Pt+1 Pt+k−1
Pt+1 Pt+2 Pt+k
= ln + ln + · · · ln ,
Pt Pt+1 Pt+k−1
that is,
rt,t+k = rt,t+1 + rt+1,t+2 + · · · + rt+k−1,t+k .
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 46 / 140
Risk Measures Value at Risk - one asset
If we assume that the returns are i.i.d with expected value µday and
2 then the expected value for k days is given by,
variance σday
q q
σk days = V (rt,t+k ) = V (rt,t+1 ) + V (rt+1,t+2 ) + · · · + V (rt+k−1,t+k ) =
p √
= V (rt ) + V (rt ) + · · · + V (rt ) = kσday .
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 47 / 140
Risk Measures Value at Risk - one asset
Exercise 3.1
Choose a stock from the Yahoo Finance, download the daily prices for one
year. Compute the daily log returns. Consider an investment of 10 000
euros in that stock.
Marta Faias (NOVA FCT - DM) Teoria do Investimento Ano letivo 2024/2025 48 / 140