Topic 1
Topic 1
CONSTRUCTION
THEORY
Laurent E. Calvet
Topic 1
The role of portfolio management
15/10/2022 2
Portfolio management in 3 steps
• Asset pricing models (e.g., the CAPM) are useful to infer future returns.
15/10/2022 3
Portfolio management in 3 steps
15/10/2022 4
Course outline
Portfolio choice
• Markowitz model
Performance evaluation
15/10/2022 5
Schedule
• Lecture 1: Sept 5-6, 2022
+ 3 Tutorials
15/10/2022 6
Instructors
15/10/2022 7
Grading and references
Grading
• 70% final exam (closed-book exam)
• 30% tutorials
15/10/2022 8
Topic 1: Mean-variance analysis
15/10/2022 9
Asset returns
The total return accounts for capital gains (return attributed to price
movements) and income (dividend payments):
15/10/2022 10
Adjusted prices
Working with time series of dividends, along with the time series of prices,
can be inconvenient. For this reason, some data providers (for example
Yahoo! Finance) also report the time series of adjusted prices.
Adjusted prices (𝑨𝒅𝒋𝑷𝒕 ) are fictitious and account for dividend payments.
They are defined by:
𝐴𝑑𝑗𝑃" 𝑃" + 𝐷𝑖𝑣 "#$;"
=
𝐴𝑑𝑗𝑃"#$ 𝑃"#$
15/10/2022 11
Example
15/10/2022 12
Mean return
• We observe the historical returns 𝑅$ , 𝑅' ,…, 𝑅! of an asset.
• We assume that the expected return (that is, the population
mean of the return distribution) is time invariant.
• The expected value on a future single-period return, 𝑅!($ ,
can be estimated by the arithmetic average of historical
returns:
!
1
𝑅5 = 6 𝑅" → E 𝑅$
𝑇
")$
15/10/2022 13
Mean return (cont.)
The arithmetic mean of arithmetic returns is often annualized, by multiplying
the return average with the frequency (number of periods / year) of the data:
(
𝑓
𝐴𝑛𝑛𝑅 = ' 𝑅%
𝑇
%&'
Typical values for 𝑓 are:
• Daily data: 𝑓 = 252 (average number of US trading days in a calendar year: 52
weeks x 5 trading days/week - 8 public holidays)
• Weekly data: 𝑓 = 52
• Monthly data: 𝑓 = 12
• Annual data: 𝑓 = 1 (no annualization needed!)
• Knowing that the returns of a security have the value 𝑅* with a probability
𝑝* (𝑖 = 1, … , 𝑁), the variance of returns is given by:
+
𝜎 ) 𝑅 = Var 𝑅 = E 𝑅 − E 𝑅 ) = ' 𝑝* 𝑅* − E 𝑅 ),
*&'
where:
+
E 𝑅 = ' 𝑝* 𝑅* .
*&'
• The standard deviation (or volatility) is the square root of the variance:
𝜎 𝑅 = Std 𝑅 = Var 𝑅
15/10/2022 15
Historical volatility
Given the time series of historical returns, 𝑅" ( 𝑡 = 1, … , 𝑇 ), an
estimator of volatility, called historical volatility, is given by the
sample standard deviation of historical returns:
!
1 '
𝜎; 𝑅" = 6 𝑅" − 𝑅"
𝑇−1
")$
where:
!
1
𝑅" = 6 𝑅"
𝑇
")$
15/10/2022 16
Historical volatility: Annualization
• Historical volatility is often annualized.
𝐴𝑛𝑛𝜎7 𝑅% = 𝜎7 𝑅% 8 𝑓
15/10/2022 17
Return on
a portfolio of assets
15/10/2022 18
Covariance and correlation of returns
• When building portfolios, we are not just interested in the distribution of the returns
of each individual asset. We need information on the joint distribution of returns.
• Assume that the returns on two assets, 𝑅' and 𝑅) , take the joint values 𝑅',* , 𝑅),*
with a probability 𝑝* (𝑖 = 1, … , 𝑁).
15/10/2022 19
Historical covariance and correlation
• We observe the historical returns 𝑅$," and 𝑅'," (𝑡 = 1, … , 𝑇 ) on two
assets.
15/10/2022 20
Variance-covariance matrix
15/10/2022 21
Return on a portfolio of assets
Consider a portfolio 𝑃 of 𝑁 assets:
15/10/2022 22
Return on a portfolio of assets (cont.)
• We stack returns and weights into column vectors of size 𝑁:
𝑅',% 𝑤',%-'
𝑅 𝑤),%-'
𝑹% = ),% , 𝒘%-' = ⋮
⋮
𝑅+,% 𝑤+,%-'
15/10/2022 23
Portfolio of 2 assets
Consider a portfolio 𝑃 of 2 assets with the following characteristics:
• Expected returns: 𝜇' = E 𝑅' and 𝜇) = E 𝑅)
• Standard deviations of returns: 𝜎' = Std 𝑅' and 𝜎) = Std 𝑅)
• Covariance of returns: 𝜎') = Cov 𝑅' , 𝑅)
• Correlation of returns: 𝜌') = Corr 𝑅' , 𝑅) = !!"#
!
" #
with
2 risky assets
15/10/2022 26
The Markowitz model (1952)
The model is based on the following hypotheses.
15/10/2022 27
Markowitz model with 2 assets
• We consider a portfolio of two assets, with respective weights 𝑤$ and 𝑤' .
• Because of the portfolio constraint, 𝑤$ + 𝑤' = 1, there is only one degree of
freedom for the choice of the weights:
𝑤' = 1 − 𝑤$
𝜇. 𝑤$ = 𝑤$ 𝜇$ + 1 − 𝑤$ 𝜇'
15/10/2022 28
Special case: perfect correlation
The variance of the portfolio is:
𝜎.' 𝑤$ = 𝑤$' 𝜎$' + 1 − 𝑤$ ' 𝜎'' + 2𝑤$ 1 − 𝑤$ 𝜎$ 𝜎' 𝜌$'
Assume for now that only long positions are allowed, 0 ≤ 𝑤$ , 𝑤' ≤ 1.
The correlation between the returns of the two assets, 𝜌$' , plays a key role in
the risk-return characteristics of the portfolio. Two particular values are:
• 𝜌$' = +1: perfect positive correlation,
• 𝜌$' = −1: perfect negative correlation.
In these two cases, the portfolio variance 𝜎.' 𝑤$ can be written as the square
of a binomial: 𝑎 ± 𝑏 ' = 𝑎' + 𝑏 ' ± 2𝑎𝑏.
15/10/2022 29
Perfect positive correlation
• When 𝜌$' = +1, the portfolio variance simplifies to:
15/10/2022 30
Perfect positive correlation (cont.)
Expected return and volatility are
both linear in 𝑤$ . 𝜇$
𝜎3 − 𝜎)
𝜇3 = 𝜇) + 𝜇' − 𝜇)
𝜎' − 𝜎)
15/10/2022 31
Perfect negative correlation
• If 𝜌$' = −1, the portfolio variance can be rewritten as:
𝜎3) 𝑤' = 𝑤' 𝜎' − 1 − 𝑤' 𝜎) )
15/10/2022 32
Perfect negative correlation (cont.)
When 𝜌$' = −1, we have:
𝜇$
𝜎$ + 𝜎"
𝜇" + 𝜇 − 𝜇" , 𝜇$ ≥ 𝜇)$
𝜎# + 𝜎" # 𝜇#
𝜇$ = 𝜎$ − 𝜎" 𝑆#
𝜇" − 𝜇 − 𝜇" , 𝜇$ < 𝜇)$
𝜎# + 𝜎" #
𝜇)$
6% 𝜇" 𝑆"
where 𝜇S. = 𝜇' + 𝜇$ − 𝜇' .
6! (6%
𝜎" 𝜎# 𝜎$
15/10/2022 33
Imperfectly correlated assets
We stick to a situation where short sales are not allowed: 0 ≤ 𝑤$ , 𝑤' ≤ 1.
When assets are imperfectly correlated, the return/volatility curve is a
hyperbola contained between the segments obtained for 𝜌$' = −1 and 𝜌$' = 1.
𝜇$
We obtain the equation of the hyperbola
by solving for 𝑤$ in the first equation
below and substituting it into the second
𝑆# equation.
𝜇#
𝜇)$ 𝜇$ = 𝑤# 𝜇# + 1 − 𝑤# 𝜇"
+
𝜎$" = 𝑤#" 𝜎#" + 1 − 𝑤# " 𝜎"" + 2𝑤# 1 − 𝑤# 𝜎# 𝜎" 𝜌#"
𝜇"
𝑆"
Try it!
𝜎" 𝜎# 𝜎$
15/10/2022 34
Example: Diversification effect
15/10/2022 35
Minimum variance portfolio
We compute the weight 𝑤$ that minimizes the portfolio variance 𝜎.' 𝑤$ :
d𝜎.' 𝑤$
= 2𝑤$ 𝜎$' − 2 1 − 𝑤$ 𝜎'' + 2 1 − 2𝑤$ 𝜎$ 𝜎' 𝜌$' = 0
d𝑤$
15/10/2022 36
Markowitz model
with
N risky assets
15/10/2022 37
General problem
• Consider an individual who can invest in 𝑁 assets, for which the vector of
expected returns 𝛍 and the covariance matrix 𝚺 are known.
15/10/2022 38
Analytical solution
The agent solves:
min w¢Σw Variance
w
minimization
s.t.
Target portfolio
w¢μ = µ and w¢1 = 1 Portfolio
expected return
constraint
15/10/2022 40
Proof (optional)
The investor minimizes 𝒘- 𝚺𝒘 subject to the constraints 𝒘′𝝁 = 𝜇̅ and 𝒘- 𝟏 = 1.
15/10/2022 41
Proof (optional)
Substitute 𝒘∗ into the constraints 𝒘- 𝝁 = 𝜇̅ and 𝒘- 𝟏 = 1:
𝜆 - #$ 𝜙 - #$
𝝁 𝚺 𝝁 + 𝝁 𝚺 𝟏 = 𝜇̅
2 2
𝜆 - #$ 𝜙 - #$
𝟏 𝚺 𝝁+ 𝟏 𝚺 𝟏=1
2 2
𝜆 𝑎, 𝜇̅ − 𝑎' 𝜙 𝑎$ − 𝑎' 𝜇̅
= ' , =
2 𝑎$ 𝑎, − 𝑎' 2 𝑎$ 𝑎, − 𝑎''
where:
𝑎$ = 𝝁- 𝚺 #$ 𝝁, 𝑎' = 𝝁- 𝚺 #$ 𝟏, 𝑎, = 𝟏- 𝚺 #$ 𝟏
15/10/2022 42
Minimum variance portfolio: Example
• In general, 𝑤
a$ , 𝑤
a' , and 𝑤
a, do NOT add up to 1. They are rescaled to form
the mean-variance frontier portfolio, so that, once they are added to the
rescaled performance-seeking portfolio, the total weights add up to 1.
• When assets are correlated, the expressions for the portfolio weights are
more complicated.
15/10/2022 44
Performance-seeking portfolio
Consider the continued example of 3 uncorrelated assets,
with volatilities 𝜎$ , 𝜎' , 𝜎, , and expected returns 𝜇$ , 𝜇' , 𝜇, :
1 𝜇!
0 0
𝜎!" 𝜎!"
𝜇! 𝜇"
1
. = 𝚺 '! 𝝁 = 0
𝒘 0 𝜇" = "
𝜎"" 𝜇( 𝜎"
1 𝜇(
0 0 𝜎("
𝜎("
15/10/2022 45
Performance-seeking portfolio (cont.)
:! :% :&
• The three weights are thus 𝑤
a$ = , 𝑤
a' = , 𝑤
a, = .
6!% 6%% 6&%
15/10/2022 46
Mean-variance efficient frontier
We want to determine the equation of the mean-variance portfolio frontier.
The optimal portfolio weights 𝒘∗ is a function of the target portfolio return 𝜇.̅
Compute the portfolio variance. After some simple calculations:
𝑎 𝜇̅ ) − 2𝑎 𝜇̅ + 𝑎
8 ) '
𝜎3) = 𝒘∗ 4 𝚺𝒘∗ =
𝑎' 𝑎8 − 𝑎))
The portfolio variance 𝜎.' is a quadratic function of the target return 𝜇.̅
In the volatility 𝜎. - return 𝜇̅ space, the efficient frontier is a hyperbola.
𝜇̅
𝜎$
15/10/2022 47
Additional trading constraints
• Until now, the investor can take any (long or short) position.
• Often the investor faces constraints on the positions they can take.
15/10/2022 48
Additional trading constraints (cont.)
• These constraints are incorporated in the mean-variance optimization
problem.
• In the tutorial, you will learn how to compute the numerical solution.
15/10/2022 49
Effect of short-sales constraints
• We illustrate below the mean-variance frontier of a set of commodities with long-
only positions.
• The effect of weight constraints is in general to reduce ex-ante efficiency
(based on expected return and variance), which is why the long-only frontier is
“inside” the unconstrained frontier.
• The endpoints of the long-only solution correspond to the asset with the lowest
return and the asset with the highest return.
15/10/2022 50
Markowitz model:
Practical issues
15/10/2022 51
In-sample vs. out-of-sample analysis
Example
• You observe the monthly returns on 20 stocks over the 2001 to 2020
period (20 years).
15/10/2022 52
In-sample vs. out-of-sample analysis
• If you estimate the vector of parameters Θ using data after Jan 2011:
- You are using information unavailable to a real-world investor to
build your portfolio, thus performing an in-sample analysis.
- This produces a look-ahead bias.
15/10/2022 53
Backtesting
15/10/2022 54
Parameter uncertainty
• Asset return parameters can be inferred:
- from past data
- from expert views
15/10/2022 55
Parameter uncertainty
• The academic literature has analyzed the impact of estimation error in
different portfolio models.
Chopra and Ziemba (1993), Kan and Zhou (2007), DeMiguel, Garlappi and
Uppal (2009)
15/10/2022 56
Practice Questions
15/10/2022 57
Problem 1
Distribution of return on Stock XYZ
n Rate of Probability of
Return Occurrence
1 12% 0.18
2 10% 0.24
3 8% 0.29
4 4% 0.16
5 -4% 0.13
Total 1.00
15/10/2022 58
Solution to Problem 1
E(RXYZ) = 0.18*12% + 0.24*10% + 0.29*8% + 0.16*4% + 0.13*(-4%) = 7%
n Rate of Probability of
Return Occurrence
1 12% 0.18
2 10% 0.24
3 8% 0.29
4 4% 0.16
5 -4% 0.13
Total 1.00
15/10/2022 59
Problem 2
Consider stocks XYZ and ABC
15/10/2022 60
Solution to Problem 2
n Rate of Probability of E(RXYZ) = 7%
Return Occurrence
E(RABC) = 10%
1 12% 0.18
Var(RXYZ) = 24.12%%
2 10% 0.24
Var(RABC) = 53.64%%
3 8% 0.29
4 4% 0.16
5 -4% 0.13
Total 1.00
15/10/2022 61