AuthorJing Wu2018-06-12

Introduction

The Modern Portfolio Theory (MPT) suggests how investors should spread their wealth across various assets to minimize risk and maximize return.

This chapter is mathematically intense, so don't feel demoralized if you don't understand it on your first reading.

Risk Aversion

In portfolio theory, the riskiness of an asset is often measured by the variance (or standard deviation) of its returns. Risk-averse investors do not want their wealth to fluctuate wildly.

Risk aversion can be illustrated with a simple example. Which of the following assets do you prefer?

  • Asset A pays $200 or $0 with 50% probability each.
  • Asset B pays $400 or −$200 (i.e. you lose $200) with 50% probability each.

The expected payouts of A and B are:

The standard deviation of their payouts are:

If you are an risk seeker, you may choose asset B, because you can potentially get a higher payout. MPT assumes that investors prefer asset A since both assets have the same expected payout, but asset A has less risk.

Portfolio

Suppose we invest some fraction of our wealth in n risky assets (labelled 1 to n), and the remainder in a riskless asset such as cash in a bank account.

Clearly since our wealth comprises all those assets.

Let be the respective asset returns, then our portfolio return is

Alternatively, we can eliminate to get

Our expected portfolio return is

Note that since the riskless return is known with certainty, by definition.

Correlation

Before computing portfolio risk, we need to first understand covariance and correlation. They measure the linear relationship between two random variables.

The covariance of two random variables X and Y is defined as

The correlation of X and Y, which is always between −1 and 1, is their covariance after being standardized:

Risk

Now we are ready to compute portfolio risk, as measured by the variance of portfolio returns:

Recall that if c is a known constant, so the term involving the riskless return can be omitted. It will be convenient to use sigma notation:

So we have a squared sum of n terms. How do we expand it?

If we expand the brackets on the right hand side, every term has the form where i and j can be 1, 2, ... , or n.

Therefore

The last step arises from the definition of covariance. The only thing left is to express portfolio risk in matrix notation:

where

Intuition

How can we make sense of portfolio risk? Consider a simple case with a riskless asset and only n = 2 risky assets.

Portfolio risk can be reduced by choosing two assets that are negatively correlated. This is the benefit of diversification.

Mean-Variance Analysis

We now try to find a portfolio that minimizes risk and maximizes return.

The chart below has risk (standard deviation of returns) on the horizontal axis and expected return on the vertical axis. The 10 black points represent individual stocks, while each green / blue point is a portfolio of stocks:

CAPM portfolio1

Notice that all points (i.e. stocks and portfolios) are enclosed by a hyperbola, known as the efficient frontier.

All portfolios on the efficient frontier have the maximum expected return for a given level of risk, if we only consider portfolios of risky stocks. Can we achieve higher returns by including a riskless asset? Yes.

Capital Market Line

The black line on the chart is the Capital Market Line (CML). It is tangent to the efficient frontier and cuts the vertical axis at the riskfree return. The point of tangency represents the so-called market portfolio.

Every point on the CML represents a portfolio comprising the market portfolio and riskless asset in some proportion. Why?

Suppose some fraction w of a CML portfolio is the market portfolio, and the remainder (1 − w) is the riskless asset. Then its expected return is

Since there is only n = 1 risky asset, the variance of the CML portfolio return is

Taking square roots, we deduce that a CML portfolio's risk is proportional to the market portfolio's weight:

This equation can be used to eliminate w in the calculation of expected return:

This proves that when is plotted against , we will obtain a straight line: the CML.

Portfolio Selection

Why is the CML significant? For any given level of risk, CML portfolios have a higher return than those on the efficient frontier, so investors should select any of them according to their risk tolerance.

Risk-averse investors may give the riskless asset a larger weight in their portfolio. Risk-seeking investors may borrow money (i.e. sell the riskless asset) to invest >100% of their wealth in the market portfolio.

Regardless of their risk tolerances, all investors should hold the same stocks in the same proportion in the market portfolio. In other words, they should not pick stocks according to their risk tolerance.

Diversification

What happens to the efficient frontier and hence the CML if we have only 3 stocks (IBM, GE, and PFE) instead of 10?

CAPM portfolio2

Since we have fewer stocks to choose from, it's not too surprising that our maximum expected return is lower for any level of risk. This demonstrates why diversification is often said to be a "free lunch" in investing.

Summary

In this chapter we have learnt about the modern portfolio theory. It recommends investors to spread their wealth across many asset classes to maximize returns while minimizing risk. In the next chapter, we will introduce the Capital Asset Pricing Model.

Algorithm

Mean-variance analysis is used to optimize portfolios with several strategies. Here we treat Dow 30 stocks as strategy and designed an algorithm to test mean-variance analysis:




QuantConnect Logo

Try the world leading quantitative analysis platform today

Sign Up

Previous: Linear Algebra Next: Market Risk