Machine Learning for Trading--2-4 The Capital Assets Pricing Model (CAPM)

  • Definition of a portfolio
  • The market portfolio
  • The CAPM equation
  • CAPM vs. Active management
  • CAPM for portfolios
  • Implications of CAPM
  • Arbitrage Pricing Theory

Definition of a portfolio

A portfolio is a weighted set of assets. We can stipulate that the sum of the weights of each investment equals one; in other words, our portfolio allocations must add to 100%.

However, not all weights need to be positive. For example, if we short GOOG, our allocation might be -0.2 instead of 0.2.

For a given day, t, we can calculate the daily return of the portfolio, \(r_p(t)\), as the weighted sum of the daily returns of each of the assets on day t.

portfolio

Portfolio return quiz

Consider a portfolio consisting of two stocks: Stock A and Stock B. 75% of the portfolio is in Stock A, and -25% of the portfolio is in Stock B; in other words, the portfolio has taken a short position in Stock B.

Assume that, today, the price of Stock A increases by 1%, while the price of Stock B decreases by 2%. What is the return on this portfolio?

quiz

The market portfolio

When someone refers to “the market”, what they are usually referring to is an index that broadly covers a large set of stocks.

The best example of such an index in the United States is the S&P 500, which represents the 500 largest companies traded on stock exchanges. The value of the S&P 500 changes each day as a result of stock price fluctuations among its constituent companies.

There are similar stock market indices in other countries, such as FTA in the United Kingdom and TOPIX in Japan. Additionally, there are specialized indices that track companies only within specific industries, such as healthcare or technology.

Stock market indices are composed of many individual stocks, and the market portfolio is the combination of those stocks according to a particular weighting. Most indices are capitalization-weighted, which means that the individual weight of each stock in the portfolio is proportional to that stock’s market capitalization.

portfolio

The CAPM equation

The core of the capital assets pricing model (CAPM) is captured in the following equation.

CAPM

\(r\) is the return; i reprsent the individual stock i; t is the particular day, \(\beta\) and \(\alpha\) is stock-specific factors; \(r_m\) is the return on the market.

  • Remember that when we are talking about the market, we are explicitly talking about a stock market index, such as the S&P 500, of which stock i is a member.
  • The \(\beta\) factor encapsulates the extent to which the market affects a particular stock. Many stocks have a \(\beta\) near 1, which means that when the market moves 1%, the stock also moves 1%. A larger \(\beta\) indicates that a stock moves more than 1% when the market moves 1%.
  • If we try to compute the historical return for a particular stock based solely on the market return and \(\beta\), we won’t calculate the correct value. There is going to be something “left over”. The \(\alpha\) component of the CAPM equation captures this residual.
  • A crucial assertion of CAPM is that the expectation for \(\alpha\) is 0. Technically, \(\alpha\) is a random variable with an expected value of 0.
  • For each day, it looks like XYZ is more reactive than the S&P 500; in other words, when the S&P 500 goes up a little bit, XYZ goes up a lot. Additionally, XYZ appears to have a higher absolute return, on average, than the S&P 500. We can create a scatterplot of the returns for XYZ against the returns for the S&P 500.
  • Like any line, the line above can be described by two parameters: slope and y-intercept. The slope is \(\beta\), and the y-intercept is \(\alpha\).

Compare alpha and beta quiz

Consider the following two scatterplots. The plot on the left shows the daily returns of a fictional stock XYZ against the daily returns of the S&P 500. The plot on the right shows the daily returns of a fictional stock ABC against the daily returns of the S&P 500.

Given these two plots, which asset has a higher \(\alpha\) and which has a higher \(\beta\)?

quiz

CAPM vs. Active management

Passive investing advises investors to buy an index portfolio - for example, an ETF like SPY that tracks the S&P 500 - and hold it and let it grow.
Active investing, on the other hand, is all about picking individual stocks.

CAPM vs. Active management

  • Both active managers and passive managers agree with the first part of this equation; in other words, they agree that how a stock moves each day is most significantly influenced by the market, and the amount that it moves can be captured by \(\beta\) .
  • However, they disagree concerning the treatment of the \(\alpha\) factor. Remember that CAPM says two essential things about \(\alpha\): it’s random, and it’s expected value is zero. Passive investors agree with CAPM.
  • Active managers, on the other hand, believe that \(\alpha\) is neither random nor centered around zero. They think that they can examine stocks and predict which are going to rise or fall relative to the market. They might not be exactly right on every single pick, but they believe that, on average, they are better than random and better than zero.

CAPM for portfolios

Suppose now that instead of looking at just one stock, we want to consider an entire portfolio.

We can calculate the \(\beta\) for the overall portfolio, \(\beta_p\), as the weighted sum of the individual \(\beta\) values for each stock.

CAPM for portfolios

CAPM: the expected value of \(\alpha\) is zero.

Active portfolio manager: doesn’t believe the \(\alpha\) is a random variable centered at zero. As a result, they incorporate the weighted sum of individual stock \(\alpha\) values into the \(r_p(t)\) calculation.

Implications of CAPM Quiz

If we are in an upward market, do we want a portfolio with a larger \(\beta_p\) or a smaller \(\beta_p\)? How about if we are in a downward market?

Quiz

Implications of CAPM

  • The first point to remember is that CAPM says that \(\alpha\) is a random variable with an expected value of zero. This assertion excludes smart \(\alpha\) selection from our toolbox of ways to make money.
  • The only way we can beat the market now is by cleverly choosing \(\beta\). When the market is going up, we want to invest in a portfolio with a large \(\beta\). When the market is going down, we want to invest in a portfolio with a small, even negative, \(\beta\).
  • Unfortunately, the efficient markets hypothesis - which we are going to cover soon - essentially says that you can’t predict the market. As a result, the strategy of switching into portfolios with optimal \(\beta\) values based on expected market performance falls flat.
  • If we believe CAPM, then we must concede that we cannot beat the market. Professor Balch does not believe CAPM.

Implications of CAPM

Arbitrage Pricing Theory

The classical value of \(\beta\) relates the performance of a stock to the performance of the entire stock market. However, researchers realized that, since a particular stock might have exposure to multiple sectors of the market, perhaps it ought to have a \(\beta\) value relating its performance to that of each sector. This is known as arbitrage pricing theory (APT).

For example, a particular stock, i, might have exposure to the financial sector, F, so we could compute the component of return for i due to F as the product of \(\beta_iF\) and the return \(rF\)for F for that day.

We can continue this process, computing an individual \(\beta\) for each sector that impacts the stock. By breaking out the overall \(\beta\) into these sector components, we can get a more accurate forecast of returns.

APT

您的支持将鼓励我继续创作