Core Path · L3.1.10

Using and testing CAPM

12 minAsset pricingRegressionCost of equity

By the end you will be able to

  1. 1Estimate a beta by regressing a share's excess returns on the market's, with its standard error and 95% confidence interval.
  2. 2Turn a beta into a cost of equity with CAPM and use it in the dividend discount model.
  3. 3Adjust a raw beta (Blume, Vasicek) and explain why adjustment helps.
  4. 4Summarise the empirical evidence on CAPM: the flat security market line, the Fama-French critique and the classic anomalies.

Why it matters

RiskAtoms Bank plc's board asks a simple question: what return do our shareholders expect? The answer sets the hurdle every new business line must clear. Most firms answer it with CAPM, which needs a beta, and a beta is an estimate with an error bar.

Core explanation

From a scatter of returns to a cost of equity

L3.1.09: CAPM, beta and the security market line gave the security market line: E[Ri]=rf+βi(E[Rm]−rf)\mathbb{E}[R_i] = r_f + \beta_i(\mathbb{E}[R_m] - r_f). Two of its three inputs are judgements about the future (the risk-free rate and the equity risk premium). The third, beta, is estimated from the past.

Estimating beta. Collect monthly returns for the share and for a market index, subtract the risk-free rate from both, and fit a straight line by least squares (M-D03: Linear regression). The slope is beta. In L2.5.04: Sensitivities beta was the covariance with the market divided by the market's variance; the least-squares slope is exactly that number.

Illustrative dataFive years of monthly returns

The module's 60 months of a global equity index (the market), and three made-up shares: RiskAtoms Bank plc, a water utility and a software company. Each share's returns were made as β×\beta \times the market plus random noise, with a “true” beta we know (RiskAtoms Bank 1.20, Utility 0.55, Software 1.50). In real life you never see the true beta; here you can check how close the estimate gets.

ShareEstimated βSE95% intervalR²True β
RiskAtoms Bank1.4600.1891.08 to 1.840.511.20
Utility0.4650.0930.28 to 0.650.300.55
Software1.5530.2751.00 to 2.100.361.50

The bank's estimate is 1.46 although the data were made with 1.20. Nothing went wrong: the share's own noise happened to line up with the market a little more than usual. The 95% confidence interval, 1.08 to 1.84, does contain the true value. Its width comes from the standard error (M-D04: Confidence intervals and hypothesis tests).

Window and frequency. More months shrink the standard error, but a firm's beta drifts as its business and debt change. Common choices are five years of monthly returns or two years of weekly returns. For the bank:

WindowEstimated βSE95% interval
24 months1.5010.2650.95 to 2.05
36 months1.5220.2221.07 to 1.97
60 months1.4600.1891.08 to 1.84

Adjusted betas. Marshall Blume found in 1971 that betas estimated in one period drift towards 1 in the next: a high estimate is partly bad luck that will not repeat. The common adjusted beta takes two-thirds of the raw estimate plus one-third of 1. Oldrich Vasicek's 1973 version weights the raw estimate by how precise it is: a noisy estimate is pulled harder towards the average beta.

Cost of equity. Put the beta into the security market line and you have the cost of equity. It is the rr in the dividend discount model of L1.5.03: Valuing equities: the dividend discount model, P0=D1/(r−g)P_0 = D_1/(r - g). Because r−gr - g is small, a modest error in beta moves the value a lot. Try it below with RiskAtoms Bank plc.

ExploreFrom beta to a share value

RiskAtoms Bank plc pays a dividend of £0.30 next year, growing at g a year. The shares trade at £5.50. Illustrative.

Which beta?

Cost of equity r8.84%
Value D₁ ÷ (r − g)£5.14
Market price£5.50
Return implied by the price8.45%

The formal version

Let yt=Ri,t−rfy_t = R_{i,t} - r_f and xt=Rm,t−rfx_t = R_{m,t} - r_f for months t=1,…,nt = 1, \dots, n. The model and its least-squares estimates are:

yt=α+βxt+εt,E[εt]=0,  var⁡(εt)=σε2β^=SxySxx=∑t(xt−xˉ)(yt−yˉ)∑t(xt−xˉ)2=cov⁡^(x,y)var⁡^(x)α^=yˉ−β^ xˉ\begin{aligned} y_t &= \alpha + \beta x_t + \varepsilon_t, \qquad \mathbb{E}[\varepsilon_t] = 0,\; \operatorname{var}(\varepsilon_t) = \sigma_\varepsilon^2 \\[4pt] \hat\beta &= \frac{S_{xy}}{S_{xx}} = \frac{\sum_t (x_t - \bar x)(y_t - \bar y)}{\sum_t (x_t - \bar x)^2} = \frac{\widehat{\operatorname{cov}}(x, y)}{\widehat{\operatorname{var}}(x)} \\[4pt] \hat\alpha &= \bar y - \hat\beta\,\bar x \end{aligned}

Where the standard error comes from. Substitute the model into β^\hat\beta. Since ∑t(xt−xˉ)=0\sum_t (x_t - \bar x) = 0, the α\alpha and yˉ\bar y terms drop out:

β^=∑t(xt−xˉ) ytSxx=∑t(xt−xˉ)(α+βxt+εt)Sxx=β+∑t(xt−xˉ) εtSxxvar⁡(β^)=∑t(xt−xˉ)2 σε2Sxx2=σε2Sxx⟹SE⁡(β^)=sSxx,s2=∑tε^t 2n−2\begin{aligned} \hat\beta &= \frac{\sum_t (x_t - \bar x)\,y_t}{S_{xx}} = \frac{\sum_t (x_t - \bar x)(\alpha + \beta x_t + \varepsilon_t)}{S_{xx}} \\ &= \beta + \frac{\sum_t (x_t - \bar x)\,\varepsilon_t}{S_{xx}} \\[4pt] \operatorname{var}(\hat\beta) &= \frac{\sum_t (x_t - \bar x)^2\,\sigma_\varepsilon^2}{S_{xx}^2} = \frac{\sigma_\varepsilon^2}{S_{xx}} \qquad\Longrightarrow\qquad \operatorname{SE}(\hat\beta) = \frac{s}{\sqrt{S_{xx}}}, \quad s^2 = \frac{\sum_t \hat\varepsilon_t^{\,2}}{n-2} \end{aligned}

The estimate is unbiased (its error averages zero), and its spread falls as the market moves more (SxxS_{xx} larger) and as the share's own noise falls. With normal errors, (β^−β)/SE⁡(β^)(\hat\beta - \beta)/\operatorname{SE}(\hat\beta) follows a t distribution with n−2n - 2 degrees of freedom, which gives the interval and tests.

Adjusted betas, on a few lines. Blume's rule and Vasicek's precision-weighted average, with a prior (the spread of betas across all shares) of mean βˉ\bar\beta and standard deviation σprior\sigma_{\text{prior}}:

βBlume=0.67 β^+0.33×1βVasicek=w β^+(1−w) βˉ,w=σprior2σprior2+SE⁡(β^)2\begin{aligned} \beta_{\text{Blume}} &= 0.67\,\hat\beta + 0.33 \times 1 \\[4pt] \beta_{\text{Vasicek}} &= w\,\hat\beta + (1 - w)\,\bar\beta, \qquad w = \frac{\sigma_{\text{prior}}^2}{\sigma_{\text{prior}}^2 + \operatorname{SE}(\hat\beta)^2} \end{aligned}

Cost of equity and value: rE=rf+β ERPr_E = r_f + \beta\,\text{ERP}, then P0=D1/(rE−g)P_0 = D_1/(r_E - g). Going the other way, a market price implies a return r=D1/P0+gr = D_1/P_0 + g, which can be compared with CAPM's.

Try it

Start with RiskAtoms Bank plc over 60 months. Shorten the window to 24 months and watch the interval widen. Switch to the software company: it is noisier, so its interval is the widest. Then reveal the true beta and see whether the interval caught it.

Try itEstimate a beta

Share

Window (most recent months)

−30%−20%−10%0%10%20%30%−10%−5%0%5%10%Market excess return, monthlyShare excess return

Solid: the fitted line. Dashed: lines with the slopes at each end of the 95% interval.

Estimated β1.460
Standard error0.189
t (58 df, 97.5%)2.002
95% interval1.08 to 1.84
R²0.507
α, monthly−0.38%
t statistic of α−0.45
Blume adjusted1.308
Vasicek (weight 0.87)1.403

Worked example

RiskAtoms Bank plc's cost of equity

The 60-month regression of the bank's excess returns on the market's gives these sums (monthly returns as decimals): xˉ=0.005000\bar x = 0.005000, yˉ=0.003470\bar y = 0.003470, Sxx=0.119475S_{xx} = 0.119475, Sxy=0.174457S_{xy} = 0.174457, and a residual sum of squares of 0.2475750.247575. Try each step before revealing it.

From regression to share value

Step 1 of 7
  1. 1

    Beta

    β^=0.174457÷0.119475=1.4602\hat\beta = 0.174457 \div 0.119475 = 1.4602

The evidence

Does CAPM fit the data?

CAPM makes a sharp prediction: across assets, average excess returns should lie on a straight line through the origin with slope equal to the market's excess return. Tests run in two passes. First, estimate each asset's beta by time-series regression. Second, regress average returns on those betas across assets: a second-pass regression. Using portfolios sorted on beta, rather than single shares, cuts the error in the betas.

Run itTest the security market line

Ten portfolios sorted on beta, with their average excess returns (illustrative, shaped like the published results).

Show

0%2%4%6%8%10%0.00.51.01.5BetaAverage excess return, a yearmarket

CAPM predicts

Intercept γ₀0.00%
Slope γ₁6.00%

Switch to the fitted line to run the test.

The illustrative fit has intercept 2.59% and slope 2.73% a year, against CAPM's 0% and 6%. Low-beta portfolios earn more than predicted, high-beta ones less. That is the shape the published tests found:

  • Black, Jensen and Scholes (1972) sorted US shares into portfolios by beta. Average return rose with beta in a straight line, but the line was flatter than CAPM predicts and its intercept was above the risk-free rate.
  • Fama and MacBeth (1973) ran the second-pass regression month by month and averaged the slopes, a method still used today. They found a positive, linear relation between beta and return.
  • Roll (1977) pointed out that CAPM is really a statement about the market portfolio of all risky assets, which no one observes. A test with a stock index proxy tests whether that index is efficient, not CAPM itself.
  • Fama and French (1992) found that, for US shares from 1963 to 1990, beta explained almost none of the differences in average returns once firm size and book-to-market were taken into account. Their 2004 review concluded that its empirical record is “poor enough to invalidate the way it is used in applications”.

The classic anomalies. Each anomaly is a way of sorting shares that produced average returns CAPM's betas could not explain. Open each card.

Four patterns CAPM misses

So why is CAPM still used?

It is simple, it has a clear logic (only undiversifiable risk is paid), and the alternatives need their own premia estimated from noisy data. Practitioners use it as a first answer, often with adjusted betas and a range rather than one number, and turn to the factor models of L3.1.11: Factor models and Fama-French when the evidence matters.

Regulatory lens

CAPM sets real prices. UK economic regulators for water, energy and telecoms set the allowed return on the equity of the companies they regulate largely with CAPM, and the UK Regulators Network published joint guidance on the method in 2023. Each review argues over the same three inputs as this lesson: the risk-free rate, the equity risk premium and beta, including how to measure it. For a bank, the cost of equity is the hurdle in risk-adjusted performance measures such as RAROC, covered in M7.1: Enterprise risk and economic capital.

Spark Atoms

Spark AtomBeta is a portfolio of opinions
Different data providers publish different betas for the same share, because they use different indices, windows, return frequencies and adjustments. A gap of 0.2 in beta, at the module's 4% premium, is 0.8 of a percentage point on the cost of equity.
Spark AtomThe anomaly that shrank
After Banz published the size effect in 1981, the extra return to small firms was much weaker in many later samples. Whether it was a risk premium, a data quirk or a mispricing that investors then traded away is still debated.

Key takeaways

  • Beta is the slope of a regression of the share's excess returns on the market's: cov ÷ var.
  • Its standard error is s ÷ √Sxx, and the 95% interval is β̂ ± t × SE; five years of monthly data still leave an interval of roughly ±0.3 to ±0.5.
  • Adjusted betas pull estimates towards 1: Blume uses ⅔ raw + ⅓, Vasicek weights by precision.
  • Cost of equity = rf + β × ERP feeds the dividend discount model; small changes in β move the value a lot.
  • The evidence: the SML is flatter than CAPM predicts, and size, value, momentum and low-beta sorts earn returns beta does not explain.

Reaction

Check what stuck

Question 1 · objective 2

A share's beta is 1.3, the risk-free rate is 3.5% and the equity risk premium is 5%. What is its CAPM cost of equity, in %?

%

Question 2 · objective 1

A beta estimate is 1.10 with a standard error of 0.15, from 60 months of data (critical t about 2.0). What is the half-width of the 95% confidence interval, to two decimals?

Question 3 · objective 3

A raw beta is 1.60. What is its Blume-adjusted beta (0.67 × raw + 0.33), to three decimals?

Question 4 · objective 2

Next year's dividend is £2.00 and grows at 4% a year. Beta 0.9, risk-free rate 3.5%, equity risk premium 5%. What is the share's value by the Gordon growth model, in £?

£

Question 5 · objective 4

What did Fama and French (1992) find for US shares from 1963 to 1990?

Glossary

Standard error
The standard deviation of an estimate across the samples you might have drawn: how far it typically misses the true value.
Confidence interval
A range built so that, in 95% of samples, it contains the true value.
Cost of equity
The return shareholders require for holding a company's shares; the discount rate for its dividends.
Equity risk premium
The expected return on the whole equity market above the risk-free rate.
Adjusted beta
A raw regression beta pulled towards 1, because extreme estimates tend to be partly noise.
Market proxy
The index used in place of the true market portfolio, which would include every risky asset.
Second-pass regression
A regression across assets or portfolios of average return on estimated beta, used to test the security market line.
Anomaly
A pattern in average returns that a pricing model, here CAPM, does not explain.

Deep Dives & Origins

Deep Dives

  • E. F. Fama and K. R. French, “The Capital Asset Pricing Model: Theory and Evidence”, Journal of Economic Perspectives 18(3), 2004. Intermediate.
  • J. Y. Campbell, A. W. Lo and A. C. MacKinlay, The Econometrics of Financial Markets, Princeton University Press, 1997, the chapter on the CAPM. Advanced.

Origins

  • F. Black, M. C. Jensen and M. Scholes, “The Capital Asset Pricing Model: Some Empirical Tests”, in M. C. Jensen (ed.), Studies in the Theory of Capital Markets, Praeger, 1972.
  • E. F. Fama and J. D. MacBeth, “Risk, Return, and Equilibrium: Empirical Tests”, Journal of Political Economy 81(3), 1973.
  • R. Roll, “A Critique of the Asset Pricing Theory's Tests Part I: On Past and Potential Testability of the Theory”, Journal of Financial Economics 4(2), 1977.
  • E. F. Fama and K. R. French, “The Cross-Section of Expected Stock Returns”, Journal of Finance 47(2), 1992.
  • M. E. Blume, “On the Assessment of Risk”, Journal of Finance 26(1), 1971.
  • O. A. Vasicek, “A Note on Using Cross-Sectional Information in Bayesian Estimation of Security Betas”, Journal of Finance 28(5), 1973.
  • R. W. Banz, “The Relationship between Return and Market Value of Common Stocks”, Journal of Financial Economics 9(1), 1981.
  • S. Basu, “Investment Performance of Common Stocks in Relation to Their Price-Earnings Ratios”, Journal of Finance 32(3), 1977.
  • B. Rosenberg, K. Reid and R. Lanstein, “Persuasive Evidence of Market Inefficiency”, Journal of Portfolio Management 11(3), 1985.
  • N. Jegadeesh and S. Titman, “Returns to Buying Winners and Selling Losers”, Journal of Finance 48(1), 1993.
  • F. Black, “Capital Market Equilibrium with Restricted Borrowing”, Journal of Business 45(3), 1972.
  • A. Frazzini and L. H. Pedersen, “Betting Against Beta”, Journal of Financial Economics 111(1), 2014.
  • UK Regulators Network, Guidance for regulators on the methodology for setting the cost of capital, 2023.

Watch this lesson

Video version

Prefer to watch? The same lesson as a 12-minute video will sit here, made from this page's script.