Skip to main content

Quant Analytics: from scratch to pro · Statistics for markets · Advanced

Regression, beta and alpha

Regressing an asset's returns on a benchmark's returns splits them into a part that moves with the benchmark (beta), a part that does not (alpha and noise), and tells you how much of the variation the benchmark explains. The estimates are noisy, and regressing prices instead of returns produces false relationships.

4 min read Reviewed Revision 1

In this lesson

  • Compute beta as covariance over variance and alpha as the intercept
  • Read R-squared as the share of variance explained and derive the residual volatility from it
  • Estimate how uncertain a beta and an alpha are
  • Explain why regressions of price levels on price levels mislead

Read first: How sure is an average? Standard error and confidence intervals, Correlation and its limits

Standard error of beta against the number of observations

0.05 0.10 0.15 0.20 0.25 0.30 123660120240 Observations (months)
Standard error of beta. Computed from the formula for the example asset (volatility 24%, market 16%, correlation 0.7), not from market data. Short windows give wide uncertainty about beta.

Worked numbers

Each result is recomputed from the formula shown.

WhatFormulaResult
sample covariance of the five-day example5.4
sample variance of market returns in the example3.7
beta of the five-day examplecov5 / var51.46
alpha of the example, in percent per day0.4 - beta5 * 0.20.11%
R-squared of the five-day examplecov5**2 / (var5 * 8.3)94.95%
beta from correlation and volatilities0.7 * 0.24 / 0.161.05
R-squared0.7**249%
residual volatility0.24 * sqrt(1 - r2)17.14%
alpha from mean returns (asset 9%, risk-free 2%, market 7%)(0.09 - 0.02) - beta * (0.07 - 0.02)1.75%
standard error of alpha, 10 yearsresid / sqrt(10)5.42%
t-statistic of alphaalpha / se_alpha0.32
standard error of beta, 60 monthly observations(resid / 0.16) / sqrt(60)0.14
lower end of beta intervalbeta - 1.96 * se_beta600.78
upper end of beta intervalbeta + 1.96 * se_beta601.32

Check yourself

The covariance of an asset with the market is 5.4 and the market variance is 3.7 (both in squared percent). What is beta?

5.4 / 3.7 = 1.46. The asset has moved about 1.46 percent for each 1 percent in the market.

An asset has a volatility of 24%, the market 16%, and the correlation is 0.7. What are beta and R-squared?

Beta = 0.7 x 24 / 16 = 1.05. R-squared = 0.7^2 = 0.49, so the market explains 49% of the variance.

With that asset, what is the residual volatility?

24% x sqrt(1 - 0.49) = 17.14%. This is the part that does not move with the market.

Over 10 years the fitted alpha is 1.75% a year with a residual volatility of 17.14%. Is it distinguishable from zero?

The standard error is 17.14% / sqrt(10) = 5.42%, so t = 0.32. Not at all.

Why is a regression of one trending price on another unreliable?

Two unrelated series that both wander upward or downward show high R-squared and apparently strong significance. This is the spurious regression of Granger and Newbold. Regress returns, which are far closer to stationary.

Key terms

BetaAlphaR-squaredStandard error

Sources

Informational content. Not investment advice.