Professional Documents
Culture Documents
Martin Haugh
Garud Iyengar
Columbia University
Industrial Engineering and Operations Research
Overview
Assets and portfolios
Quantifying random asset and portfolio returns: mean and variance
Mean-variance optimal portfolios
Efficient frontier
Sharpe ratio and Sharpe optimal portfolios
Market portfolio
Capital Asset Pricing Model
P(t+1)
P(t)
P(t+1)P(t)
P(t)
i=1
Ri (t)wi
W
Pn
i=1
wi
Pd
=
i=1 ri (t)wi
Pd
i=1
wi
d
X
ri (t)
i=1
wi
W
|{z}
xi
i=1
xi = 1
Pd
i=1 ri xi
d
X
E[ri (t)]xi =
i=1
d
X
i xi
i=1
i=1 j=1
5
Example
d = 2 assets with Normally distributed returns N (, 2 )
r1 N (1, 0.1)
r2 N (2, 0.5)
cor(r1 , r2 ) = 0.25
Parameters
1 = 1
12
12
2 = 2
22 = var(r2 ) = 0.5
Portfolio: (x, 1 x)
x =
d
X
i xi = x + 2(1 x)
i=1
x2
d
X
i,j=1
ij xi xj =
d
X
i=1
i2 xi2 + 2
ij xi xj
j>i
2
d
120
100
80
return (%)
60
40
20
20
40
60
20
40
60
80
100
120
140
160
180
volatility (%)
8
x2
x r
minx
s.t.
Pd Pd
j=1 ij xi xj
Pi=1
d
i xi r
Pi=1
d
i=1 xi = 1.
x
x2
2
maxx
s.t.
Pd
x
Pdi=1 Pi di
2,
j=1 ij xi xj
Pi=1
d
i=1 xi = 1.
x x2
maxx
s.t.
Pd
i=1 i xi
Pd
i=1 xi = 1.
P
d
i=1
Pd
j=1
ij xi xj
risk-aversion parameter
9
Martin Haugh
Garud Iyengar
Columbia University
Industrial Engineering and Operations Research
d
X
i xi = 1 x + 2 (1 x)
i=1
x2
d
X
i,j=1
ij xi xj =
d
X
i=1
i2 xi2 + 2
ij xi xj
j>i
12 x 2 + 22 (1 x)2 + 21 2 x(1 x)
12 x 2 + 22 (1 x)2 + 21 2 x(1 x)
1 x + 2 (1 x) = r
r2
1 2
Variance:
r2
r 2
r r
r 2
1
2
2
1
+ 22
+ 21 2
1 2
1 2
1 2 1 2
= ar 2 + br + c
= 12
Efficient frontier
12
10
Efficient
Inefficient
return (%)
rmin
2
min
10
12
14
volatility (%)
Only the top half is efficient! why did we get the bottom?
How does one solve the d asset problem?
4
x
=
r
s.t.
i
i
Pdi=1
x
=
1.
i=1 i
Form the Lagrangian with Lagrange multipliers u and v
!
d X
d
d
X
X
L=
ij xi xj v
i xi r u
i=1 j=1
Setting
L
xi
i=1
d
X
!
xi 1
i=1
d
X
ij xj vi u = 0,
for all i = 1, . . . d
()
j=1
211
221
..
.
2d1
1
1
|
Therefore
212
222
..
.
...
...
..
.
21d
22d
..
.
1
2
..
.
2d2
2
1
...
...
...
2dd
d
1
d
0
0
{z
A
1
x1
0
1
x2 0
.. .. ..
.
. = .
1
xd 0
0 v r
u
0
1
}
|{z}
b
x1
x2
..
.
= A1 b
xd
v
u
yi = (1 )
i=1
d
X
(1)
xi
d
X
i=1
(2)
xi
= (1 ) + = 1
i=1
i yi = (1 )
d
X
i=1
(1)
i xi
d
X
(2)
i xi
= (1 )r1 + r2 = r
i=1
7
d
X
ij yj vi u
j=1
d
X
(1)
(2)
+ xj )
j=1
Efficient frontier
The optimal portfolio for target return r
r r
r r
2
1
y =
x (1) +
x (2)
r2 r1
r2 r1
(2)
x x (1)
r2 x (1) r1 x (2)
= r
+
r2 r1
r2 r1
|
{z
} |
{z
}
g
yi
rgi + hi ,
i = 1, . . . , d.
Therefore
2
(r)
d X
d
X
ij (rgi + hi )(rgj + hj )
i=1 j=1
= r2
d X
d
X
i=1 j=1
d X
d
d X
d
X
X
ij gi gj + 2r
ij gi hj +
ij hi hj
i=1 j=1
i=1 j=1
The d-asset frontier has the same structure as the 2-asset frontier.
9
Efficient frontier
12
10
Efficient
Inefficient
return (%)
rmin
2
min
10
12
14
volatility (%)
10
Martin Haugh
Garud Iyengar
Columbia University
Industrial Engineering and Operations Research
x
x
max rf x0 + i=1 i xi
j=1 ij i j
i=1
Pd
s. t. x0 + i=1 xi = 1.
Only meaningful for r rf
Substituting x0 = 1
Pd
max rf +
i=1 xi
Pd
we get
i=1 (i
rf )xi
P
d
i=1
Pd
j=1
ij xi xj
i 2
d
X
ij xj = 0,
i = 1, . . . , d.
j=1
Matrix formulation
11 12
21 22
2 .
..
..
.
d1
|
x1
1d
2d x2 .1
.. .. = ..
. .
d
xd
d2 . . . dd
| {z }
{z
}
...
...
..
.
x( ) =
1 1
V
2
One-fund theorem
The positions in the risky assets in the frontier portfolio
x=
1 1
V
2
do not add up to 1.
Define a portfolio of risky assets by dividing x by the sum of its components.
!
!
1
1
1
1
V
s = Pd
x=
P
d
1
1
2
i
)
i=1 xi
i=1 (V
2
The portfolio s is independent of ! Since
Pd
i=1 xi
= 1 x0 , x = (1 x0 )s .
Pd
i=1 i si ,
s =
qP
d
i=1
j=1
ij2 si sj
x = (1 x0 )s
Efficient Frontier
Straight line with an intercept rf
at = 0 and slope
10
m=
s rf
s
return (%)
How does this relate to the frontier with only risky assets?
(s , s ) s
10
volatility (%)
return (%)
(s , s ) s
5
rf
1
volatility (%)
Sharpe Ratio
Definition. The Sharpe ratio of a portfolio or an asset is the ratio of the
expected excess return to the volatility. The Sharpe optimal portfolio is a
portfolio that maximizes the Sharpe ratio.
The portfolio s is a Sharpe optimal portfolio
x rf
s = P
argmax
x
d
x:
x =1
i=1
Investors diversify between the risk-free asset and the Sharpe optimal portfolio.
The investment in the various risky assets are in fixed proportions ...
prices/returns should be correlated! This insight leads to the Capital Asset
Pricing Model.
Martin Haugh
Garud Iyengar
Columbia University
Industrial Engineering and Operations Research
Market Portfolio
Definition. Let Ci , i = 1, . . . , d, denote the market capitalization of the d
assets. Then the market portfolio x (m) is defined as follows.
(m)
xi
Ci
= Pd
j=1
Cj
i = 1, . . . , d.
Let m denote the expected net rate of return on the market portfolio, and let
m denote the volatility of the market portfolio.
Suppose all investors in the market are mean-variance optimizers. Then all of
them invest in the Sharpe optimal portfolio s . Let
w (k)
(k)
x0
Then
Ci =
(k)
w (k) (1 x0 )si
m rf
= maximum achievable Sharpe ratio
m
return (%)
(m , m ) x(m)
5
volatility (%)
m rf
m
=
=0
d
d
d
d
j m
2 +(1)
j2 (1)m
jm
jm
2 +2 (1)
2 j2 +(1)2 m
jm
j m
2
jm m
m
This pricing formula is called the Capital Asset Pricing Model (CAPM).
5
= jm
coefficient j = var(r
2
m rf )
m
intercept j = (E[rj ] rf ) (E[rm ] rf ) = (j rf ) (m rf ).
residuals j and (rm rf ) are uncorrelated, i.e. cor(j , rm rf ) = 0.
CAPM implies that j = 0 for all assets.
Effective relation: rj rf = j (rm rf ) + j
Decomposition of risk
var(rj rf )
j2
j2 var(rm rf ) + var()
2
j2 m
+ var()
| {z }
| {z }
market risk
residual risk
Only compensated for taking on market risk and not residual risk
6
return (%)
2
4
8
6
3
5
8
2
1.5
0.5
0.5
beta
The assets are labeled in the order they appears in the spreadsheet.
All assets should lie on the security line if CAPM holds. So why the discrepancy?
7
j rf
X
P
cov(rX , rm )
1 cov(X , rm )
=
2
2
m
P
m
Suppose CAPM holds. Then X = E[rX ] must lie on the security market line, i.e.
X
E[X ]
1
P
=
=
rf + X (rm rf )
1 cov(X , rm )
rf +
(m rf )
P var(rm )
Rearranging terms:
P=
E[X ]
cov(X , rm )
(m rf )
1 + rf
(1 + rf )var(rm )
9