#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
L12: CAPM
The capital asset pricing model (CAPM)
CAPM assumptions
Markets are perfectly competitive
- No investor is wealthy enough to individually affect prices
- All information is publicly available; all securities are public
- No taxes on returns, no transaction costs
- Unlimited borrowing/lending at risk-free rate
Investors are all alike except for initial wealth and risk aversion
- Investors plan for a single-period horizon; they are rational, mean-variance optimizers
- Investors use the same inputs, consider identical portfolio opportunity sets
CAPM predictions
- The risk premium on individual assets is proportional to the risk premium on the market:
\[E[R_{i}] = R_{f} + \beta_i (E[R_{m}] - R_{f}) \]
The market portfolio is the optimal risky portfolio (the tangency portfolio) in the economy
All investors choose to hold a combination of the risk-free asset and the market portfolio (in different proportions, given by the investor’s risk aversion)
The Security Market Line (SML)
If the CAPM assumptions hold, plotting all securities’ risk premia (\(E[R_{i}] - R_{f}\)) against their betas (\(\beta_i\)) results in a single line called the Security Market Line (SML).
Application
The “data.xlsx” file from D2L contains adjusted close prices for the past 10 years for the following tickers: ‘AAPL’, ‘GE’, ‘F’, ‘GM’, ‘NFLX’, ‘MSFT’, ‘GS’, ‘JPM’, ‘AMD’, ‘NVDA’.
For all stocks:
- Calculate monthly returns
- Calculate market betas (use the SLOPE function in Excel)
- Calculate average returns
- Plot average returns (y axis) against betas (x axis)
Portfolio betas
The beta of portfolio of assets is a weighted average of the betas of the individual assets in the portfolio:
\[\beta_p = w_i \beta_1 + w_2 \beta_2 + ... + w_N \beta_N\]
Remember, the market portfolio has a beta of 1 and the risk free asset has a beta of 0.
Adjusted betas
Betas tend to revert to the mean (high betas tend to go down and low betas tend to go up). When predicting betas, we take this tendency into account by calculating adjusted betas. These are weighted averages of the estimated beta and the mean (which is 1):
\[\beta_i^{adj} = \beta_i \times 2/3 + 1/3\]
Other weights can be used but 2/3 is a very common one.
Application
Using the same data as in the previous application:
- Calculate the beta of a portfolio that invests 8% in each of the 10 stocks in your portfolio, 10% in the market portfolio and 10% in the risk-free asset.
- Calculate adjusted betas for all 10 stocks
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
Stability of alphas and betas over time
In this section we investigate the extent to which alpha and beta coefficients change over time.
Using the same data as in the previous applications, for each stock:
- Calculate the beta coefficient using the first half of the sample
- Calculate the beta coefficient using the second half of the sample
- Calculate the correlation between the betas in the first half and the betas in the second half
- Repeat the entire exercise for alpha coefficients (use the INTERCEPT function in Excel to calculate alphas)
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#