Python for Finance: Part II: 5 The Capital Asset Pricing Model
The Capital Asset Pricing Model (CAPM)
According to Markowitz, in the CAPM investors are:
– risk-averse
– prefer higher returns
– willing to buy the optimal portfolio
The market portfolio:
– a combination of all the possible investments in the world.
The risk-free asset:
– the CAPM assumes the existence of a risk-free asset.
– an investment with zero risk.
– Why should we assume the risk-free rate has a lower expected rate of return?
=> In efficient markets, investors are only compensated for the added risk they are willing to bear.
The Capital Market Line
– investors will allocate their money between the risk-free and the market portfolio
In the CAPM, investors will invest in:
– depending on their risk preferences, they will choose to buy more of the risk-free asset or more of the market portfolio.
Beta
β = Cov(rx, rm) / σm2
– measures the market risk that cannot be avoided through diversification.
β = 0: No relationship
β < 1: Defensive (Walmart)
β > 1: Aggressive (Ford)
The Capital Asset Pricing Model
ri = rf + βim(rm – rf)
rf: risk-free
βim: beta between the stock and the market
rm: market return
Risk-free: Approximate with 10-year US government bond yield: 2.5%
Beta: Approximate the market portfolio with the S&P500: 0.62
Equity Risk Premium: Historically, it has been between 4.5% and 5.5%
r(i) = 2.5% + 0.62 * 5% = 5.6%
Sharpe Ratio
William Sharpe
Sharpe Ratio = (ri – rf) / σi
rf: risk-free rate
ri: rate of return of the stock “i”
σi: standard deviation of the stock “i”
Alpha
The Capital Asset Pricing Model:
ri = α + rf + βim(rm – rf)
– The standard CAPM setting assumes an alpha equal to 0.
– We can only compare the alpha of investments with a similar risk profile.