The CAPM: risk, beta and expected return

The capital asset pricing model links an asset's expected return to its market risk. It's the starting point for asset-pricing dissertations, cost-of-capital estimates and event studies.

2 min readReviewed 2026-11-25Stata · R · Excel
M

Made for: Master's dissertation student

Your data is ready. The model isn't cooperating.

Sound familiar?

  • The Hausman test says one thing and your supervisor says another
  • Stata or EViews throws errors you can't decode at 1 a.m.
  • You're not sure your results are even the right ones to report
  • The deadline is fixed, and your supervisor has 20 other students

We diagnose your model, run it with you, and explain every number so you can defend it.

The model

E(Rᵢ) = R_f + βᵢ [E(R_m) − R_f]

(Sharpe, 1964; Lintner, 1965; Mossin, 1966)

  • R_f: the risk-free rate (Treasury bill yield).
  • E(R_m) − R_f: the market risk premium.
  • βᵢ = Cov(Rᵢ, R_m) / Var(R_m): sensitivity of the asset to market movements. β > 1 is more volatile than the market, β < 1 less.

CAPM implies only systematic (market) risk is priced; diversifiable risk earns no premium.

Estimating beta

Run the market model on excess returns (usually 60 monthly observations, or one to two years of weekly data):

(Rᵢₜ − R_fₜ) = αᵢ + βᵢ (R_mₜ − R_fₜ) + εᵢₜ

gen exret = ret - rf
gen mktex = mkt - rf
reg exret mktex, vce(robust)       // beta = coefficient on mktex; alpha = constant

A significant alpha (Jensen's alpha) means returns not explained by market risk, i.e. abnormal performance or a mis-specified model.

Testing CAPM

  1. Time-series test: are alphas jointly zero across portfolios? The GRS test (Gibbons, Ross & Shanken, 1989).
  2. Cross-sectional test (Fama-MacBeth, 1973): each month, regress portfolio returns on betas; average the slopes over time. CAPM predicts a positive slope equal to the market premium and an intercept of zero.

Extensions

  • Fama-French three-factor model (1993): adds size (SMB) and value (HML).
  • Carhart four-factor (1997): adds momentum.
  • Fama-French five-factor (2015): adds profitability and investment.
  • Conditional CAPM: time-varying betas, e.g. via rolling windows or GARCH.

Critiques

Empirically, the security market line is flatter than CAPM predicts, and size, value and momentum explain returns beyond beta. The true market portfolio is unobservable (Roll, 1977). Despite this, CAPM remains widely used for cost-of-equity estimates.

Thesis ideas

  • Does CAPM hold on the Casablanca, Johannesburg or another emerging stock exchange?
  • Are Fama-French factors priced in Gulf markets?
  • Did betas of bank stocks change after the 2008 crisis or COVID?

Frequently asked questions

Which market index and risk-free rate should I use?

The broad local index (e.g. MASI for Morocco) and the local short-term Treasury rate, in the same currency and frequency as the stock returns.

Daily, weekly or monthly returns?

Monthly is standard for asset-pricing tests; weekly or daily for event studies or thinly traded markets (with adjustments for non-synchronous trading, e.g. Dimson betas).