Estimating beta with a CAPM regression
The capital asset pricing model (CAPM) says only market risk, measured by beta, earns a premium. To estimate beta, regress the asset's excess returns on the market's excess returns: the slope is beta. Then the expected return is the risk-free rate plus beta times the market risk premium.
Before this: Goodness of fit and testing the regression coefficients, From the capital allocation line to the capital market line and the CAPM
On the exam
- Calculate and interpret the variable estimates of the capital asset pricing model (CAPM)
Calculate and interpret the estimates of a CAPM regression. Expect to pick beta out of a regression output, read R² as the share of the asset's excess-return variance the market explains, test beta against zero or one, build a confidence interval for beta, compute an expected return or the change in expected excess return when the market risk premium moves, and name the data needed.
How deeply to learn each part
- Know the idea
- Understand it in general. It frames other topics, but you will not calculate with it.
- Use it
- Understand it well enough to solve a question with it. Recognize when it applies.
- Memorize
- Learn it by heart. The exam will not give it to you.
You know this one. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still do.
You tested strong here. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still know it.
What does the capital asset pricing model say?
The capital asset pricing model (CAPM) links an asset’s expected return to its systematic risk , the risk it shares with the whole market, measured by beta. It is a one-factor model: the only reward for risk is beta times the market risk premium , , where is the risk-free rate and is the expected return on the market. Idiosyncratic risk (also called non-systematic risk) can be diversified away, so it earns nothing.
Learning Module 8 derives the model; this lesson estimates beta from data. By using only the market, the CAPM ignores other factors such as size, value and momentum, which multifactor models add in Equities.
How do you turn the CAPM into a regression?
Expected returns cannot be observed, so use realized returns. Subtract the risk-free rate from both sides and the CAPM becomes a straight line in excess returns: regress the asset’s excess return on the market’s excess return, and the slope estimates beta.
An excess return is a return minus the risk-free rate, period by period.
The CAPM regression then fits a line through the pairs of excess returns.
The CAPM itself has no intercept; the regression adds one, , to soak up any average excess return the market does not explain. Step 4 below uses only the slope.
The four steps
Memorize
- Gather data. The asset’s returns, a broad market index’s returns (the proxy for the market portfolio) and a short-term government bill rate (for example one- or three-month) as the risk-free rate, all for the same period. Typical choices are monthly returns over three to five years or weekly returns over one to three years; the estimation window and the frequency change the estimate.
- Compute excess returns and for every period.
- Run the regression of on by ordinary least squares (OLS); the slope is the beta estimate.
- Estimate the expected return: .
- 1. Gather data Memorize asset, market index, bill rate; monthly 3–5 years or weekly 1–3 years
- 2. Excess returns Memorize Z_i = r_i − r_f, Z_m = r_m − r_f
- 3. Regress Z_i on Z_m Memorize slope = beta
- 4. Expected return Memorize r_f + β̂ × market risk premium
The data you need are the risk-free rate, the asset’s total returns and the market’s total returns. Not inflation, not dividend yields on their own.
Go deeper Why the risk-free rate is treated as known
Over a month the bill rate barely moves and carries no default risk, so the estimate treats it as fixed for each period. Subtracting it from both returns is what turns the CAPM into a line through excess returns.
How do you read a CAPM regression output?
The slope on the market’s excess return is the beta estimate . Its t-statistic tests whether beta differs from zero (or, subtracting 1 first, from one). The R-squared of a CAPM regression is the share of the variance of the asset’s excess returns explained by the market’s: the systematic share. What is left, , is idiosyncratic.
Exam tip R² is not beta. A stock can have a high beta and a low R² (very sensitive, but with lots of company-specific noise) or the reverse.
Try this 0 of 3
- Keep beta positive and make its 95% interval leave out 1. Watch t vs 1.
- Keep beta near 1.2 but push R² below 0.25.
- Load the hedge and find its CAPM expected return.
Halvard Logistics, 60 months of excess returns: beta 1.24 (standard error 0.150), t against zero 8.26, t against one 1.60, 95% interval 0.94 to 1.54, R² 0.540 (54% systematic, 46% idiosyncratic). With a risk-free rate of 3.0% and an expected market return of 8.5%, the CAPM expected return is 9.82%. Beta is the slope of excess returns on excess returns; R² tells you how much of the risk is the market's.
- One month
- Least-squares line, slope 1.24
- Slope 1 (moves with the market)
| Coefficient | Std error | t | p-value | |
|---|---|---|---|---|
| Intercept | 0.18 | 0.60 | 0.30 | 0.765 |
| Market excess return | 1.240 | 0.150 | 8.26 | < 0.001 |
R² 0.540 · standard error of the estimate, s_e 4.62 · observations 60. Monthly excess returns in percent.
| Source | df | Sum of squares | Mean square | F |
|---|---|---|---|---|
| Regression | 1 | 1,452.2 | 1,452.2 | 68.15 |
| Error | 58 | 1,236.0 | 21.31 | |
| Total | 59 | 2,688.2 |
The interval 0.94 to 1.54 contains 1: beta is not significantly different from 1 at 5%. R² 0.540: the market explains 54% of the variance (systematic); 46% is idiosyncratic.
Show working
Excess returns: Z_i = r_i − r_f for the stock and Z_m = r_m − r_f for the market, each month. n = 60; Z̄_m = 0.45, Z̄_i = 0.7381.
β̂ = r × s_Zi ÷ s_Zm = 0.735 × 6.75 ÷ 4.00 = 1.2403 (the same as Cov(Z_i, Z_m) ÷ Var(Z_m) = 19.845 ÷ 16.000).
Intercept b̂₀ = Z̄_i − β̂ × Z̄_m = 0.7381 − 1.2403 × 0.45 = 0.180. Not part of the CAPM.
SST = 2,688.19; SSR = 1,452.23; SSE = 1,235.96. R² = SSR ÷ SST = 0.5402 (= r²): the systematic share. 1 − R² = 0.4598 is idiosyncratic.
MSE = SSE ÷ (n − 2) = 1,235.96 ÷ 58 = 21.310; s_e = √MSE = 4.616. F = MSR ÷ MSE = 68.15.
s_β̂ = s_e ÷ √Σ(Z_m − Z̄_m)² = 4.616 ÷ √944.0 = 0.1502.
t vs 0 = 1.2403 ÷ 0.1502 = 8.26; t vs 1 = (1.2403 − 1) ÷ 0.1502 = 1.60. Critical t (df 58, 5%, two-tailed) = 2.0017.
95% interval: β̂ ± t_c × s_β̂ = 1.2403 ± 2.0017 × 0.1502 = 1.2403 ± 0.3007 = 0.9396 to 1.5411.
CAPM: E[r] = r_f + β̂ × (E[r_m] − r_f) = 3.0 + 1.2403 × 5.5 = 9.82%. Premium change +0.5: 1.2403 × 0.5 = +0.62 points.
- 2.0017×0.1502=STO10.3007
- 1.2403−RCL1=lower 0.9396
- 1.2403+RCL1=upper 1.5411
STO store · RCL recall a stored number
- 2.0017ENTER0.1502×STO10.3007
- 1.2403RCL1−lower 0.9396
- 1.2403RCL1+upper 1.5411
ENTER enter (on the HP, puts the number on the stack) · STO store · RCL recall a stored number
Display: 0.94 to 1.54
- 8.5−3=×1.2403+3=9.8217
- 8.5ENTER3−1.2403×3+9.8217
ENTER enter (on the HP, puts the number on the stack)
Display: 9.82%
- Slope Memorize beta: sensitivity to the market
- t of the slope Use it beta ≠ 0? subtract 1 first for beta ≠ 1
- R² Memorize systematic share of the variance; 1 − R² idiosyncratic
- Intercept Know the idea not part of the CAPM; usually tested against 0
How sure is the beta? A confidence interval
Beta is an estimate, so give it a range: the confidence interval for beta is , with the t critical value for degrees of freedom. If 1 lies inside a 95% interval, beta is not significantly different from 1 at 5%; if 0 lies inside, beta is not significant at all.
With many observations the t critical value is close to 1.96, which is why outputs built on long samples are often read with it; when the question gives a t value, use that.
A regression of a stock's excess returns on the market's gives a beta estimate of 1.24 with a standard error of 0.15. With a critical t-value of 2.002, the upper bound of the confidence interval for beta is closest to:
1.24 + 2.002 × 0.15 = 1.5403
Upper bound1.5403
- 2.002×0.15+1.24=
- 2.002ENTER0.15×1.24+
ENTER enter (on the HP, puts the number on the stack)
From beta to an expected return
Step 4 plugs the beta estimate into the CAPM: . Beta has no units, so a beta estimated from monthly returns works with annual rates.
The risk-free rate is 3.00%, the expected return on the market is 8.50% and a stock's estimated beta is 1.24. Its expected return under the CAPM is closest to:
3.00% + 1.24 × (8.50% − 3.00%) = 9.82%
Expected return, E[r]9.82%
- 8.5−3=×1.24+3=
- 8.5ENTER3−1.24×3+
ENTER enter (on the HP, puts the number on the stack)
A fitted value is a different question
“What does the regression predict for the excess return when the market’s excess return is 2%?” uses the whole fitted line, intercept included. “What is the CAPM expected return?” uses only beta, the risk-free rate and the market risk premium.
What if the market risk premium changes?
If the market risk premium rises and the risk-free rate does not move, the expected excess return changes by beta times that change.
What do high, low and negative betas mean?
A beta above 1 amplifies the market: in a downturn a beta-1.5 stock is expected to fall more than a beta-0.5 stock, and in a rally to rise more. A beta below 1 dampens the market.
A negative beta means the asset tends to move against the market: if the market’s excess return is −6% in a month, an asset with is expected (from the slope) to gain 1.8 points. That makes it a hedge, not a riskier asset. Under the CAPM its expected return is below the risk-free rate, the price of that protection.
How good is the CAPM?
The evidence is mixed: some studies support the model, others find returns it cannot explain. It is still widely used for portfolio management, performance evaluation, the cost of capital and project valuation, because it is simple and ties expected return to the risk that cannot be diversified away. Market data services publish betas estimated the same way; their numbers differ with the window, the return frequency and the index they use.
Go deeper Why different windows give different betas
A company’s business and leverage change over time, so its beta does too. A longer window gives a steadier estimate but reflects the old business; weekly data give more observations but more noise. Neither choice is right in general; state which one you used.
Memorize this
MemorizeCAPM regression
| Item | Formula or rule |
|---|---|
| CAPM | |
| Excess returns | , |
| Regression | ; slope = beta |
| R² | share of excess-return variance explained by the market (systematic); idiosyncratic |
| Interval for beta | , degrees of freedom |
| Premium moves | premium |
| Data | bill rate, asset returns, index returns; monthly 3–5 years or weekly 1–3 years |
Memory hook Subtract the bill from both, regress, read the slope. Slope = beta, R² = how much is market.
Know it cold Expected return uses the premium E[r_m] − r_f, never E[r_m] alone, and only the slope, not the intercept.
- 1. Gather data Memorize asset, market index, bill rate; monthly 3–5 years or weekly 1–3 years
- 2. Excess returns Memorize Z_i = r_i − r_f, Z_m = r_m − r_f
- 3. Regress Z_i on Z_m Memorize slope = beta
- 4. Expected return Memorize r_f + β̂ × market risk premium
- Slope Memorize beta: sensitivity to the market
- t of the slope Use it beta ≠ 0? subtract 1 first for beta ≠ 1
- R² Memorize systematic share of the variance; 1 − R² idiosyncratic
- Intercept Know the idea not part of the CAPM; usually tested against 0
Quick example
r_f = 2.0%, E[r_m] = 7.5%, β = 0.9: 2.0 + 0.9 × 5.5 = 6.95%.
- 7.5−2=×0.9+2= 6.95
- 7.5ENTER2−0.9×2+ 6.95
ENTER enter (on the HP, puts the number on the stack)
Quick example
A stock returns 1.8% in a month, the index 1.1% and the bill 0.3%: Z_i = 1.8 − 0.3 = 1.5%, Z_m = 1.1 − 0.3 = 0.8%.
- 1.8−0.3= 1.5
- 1.1−0.3= 0.8
- 1.8ENTER0.3− 1.5
- 1.1ENTER0.3− 0.8
ENTER enter (on the HP, puts the number on the stack)
Quick example
Regress 60 monthly stock excess returns on the index's: the slope b̂₁ is the beta estimate, here 1.24.
Quick example
β̂ = 0.75, standard error 0.10, t_c = 2.01: 0.75 ± 0.201 = 0.55 to 0.95.
- 2.01×0.1=STO1 0.201
- 0.75−RCL1= 0.549
- 0.75+RCL1= 0.951
STO store · RCL recall a stored number
- 2.01ENTER0.1×STO1 0.201
- 0.75RCL1− 0.549
- 0.75RCL1+ 0.951
ENTER enter (on the HP, puts the number on the stack) · STO store · RCL recall a stored number
Quick example
β̂ = 0.8 and the market risk premium falls by 1.0 point: 0.8 × (−1.0) = −0.8 point.
- 0.8×1+|-= −0.8
+|- change sign
- 0.8ENTER1CHS× −0.8
ENTER enter (on the HP, puts the number on the stack) · CHS change sign
How it is asked
-
Which number is beta?
Output: intercept 0.004, slope 0.92 (standard error 0.11), R² 0.61.
Beta = 0.92, the slope. Traps: 0.61 is R², 0.11 the standard error.
-
Confidence interval for beta
β̂ 0.68, standard error 0.14, t_c 2.002.
0.68 ± 0.280 = 0.40 to 0.96. Trap: ± one standard error, 0.54 to 0.82.
-
Expected return from the regression beta
β̂ 1.35, r_f 1.8%, E[r_m] 7.0%.
1.8 + 1.35 × 5.2 = 8.82%. Trap: 1.8 + 1.35 × 7.0 = 11.25% uses the market return.
-
Premium changes
β̂ 1.3; the market risk premium rises 0.8 point, r_f unchanged.
Expected excess return rises 1.04 points. Trap: 0.8 (beta ignored).
Exam traps
- Plugging the expected market return instead of the market risk premium into the CAPM.
- Reading R² as beta, or as the unsystematic share. R² is the share the market explains; 1 − R² is idiosyncratic.
- Adding the regression intercept to a CAPM expected return. The fitted line includes it; the CAPM expected return uses only beta.
- Regressing the market on the asset (swapping X and Y), or regressing raw returns on excess returns.
- Building the interval with ± one standard error, or with 1.96 when the question gives a t critical value.
- Calling a negative-beta asset riskier than the market. It moves against the market and hedges it.
Checkpoint
3 exam-style questions. About 90 seconds each.
1A CAPM regression of a stock's monthly excess returns on the market's excess returns has a slope of 1.10 and an R² of 0.36. The R² is best interpreted as:
2A regression of 60 monthly excess returns of a stock on the market's excess returns gives a slope of 0.86 with a standard error of 0.12. The two-tailed 5% critical t-value is 2.002. The 95% confidence interval for the stock's beta is closest to:
3A CAPM regression of a stock's monthly excess returns gives an intercept of 0.20% and a slope of 1.15. The risk-free rate is 2.5% and the expected return on the market is 9.0%. The stock's expected return under the CAPM is closest to:
Key takeaways
- The CAPM prices only systematic risk: E[r_i] = r_f + β(E[r_m] − r_f).
- Estimate beta by regressing the asset's excess returns on the market's excess returns; the slope is beta.
- R² is the share of the excess-return variance the market explains (systematic); 1 − R² is idiosyncratic.
- A confidence interval for beta is β̂ ± t_c × s_β̂; if it contains 1, beta is not significantly different from 1.
- A change in the market risk premium changes the expected excess return by beta times that change.
Quick example
r_f = 2.0%, E[r_m] = 7.5%, β = 0.9: 2.0 + 0.9 × 5.5 = 6.95%.
- 7.5−2=×0.9+2= 6.95
- 7.5ENTER2−0.9×2+ 6.95
ENTER enter (on the HP, puts the number on the stack)
Quick example
A stock returns 1.8% in a month, the index 1.1% and the bill 0.3%: Z_i = 1.8 − 0.3 = 1.5%, Z_m = 1.1 − 0.3 = 0.8%.
- 1.8−0.3= 1.5
- 1.1−0.3= 0.8
- 1.8ENTER0.3− 1.5
- 1.1ENTER0.3− 0.8
ENTER enter (on the HP, puts the number on the stack)
Quick example
Regress 60 monthly stock excess returns on the index's: the slope b̂₁ is the beta estimate, here 1.24.
Quick example
β̂ = 0.75, standard error 0.10, t_c = 2.01: 0.75 ± 0.201 = 0.55 to 0.95.
- 2.01×0.1=STO1 0.201
- 0.75−RCL1= 0.549
- 0.75+RCL1= 0.951
STO store · RCL recall a stored number
- 2.01ENTER0.1×STO1 0.201
- 0.75RCL1− 0.549
- 0.75RCL1+ 0.951
ENTER enter (on the HP, puts the number on the stack) · STO store · RCL recall a stored number
Quick example
β̂ = 0.8 and the market risk premium falls by 1.0 point: 0.8 × (−1.0) = −0.8 point.
- 0.8×1+|-= −0.8
+|- change sign
- 0.8ENTER1CHS× −0.8
ENTER enter (on the HP, puts the number on the stack) · CHS change sign
All Quantitative Methods formulas, every lesson
Practice exam-style questions on Simple Linear Regression in Finance
Questions about this lesson?
Where this comes back
- The CAPM, the Market Model and Factor Models Equities
- Portfolio Risk and Return: Part II (CAPM and Performance Measures) Portfolio Construction
Questions candidates ask
How do you estimate beta with a regression?
Collect the asset's returns, a market index's returns and a short-term government bill rate. Subtract the bill rate from both returns, regress the asset's excess returns on the market's by ordinary least squares, and read the slope. Monthly returns over three to five years or weekly returns over one to three years are typical.
What does R-squared mean in a CAPM regression?
It is the share of the variance of the asset's excess returns that the market's excess returns explain: the systematic part. An R² of 0.54 means 54% systematic and 46% idiosyncratic. It is not beta: a stock can be very sensitive to the market and still have a low R².
How do you build a confidence interval for beta?
Take the slope and add and subtract the critical t-value times its standard error, with n − 2 degrees of freedom. A slope of 1.24 with a standard error of 0.15 and 58 degrees of freedom gives 1.24 ± 2.002 × 0.15, about 0.94 to 1.54.
Spotted an error? Tell us and we will fix it.