MeanVariance CAPM
MeanVariance CAPM
Figure 1: Sample Portfolios and the Efficient Frontier (without a Riskfree Security).
subject to w0 µ = p
and w0 1 = 1.
Note that the specific value of p will depend on the risk aversion of the investor. This is a simple quadratic
optimization problem and it can be solved via standard Lagrange multiplier methods.
When we plot the mean portfolio return, p, against the corresponding minimal portfolio volatility / standard
deviation we obtain the so-called portfolio frontier. We can also identify the portfolio having minimal variance
among all risky portfolios: this is called the minimum variance portfolio. The points on the portfolio frontier
with expected returns greater than the minimum variance portfolio’s expected return, R̄mv say, are said to lie on
the efficient frontier. The efficient frontier is plotted as the upper blue curve in Figure 1 ar alternatively, the blue
curve in Figure 2.
Exercise 2 Let w1 and w2 be (mean-variance) efficient portfolios corresponding to expected returns r1 and
r2 , respectively, with r1 6= r2 . Show that all efficient portfolios can be obtained as linear combinations of w1
and w2 .
Exercise 3 Without using (5) show that the efficient frontier is indeed a straight line as described above.
Hint: consider forming a portfolio of the risk-free security with any risky security or risky portfolio. Show that
the mean and standard deviation of the portfolio varies linearly with α where α is the weight on the
risk-free-security. The conclusion should now be clear.
The Sharpe ratio of a portfolio (or security) is the ratio of the expected excess return of the portfolio to the
portfolio’s volatility. The Sharpe optimal portfolio is the portfolio with maximum Sharpe ratio. It is
straightforward to see in our mean-variance framework (with a risk-free security) that the tangency portfolio,
w∗ , is the Sharpe optimal portfolio.
and sector constraints. While analytic solutions are generally no longer available, the resulting problems are still
easy to solve numerically. In particular, we can still determine the efficient frontier.
Consider Figure 3, for example, where we have plotted the same efficient frontier (of risky securities) as in
Figure 2. In practice, investors can never compute this frontier since they do not know the true mean
vector and covariance matrix of returns. The best we can hope to do is to approximate it. But how might
we do this? One approach would be to simply estimate the mean vector and covariance matrix using
historical data. Each of the black dashed curves in Figure 3 is an estimated frontier that we computed by:
(i) simulating m = 24 sample returns from the true (in this case, multivariate normal) distribution (ii)
estimating the mean vector and covariance matrix from this simulated data and (iii) using these estimates
to generate the (estimated) frontier. Note that the blue curve in Figure 3 is the true frontier computed
using the true mean vector and covariance matrix.
The first observation is that the estimated frontiers are quite random and can differ greatly from the true
frontier. They may lie below or above the true frontier or they may cross it and an investor who uses such
an estimated frontier to make investment decisions may end up choosing a poor portfolio. How poor? The
dashed red curves in Figure 3 are the realized frontiers that depict the true portfolio mean - volatility
tradeoff that results from making decisions based on the estimated frontiers. In contrast to the estimated
frontiers, the realized frontiers must always (why?) lie below the true frontier. In Figure 3 some of the
realized frontiers lie very close to the true frontier and so in these cases an investor would do very well.
But in other cases the realized frontier is far from the (generally unobtainable) true efficient frontier.
These examples serve to highlight the importance of estimation errors in any asset allocation procedure.
Note also that if we had assumed a heavy-tailed distribution for the true distribution of portfolio returns
then we might expect to see an even greater variety of sample mean-standard deviation frontiers. In
addition, it is worth emphasizing that in practice we may not have as many as 24 relevant observations
available. For example, if our data observations are weekly returns, then using 24 of them to estimate the
joint distribution of returns is hardly a good idea since we are generally more concerned with estimating
Mean-Variance Optimization and the CAPM 5
conditional return distributions and so more weight should be given to more recent returns. A more
sophisticated estimation approach should therefore be used in practice. More generally, it must be stated
that estimating expected returns using historical data is very problematic and is not advisable!
2. The portfolio weights tend to be extremely sensitive to very small changes in the expected returns. For
example, even a small increase in the expected return of just one asset can dramatically alter the optimal
composition of the entire portfolio. Indeed let w and wb denote the true optimal and estimated optimal
portfolios, respectively, corresponding to the true mean return vector, µ, and the sample mean return
vector, µ
b, respectively. Then Best and Grauer (1991) showed that
1 γmax
||w − w||
b ≤ ξ ||µ − µ b|| 1+
γmin γmin
where γmax and γmin are the largest and smallest eigen values, respectively, of the covariance matrix, Σ.
Therefore the sensitivity of the portfolio weights to errors in the mean return vector grows as the ratio
γmax /γmin grows. But this ratio, when applied to the estimated covariance matrix, Σ, b typically becomes
large as the number of asset increases and the number of sample observations is held fixed. As a result,
we can expect large errors for large portfolios with relatively few observations.
3. While it is commonly believed that errors in the estimated means are of much greater significance, errors
in estimated covariance matrices can also have considerable impact. While it is generally easier to
estimate covariances than means, the presence of heavy tails in the return distributions can result in
significant errors in covariance estimates as well. These problems can be mitigated to varying extents
through the use of more robust estimation techniques.
As a result of these weaknesses, portfolio managers traditionally have had little confidence in mean-variance
analysis and therefore applied it very rarely in practice. Efforts to overcome these problems include the use of
better estimation techniques such as the use of shrinkage estimators, robust estimators and Bayesian techniques
such as the Black-Litterman framework introduced in the early 1990’s. (In addition to mitigating the problem of
extreme portfolios, the Black-Litterman framework allows users to specify their own subjective views on the
market in a consistent and tractable manner.) Many of these techniques are now used routinely in general asset
allocation settings. It is worth mentioning that the problem of extreme portfolios can also be mitigated in part
by placing no short-sales and / or no-borrowing constraints on the portfolio.
In Figure 4 above we have shown an estimated frontier that was computed using a more robust estimation
procedure. We see that it lies much closer to the true frontier which is also the case with it’s corresponding
realized frontier.
Therefore at α = 0 this curve must be tangent to the capital market line. Therefore the slope of the curve at
Mean-Variance Optimization and the CAPM 7
α = 0 must equal the slope of the capital market line. Using (7) and (8) we see the former slope is given by
d E[Rα ] d E[Rα ] d σRα
=
d σRα α=0 dα d α α=0
σRα R̄ − R̄m
=
2 − (1 − α)σ 2
ασR Rm + (1 − 2α)σR,Rm α=0
σRm R̄ − R̄m
= 2 . (9)
−σR m
+ σR,Rm
The slope of the capital market line is R̄m − rf /σRm and equating the two therefore yields
σRm R̄ − R̄m R̄m − rf
2 = (10)
−σR m
+ σR,R m
σRm
Exercise 5 Why does the CAPM result not contradict the mean-variance problem formulation where investors
do measure a portfolio’s risk by its variance?
The CAPM is an example of a so-called 1-factor model with the market return playing the role of the single
factor. Other factor models can have more than one factor. For example, the Fama-French model has three
factors, one of which is the market return. Many empirical research papers have been written to test the CAPM.
Such papers usually perform regressions of the form
Ri − rf = αi + βi (Rm − rf ) + i (11)
where αi (not to be confused with the α we used in the proof of (6)) is the intercept and i is the idiosyncratic
or residual risk which is assumed to be independent of Rm and the idiosyncratic risk of other securities. If the
CAPM holds then we should be able to reject the hypothesis that αi 6= 0. The evidence in favor of the CAPM is
mixed. But the language inspired by the CAPM is now found throughout finance. For example, we use β’s to
denote factor loadings and α’s to denote excess returns even in non-CAPM settings.