15
CAPM and portfolio management
15.1
Theoretical foundation for mean-variance analysis
• We assume that investors try to maximize the expected utility,
E[U (W )], where W is their wealth.
• Consider a Taylor expansion of the utility function around
E[W ] (the
expected wealth):
U (W ) = U (E[W ]) + U
′(E[W ]) (W − E[W ])
+
1
2
U
′′(E[W ]) (W − E[W ])
2+
∞X
n=31
n!
U
(n)(E[W ]) (W − E[W ])
n• Next, take the expectation:
E[U (W )] = U (E[W ]) + U
′(E[W ])E [(W − E[W ])]
+
1
2
U
′′
(E[W ])E
(W − E[W ])
2+
iX
n=3nf ty
1
n!
U
(n)
(E[W ])E [(W − E[W ])
n]
• With a mean-variance analysis we stop at the second order.
• There are two cases where this can be justified:
– If
W is normally distributed, then the first two moments
characterize all the moments.
15.2
Portfolio with minimum variance
15.2.1
Simple case: 2 assets
• Consider the following two assets
x
1and
x
2with
–
V ar[x
1] = σ
12,
V ar[x
2] = σ
22and
Cov[x
1, x
2] = σ
12–
w
1: the weight of the first asset in the portfolio
–
1 − w
1: the weight of the second asset in the portfolio
• Denote by
σ
p2the variance of the portfolio:
σ
p2= V ar[w
1x
1+ (1 − w
1)x
2]
• We want to find the minimum variance portfolio:
min
w1σ
p2• The First Order Condition (FOC) is:
2w
1⋆σ
12−
2(1 − w
1⋆)σ
22+ 2(1 − w
1⋆)σ
12+ 2w
1⋆(−1)σ
12= 0
• Solving for
w
1⋆, we get
w
1⋆=
σ
2
2
−
σ
12• Diversification principle:
– Look at the FOC when we take
w
1= 0:
∂σ
p2∂w
1(w
1= 0) = 2(σ
12−
σ
22)
= 2(ρ
12σ
1σ
2−
σ
22)
= 2σ
1σ
2ρ
12−
σ
2σ
1– If
ρ
12< 0 or if ρ
12> 0 but σ
2/σ
1> ρ
12, then
∂σp2 ∂w1(w
1= 0) < 0 so I
should increase
w
1(i.e. buying
x
1).
– If
ρ
12> 0 but σ
2/σ
1< ρ
12, then
∂σp2∂w1
(w
1= 0) > 0 so I should
15.2.2
Case with
N assets
• Consider the following elements:
–
w = (w
1, w
2, . . . , w
N)
′: portfolio weights
–
x = (x
1, x
2, . . . , x
N)
′: asset returns
–
x = (¯
¯
x
1, ¯
x
2, . . . , ¯
x
N)
′: expected asset returns
– the variance matrix
Σ =
σ
12σ
12· · ·
σ
1Nσ
12σ
22· · ·
σ
2N..
.
..
.
. ..
..
.
σ
1Nσ
2N· · ·
σ
N2
–
x
p= w
′x: portfolio’s return
–
σ
2= w
′Σw: portfolio’s variance
• Define the following elements:
–
i: N × 1 vector of 1.
–
A = i
′Σ
−1¯
x
–
B = ¯
x
′Σ
−1¯
x
–
C = i
′Σ
−1i
–
D = BC − A
2(we can show that
D > 0)
• Show that
w
′• We want to characterize the mean-variance frontier (finding the
portfolio with the lowest variance for a given expected return)
• The problem is
min
w1
2
w
′Σw
subject to
i
′w = 1
¯
x
′w = µ
• This is a constrained optimization
L =
1
2
w
′Σw + γ(1 − i
′w) + λ(µ − ¯
x
′w)
• The FOCs are
∂L
∂w
=
∂L/∂w
1∂L/∂w
2..
.
∂L/∂w
N
= Σw − γi − λ¯
x = 0
(1)
∂L
∂γ
= 1 − i
′w = 0
(2)
∂L
∂λ
= µ − ¯
x
′w = 0
(3)
• From equation (1), we get
w
⋆= γΣ
−1i + λΣ
−1¯
x
• We need to solve for
γ and λ
• From equation (2), we know that
1 − i
′w
⋆= 0
1 − i
′[γΣ
−1i + λΣ
−1¯
x] = 0
1 − γi
′Σ
−1i − λi
′Σ
−1¯
x = 0
1 − γC − λA = 0
(4)
• From equation (3), we know that
µ − ¯
x
′w
⋆= 0
µ − ¯
x
′[γΣ
−1i + λΣ
−1¯
x] = 0
µ − γ ¯
x
′Σ
−1i − λ¯
x
′Σ
−1¯
x = 0
µ − γA − λB = 0
(5)
• We can solve (4) and (5) for
γ and λ. We get
λ =
Cµ − A
D
γ =
B − Aµ
D
• It follows that the optimal portfolio is
w
⋆=
B − Aµ
D
Σ
−1i +
Cµ − A
D
Σ
−1¯
x
=
BΣ
−1i
D
−
AΣ
−1¯
x
D
+
CΣ
−1¯
x
D
−
AΣ
−1i
D
µ
= g + hµ
where
g =
1
D
BΣ
−1i − AΣ
−1¯
x
h =
1
D
CΣ
−1¯
x − AΣ
−1i
• Variance of the portfolio when
w = w
⋆σ
p2= w
⋆′Σw
⋆= w
⋆′Σ(γΣ
−1i + λΣ
−1¯
x)
= w
⋆′γΣΣ
−1i + λΣΣ
−1¯
x
= w
⋆′[γi + λ¯
x]
= γ w
⋆′i
|{z}
=1+λ w
⋆′x
¯
|{z}
=µ= γ + λµ
=
B − Aµ
D
+
Cµ − A
D
µ
=
B − 2Aµ + Cµ
2D
⇒
parabola
0 0
Expected return and variance combination for ω=ω*
σ2
• We can find the global minimal variance
∂σ
p2∂µ
=
2Cµ − 2A
D
= 0
⇒
µ
g=
A
C
• What is this variance?
(σ
p2)
g=
B − 2A
AC+ C
CA2D
=
BC − 2A
2+ A
2CD
=
BC − A
2CD
=
1
C
0 0
Minimum variance portfolio
σ
2µ
A/C 1/C Efficient portfolios Inefficient portfolios• What is
γ and λ for this µ
g?
λ
g=
C
CA−
A
D
= 0
expected return constraint not binding
γ
g=
B − A
ACD
=
1
C
• What is the portfolio with minimum global variance?
w
g= γ
gΣ
−1i + λ
gΣ
−1¯
x
=
1
C
Σ
−1i + 0Σ
−1¯
x
=
1
C
Σ
−1i
=
Σ
−1i
i
′Σ
−1i
• If we go back to
w
⋆(optimal portfolio for a given expected return):
w
⋆= γΣ
−1i + λΣ
−1¯
x
= γC
Σ
−1i
C
|
{z
}
=wg+λA
Σ
−1¯
x
A
|
{z
}
=wdWe see that
w
⋆is a combination of:
– The portfolio with the lowest global variance but lowest expected
return (
w
g).
– A second portfolio (
w
d) that will increase expected return but will
• But what is
γC + λA?
γC + λA =
B − Aµ
D
C +
Cµ − A
D
A
=
BC − ACµ
D
+
ACµ − A
2D
=
BC − A
2D
= 1
15.3
Covariance properties of minimal variance
portfolios
•
w
ghas a covariance constant with every asset or portfolio (
= 1/C):
Cov(x
g, x
p) = E
w
′ g(x − ¯
x)(x − ¯
x)
′w
p= w
′ gE[(x − ¯
x)(x − ¯
x)
′]w
p= w
′ gΣw
p=
i
′Σ
−1C
Σw
p=
i
′w
pC
=
1
C
• Covariance of portfolio
w
dwith any other portfolio:
Cov(x
d, x
p) = E [w
′ d(x − ¯
x)(x − ¯
x)
′w
p]
= w
′ dΣw
p=
xΣ
¯
−1A
Σw
p=
xw
¯
pA
=
x
¯
pA
We see that the expected return of any portfolio will be proportional
to its covariance with
w
dsince
x
¯
p= A Cov(x
d, x
p).
• Consider a portfolio
a on the minimum variance frontier
(
w
a= (1 − a)w
g+ aw
d). What is the covariance between
a and
another portfolio
p?
Cov(x
a, x
p) = (1 − a)Cov(x
g, x
p) + aCov(x
d, x
p)
= (1 − a)
1
C
+ a
¯
x
pA
If
x
p= x
a, then
Cov(x
a, x
p) = V ar(x
a) =
1 − a
C
+
a
A
x
¯
aAs long as
a is not the minimum variance portfolio, it’s possible to
find a portfolio
z that has a zero covariance with a:
Cov(x
a, x
z) =
1 − a
C
+ a
¯
x
zA
= 0
⇒
x
¯
z=
a − 1
a
A
C
This is the expected return of a portfolio with zero covariance with
any portfolio on the minimum variance frontier.
• We saw previously that
V ar(x
a) =
1 − a
C
+
a
A
x
¯
a= −
a¯
x
zA
+
a
A
x
¯
ausing the result from previous slide
=
a
• Next, define
β
pa≡
Cov(x
a, x
p)
V ar(x
a)
• Using previous results
β
pa=
1−a C+
a Ax
¯
p a A(¯
x
a−
x
¯
z)
β
pa(¯
x
a−
x
¯
z) =
A
a
1 − a
C
+
a
A
x
¯
p=
A
a
(1 − a)A + aC ¯x
pCA
=
1 − a
a
A
C
|
{z
}
=−¯xz+¯
x
p¯
x
p= ¯
x
z+ β
pa(¯
x
a−
x
¯
z)
• The last equality is the CAPM equation without a risk-free asset.
• It is telling us that the expected return on any portfolio
p (i.e. ¯
x
p) is
equal to the expected return on a portfolio uncorrelated with portfolio
a (i.e. ¯
x
z) plus
β
patimes the excess return of
a over z.
Portfolio
a is a portfolio on the minimum variance frontier. Portfolio
z is a portfolio uncorrelated with portfolio a.
15.4
Introduction of a riskless asset
• Now assume there is one more asset. This asset is riskless and has a
risk-free rate
r
f.
• The problem is now
min
w1
2
w
′Σw
subject to
w
′¯
x + (1 − w
′i)r
f= µ
• We form the Lagrangian
L =
1
2
w
′Σw + λ(µ − w
′¯
x − (1 − w
′i)r
f)
• The FOCs are:
∂L
∂w
= Σw + λ(−¯
x + ir
f) = 0
(6)
∂L
∂λ
= µ − w
′¯
x − (1 − w
′i)r
f= 0
(7)
• In equation (6) we can solve for
w:
w
⋆= λΣ
−1• We can solve for
λ using equation (7):
µ = w
⋆′x + (1 − w
¯
⋆′i)r
fµ = [λΣ
−1(¯
x − ir
f)]
′¯
x + (1 − [λΣ
−1(¯
x − ir
f)]
′i)r
fµ = λ(¯
x
′−
r
fi
′)Σ
−1x + (1 − λ(¯
¯
x
′−
r
fi
′Σ
−1i))r
fµ = λ(¯
x
′Σ
−1¯
x − r
fi
′Σ
−1¯
x) + r
f−
λ(¯
x
′Σ
−1i − r
fi
′Σ
−1i)r
fµ = λ(B − r
fA) + r
f−
λ(A − r
fC)r
fµ − r
f= λ(B − 2Ar
f+ Cr
f2)
λ =
µ − r
fH
(9)
where
H = B − 2Ar
f+ Cr
f2• Equation (9) into equation (8):
w
⋆= Σ
−1(¯
x − ir
f)
µ − r
fH
• The variance of this portfolio is
σ
p2= w
⋆′Σw
⋆= w
⋆′Σ
Σ
−1(¯
x − ir
f)
µ − r
fH
= w
⋆′(¯
x − ir
f)
µ − r
fH
= (w
⋆′x
¯
|{z}
=µ−
w
⋆′i
|{z}
=1r
f)
(µ − r
f)
H
=
(µ − r
f)
2H
0 0
Expected return and variance combination with a riskless asset
σ2
• Recall the parabola when we have
N risky assets:
σ
p2=
B − 2Aµ + Cµ
2D
0 0Minimum variance portfolio
σ2 µ µg = A/C 1/C Efficient portfolios Inefficient portfolios
• In the
µ − σ plane we get
0 0
Expected return and standard deviation combination
σ
µ
A/C
• It can be argued that in equilibrium we should have
r
f< A/C
0 0
Expected return and standard deviation combination
σ µ A/C 1/2 r f
• If we create a portfolio by combining the risk-free asset with a
portfolio
b on the frontier, we could get the following combination of
µ and σ
0 0
Expected return and standard deviation combination
σ µ A/C 1/C1/2 r f b
• The portfolio
x
bwould not be optimal. It is possible to get a higher
µ
for the same
σ by switching from b to m (a portfolio that is tangent)
0 0
Expected return and standard deviation combination
σ µ A/C 1/C1/2 r f m