Professional Documents
Culture Documents
2
Parameter estimation
The true parameters (µ, V ) are never known!
15
Each dot is an estimate for
the mean vector with N =
10
true mean
60 months of simulated data.
5
estimated mean
3
Does parameter error matter?
6.5
Estimated mean and
6 covariance from
N = 60 months of
5.5
simulated data
5
Estimated frontier =
return (%)
4.5
frontier for estimated
parameters
4
Realized frontier = true
3.5
True frontier mean and volatility of
3
Estimated frontier the estimated frontier
Realized frontier portfolios
2.5
2.5 3 3.5 4 4.5 5 5.5 6
volatility (%)
4
Many independent samples!
6.5
Estimated mean and
6 covariance from
N = 60 months of
5.5
simulated data
5
Estimated frontier =
return (%)
4.5
frontier for estimated
parameters
4
5
Why is parameter error so serious?
Two identical assets with mean µ, variance σ 2 , and correlation ρ = 0
Optimal investment x ∗ = (0.5, 0.5)
Suppose estimates
(est)
µ1 = µ + (positive error)
(est)
µ2 = µ − (negative error)
Average error in the estimates = 0 ... estimator is good on average
Realized performance is lower than expected for the overweighted asset and
better than expected for the underweighted asset! Performance becomes worse as
more shorting is allowed.
6
Efficient frontier with no-short sales constraint
3.6
3.5
3.4
3.3
return (%)
3.2
3.1
2.9
True frontier
Estimated frontier
2.8
Realized frontier
2.7
3 3.02 3.04 3.06 3.08 3.1 3.12 3.14 3.16 3.18 3.2
volatility (%)
True frontier
Estimated frontier
25 Realized frontier
20
return (%)
15
10
0
0 5 10 15 20 25 30
volatility (%)
Pd
Leverage constraint: i=1 |xi | ≤ 2
8
Efficient frontier with robust constraints
25
True frontier
Estimated frontier
Realized frontier
20
15
return (%)
10
0
0 5 10 15 20 25 30
volatility (%)
9
Methods to improve parameter estimates
Shrinkage methods: James and Stein (1961), Ledoit and Wolf (2004)
P (est)
(sh) (est) d
“Shrink” to the global mean: µi = αµi + (1 − α) d1 j=1 µj
P (est)
d
“Shrink” to identity matrix: V (sh) = αV (est) + (1 − α) d
1 2
i=1 σi I
10
Financial Engineering and Risk Management
Negative exposures and leveraged ETFs
2
Exchange Traded Funds
Exchange Traded Funds (ETFs) are exchange traded products that track the
returns on stock indices, bond indices, commodities, currencies, etc.
Source: Bloomberg.com
3
Leveraged ETFs
Produce daily returns that are a multiple of the daily returns on the index.
Bull ETFs: return β × the daily return on index. β = 2, 3
Inverse ETFs: return −β × the daily return on index. β = 1, 2, 3
Source: Bloomberg.com
An inverse ETF is a product that gives negative exposure to the index with
limited liability – all one stands to lose is the initial investment.
4
Details on the return on an ETF
The return on an ETF is the return on the underlying index compounded daily.
(ETF)
RT = (1 + r1 )(1 + r2 ) · · · (1 + rT )
where rt is the net daily return on the underlying index. Just like a stock.
The daily compounding has consequences that are not immediately obvious.
5
Impact of daily compounding
Index: Current value of index is 100.
Day 1: Index goes up to 105. r1 = 5%
Day 2: Index goes back down to 100. r2 = −4.76%
Inverse ETF: Current price of an Inverse ETF following the index is 100.
Day 1: ETF price goes down to 100(1 − r1 ) = 95
Day 2: ETF price goes up to 105(1 − r2 ) = 99.52 ... lose money!
End up in the same place as the 2×ETF!
6
Volatility and ETF returns
The gross return from a static leveraged position in the underlying index is
βST − (β − 1)S0 (1 + rT )
S0
where r is the funding rate and β is the leverage ratio.
ETFs are generally designed for short-term plays on an index or sector, and
should be used that way. Over long-periods leveraged ETFs do not work as one
may expect, especially in volatile markets.
7
Leveraged ETFs during volatile markets
DIG: ProShares Ultra Oil & Gas (2× ETF)
DUG: ProShares UltraShort Oil & Gas (−2× ETF)
8
Financial Engineering and Risk Management
Beyond variance
2
Value at Risk
Definition. The value at risk VaRp (L) of random loss L at the confidence level
p ∈ (0, 1) is defined as
VaRp (L) := pth -quantile of L ≈ FL−1 (p)
where FL is the CDF of the random loss L.
0.2
VaR is a “tail” risk mea-
0.18
sure
0.16
95% VaR
0.14 VaRp is increasing in p
0.12
0.1
VaR0.99 (L) ≥ VaR0.95 (L)
0.08
0.06
0.04
Probability = 0.05
0.02
0
0 2 4 6 8 10 12 14 16 18 20
loss
3
Conditional Value at Risk
Definition. The conditional value at risk CVaRp (L) of random variable L at the
confidence level p ∈ (0, 1) is defined as
R∞
xf (x)dx
VaRp (L) L
CVaRp (L) = E [L | L ≥ VaRp (L)] =
P(L ≥ VaRp (L))
where fL is the density of the random loss L.
0.2
CVaR is also a “tail” risk
0.18
measure
95% VaR
0.16
0.14
CVaRp (L) ≥ VaRp (L)
0.12
95% CVaR
0.1
CVaRp is increasing in p
0.08
0.06
Other names: Tail condi-
0.04
Probability = 0.05 tional expectation and Ex-
0.02
pected Shortfall
0
0 2 4 6 8 10 12 14 16 18 20
loss
4
VaR and CVaR for Normal distribution
Suppose L ∼ N (µ, σ 2 ).
Z 1
1 −1
CVaRp (L) = µ + σ Φ (β)dβ
1−p p
VaRp and CVaRp for a Normal random variable completely defined by mean µ
and volatility σ. Surprise ?
5
VaR and CVaR from samples
Suppose L1 , L2 , . . . , LN are N independently and identically distributed (IID)
samples from the Loss L
6
Impact of return distribution
Experimental setup:
Computed the Sharpe optimal portfolio for the data in the spreadsheet.
Generated N = 10, 000 samples of loss −rx for three different distributions
(a) Multivariate Normal with mean µ and covariance V
ν−2
(b) Multivariate t with ν = 12 degrees of freedom, mean µ, covariance ν
V,
(c) Mixture of Normals 0.75N (µ, (0.76)2 V ) + 0.25N (µ, (1.5)2 V )
The Students’s t distribution has fatter tails than Normal particularly when the
degrees of freedom are small. Expect VaR and CVaR to be larger.
The Normal distribution with covariance matrix (1.5)2 V has all volatilities 50%
higher. The mixture models a situation where there is 25% chance of very high
volatility. Expect VaR and CVaR to be larger.
7
Loss histogram for Normal returns
20
16
14
12
95% CVaR = 3.15
10
0
−30 −20 −10 0 10 20 30
loss (%)
8
Loss histogram for t returns
35
30
20
95% CVaR = 4.58
15
10
0
−30 −20 −10 0 10 20 30
loss (%)
9
Loss histogram for mixture of Normals
50
45
40
30
25
20
95% CVaR = 5.60
15
10
0
−30 −20 −10 0 10 20 30
loss (%)
10
Pros and Cons of VaR
Pros
Captures the tail behaviour of portfolio losses
Can be robustly estimated from data: not very susceptible to outliers
Cons:
Only sensitive to the p-th quantile and not the distribution beyond
Incentive for “tail stuffing”
VaR is not sub-additive: diversification can increase VaR
11
Pros and Cons of CVaR
Pros
Captures the tail behaviour of portfolio losses beyond the p-th quantile
Sub-additive: diversification reduces CVaR
Mean-CVaR portfolio selection problems can be solve very efficiently
Cons:
CVaR is defined by an expectation: can be sensitive to outliers
We will return to the topic of VaR and CVaR in the risk management module.
12