11 minute read
A portfolio is a weighted set of assets.
Let's suppose we have a portfolio of three different assets: Apple (AAPL), Google (GOOG), and Oracle (ORCL). Let's also assume that we have allocated 60% of the portfolio to APPL, and 20% each to GOOG and ORCL.
If we consider these allocations as a set of weights instead of percentages, we would say that our AAPL position has a weight of 0.6, while our GOOG and ORCL positions each have a weight of 0.2.
We can stipulate that the sum of the weights of each investment equals one; in other words, our portfolio allocations must add to 100%. Formally, given investments, where represents the weight of the investment in asset ,
However, not all weights need to be positive. For example, if we short GOOG, our allocation might be -0.2 instead of 0.2. We can refine the constraint above as follows.
For a given day, , we can calculate the daily return of the portfolio, , as the weighted sum of the daily returns of each of the assets on day .
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?
Remember the formula to calculate portfolio return.
If we plug in the weights and returns for Stock A and Stock B, we can compute a portfolio return of 1.25%.
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.
Formally, given a total market capitalization of all of the stocks in the index, the weight of an individual stock with a market capitalization of is
Some stocks have surprisingly large weightings. For example, Apple and Exxon each comprise about 5% of the S&P 500, and the 10 largest companies account for over 20% of the performance of the index. Smaller stocks may comprise only one-tenth of one percent.
The core of the capital assets pricing model (CAPM) is captured in the following equation.
The return, , for an individual stock, , on a particular day, , is equal to some stock-specific factor, , times the return on the market, , plus another stock-specific factor, .
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 is a member.
Looking at the equation above, we see that the capital assets pricing model asserts that a significant portion of the return for a particular stock is due to the market. In other words, the movement of the market strongly affects the price of every individual stock in that market.
The factor encapsulates the extent to which the market affects a particular stock. Many stocks have a near 1, which means that when the market moves 1%, the stock also moves 1%. A larger 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 , we won't calculate the correct value. There is going to be something "left over". The component of the CAPM equation captures this residual.
A crucial assertion of CAPM is that the expectation for is 0. Technically, is a random variable with an expected value of 0.
How do we arrive at values for and for a particular stock? Primarily, we look at daily returns and examine how the daily returns of that stock measure against the daily returns of the market.
For example, consider the following plot of the S&P 500 daily returns alongside the daily returns for fictional stock XYZ.
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.
We could potentially fit the following line to this scatterplot.
Like any line, the line above can be described by two parameters: slope and y-intercept. The slope is , and the y-intercept is .
Note that this calculation of and is after-the-fact. Just because a particular stock had a certain historically doesn't mean that we can expect that value to remain in the future. Again, CAPM says that we should expect to be zero; in reality, though, is not always zero.
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 and which has a higher ?
Recall that is the slope of the fit line, and is the y-intercept of the fit line. We can tell from the plots that ABC has both a higher and a higher .
You may have heard about the debate between passive investing versus active investing. 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.
Let's consider active and passive investing with regard to the CAPM equation, listed below.
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 .
However, they disagree concerning the treatment of the factor. Remember that CAPM says two essential things about : it's random, and it's expected value is zero. Passive investors agree with CAPM.
Active managers, on the other hand, believe that 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.
If you believe what active managers say, you might consider leveraging historical information as well as machine learning to find stocks that have a positive or negative . From there, you might be able to select a basket of stocks that can outperform the market.
If you believe CAPM, then you should be a passive investor.
Suppose now that instead of looking at just one stock, we want to consider an entire portfolio. Recall that for a particular stock, , it's return, , on an particular day, , is equal to
To compute the return for the entire portfolio, , we compute the return for each stock, , multiplied by the weight, , of that stock in the portfolio, and sum over all the stocks in the portfolio.
We can calculate the for the overall portfolio, , as the weighted sum of the individual values for each stock.
We can simplify the equation for by plugging in .
Notice that we also have an term, which is ostensibly derived as a weighted sum of the individual terms. However, since CAPM tells us that the expected value of is zero, we don't need to compute directly; instead, we can estimate it.
An active portfolio manager doesn't believe that is a random variable centered at zero. As a result, they incorporate the weighted sum of individual stock values into the calculation.
If we are in an upward market, do we want a portfolio with a larger or a smaller ? How about if we are in a downward market?
In upward markets, we want a portfolio with a larger . For example, a portfolio with a greater than one rises even higher than the market, while a portfolio with a smaller than one won't be able to take full advantage of market performance.
In downward markets, we want the opposite: a smaller . Indeed, a portfolio with a smaller falls less sharply in a downward market, while a portfolio with a larger crashes hard.
Remember that CAPM dictates that the return of a portfolio, depends on three things: the and of the portfolio, and the market return, .
The first point to remember is that CAPM says that is a random variable with an expected value of zero. This assertion excludes smart selection from our toolbox of ways to make money.
The only way we can beat the market now is by cleverly choosing . When the market is going up, we want to invest in a portfolio with a large . When the market is going down, we want to invest in a portfolio with a small, even negative, .
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 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.
The classical value of 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 value relating its performance to that of each sector. This is known as arbitrage pricing theory (APT).
For example, a particular stock, , might have exposure to the financial sector, , so we could compute the component of return for due to as the product of and the return for for that day.
We can continue this process, computing an individual for each sector that impacts the stock. By breaking out the overall into these sector components, we can get a more accurate forecast of returns.
OMSCS Notes is made with in NYC by Matt Schlenker.