EconStatsCraft › CAPM / beta estimation

CAPM / beta estimation

Regresses an asset’s return on the market’s to recover its beta and alpha, splits its variance into the part the market explains and the part it does not, and tracks how the beta moves over a rolling window.

What it needs

Frequently asked questions

What is beta in CAPM?

Beta measures how much an asset's return moves with the market. A beta of 1 moves one for one with the market, above 1 amplifies market moves, below 1 dampens them. In CAPM, beta is the only risk that earns a premium, because diversification removes the rest.

How do you calculate beta?

Beta is the covariance of the asset's excess return with the market's excess return, divided by the variance of the market's excess return. Equivalently, it is the slope of a regression of the asset's excess returns on the market's, which is how this calculator estimates it.

What is the CAPM formula?

Expected return = risk-free rate + beta × (expected market return − risk-free rate). The term in brackets is the equity risk premium, and beta scales it to the asset's exposure to market risk.

What is Jensen's alpha?

Jensen's alpha is the intercept of the CAPM regression: the average return an asset earned above what its beta predicted. A positive, statistically significant alpha suggests outperformance after adjusting for market risk; an insignificant one means the returns are explained by beta alone.

What does a beta of 1.5 mean?

It means the asset has tended to move 1.5 per cent for every 1 per cent move in the market, in either direction. It carries more market risk than the average stock, so CAPM requires a higher expected return for holding it.

The intuition

A fund's return moves for two reasons: the whole market moved, and something specific to the fund happened. Regressing the fund's excess return on the market's excess return splits those apart. The slope is beta, how much market risk the fund carries. The intercept is alpha, the part the market does not explain - which is the only part a manager can claim credit for.

When to use it

Estimating a stock or fund's systematic risk, computing a cost of equity, separating skill (alpha) from market exposure (beta), or checking whether a manager's returns are just leverage on the index.

Where the estimator comes from

The Sharpe-Lintner CAPM says expected excess return is proportional to covariance with the market: E[R_i]-R_f=\beta_i\,(E[R_m]-R_f) with \beta_i=\mathrm{Cov}(R_i,R_m)/\mathrm{Var}(R_m). That is a statement about EXPECTATIONS and has no error term. The regression actually estimated is Jensen\'s time-series form, R_{it}-R_{ft}=\alpha_i+\beta_i(R_{mt}-R_{ft})+\varepsilon_{it}, and OLS on it returns exactly the ratio above because the slope of a simple regression IS \mathrm{Cov}(x,y)/\mathrm{Var}(x). The theory\'s prediction is the testable restriction \alpha_i=0: under CAPM there is nothing left over.

The model

R_{i,t} - R_{f,t} = \alpha_i + \beta_i\,(R_{m,t} - R_{f,t}) + \varepsilon_{i,t}

What it assumes

Statistical properties

How to read the output

A worked reading

Fifteen years of monthly returns. Beta = 1.1955 (SE 0.0407), so the fund carries about 20% more market risk than the index, and the t of 4.80 reported beside it tests β = 1 rather than β = 0 - the interesting null for a fund is "as risky as the market", not "unrelated to the market". R² = 0.8287, so the market explains 83% of month-to-month variation and the risk decomposition splits the variance 82.9% systematic against 17.1% idiosyncratic. Alpha is 0.1786% a month, annualising to 2.1438%, with a monthly standard error of 0.1970% and a t of 0.91. That is the number to be careful with: two standard errors on the annualised figure is roughly ±4.7%, so the honest statement is that alpha is somewhere between about -2.5% and +6.9% a year. Consistent with real skill, and equally consistent with none. Fifteen years of monthly data is not enough to separate them, and saying so is more useful than quoting 2.1% as though it were established.

Symptom → diagnosis → what to do

If you see thisIt meansDo this
Alpha large, standard error largerNormal. Alpha is hard to estimateDo not report significance from a short sample
Beta near zero on an equity fundWrong market series, or levels used instead of returnsCheck both series are returns over the same interval
R-squared below 0.3The benchmark does not match the mandateUse the index the fund is actually run against
Beta above 2Leverage, or a single sectorNot an error, but say which it is
Residuals cluster in calm and wild periodsVolatility clustering, as always in returnsAlpha is unaffected; its standard error is not. Use HAC
Alpha vanishes when size and value are addedIt was factor exposure, not skillReport the factor model instead. This is the usual outcome

Common mistakes

Where to read this properly

See also

Factor model, for what alpha becomes once size and value are controlled for. GARCH, for the volatility clustering in the residuals.

Related Finance & risk

Black–Scholes option pricing · Bond price, duration & convexity · Merton distance to default · EMI / home loan planner · Multi-factor model · Portfolio optimization · Value at Risk & Expected Shortfall · Performance & drawdown · Time value of money & NPV/IRR · Equity valuation (DDM, FCF, residual income) · Cost of capital (WACC) · Binomial option pricing · Option strategies (payoff & profit) · Forwards, futures & swaps · Credit risk & Basel capital · Extreme value theory (tail risk)

All analyses

Charts

Line chart · Area chart · Bar chart · Stacked bar · Scatter plot · Bubble chart · Histogram · Box plot · Pie chart · Heat map · Rebased to 100 · Lorenz curve and Gini

Maps

World map · Bivariate map · Flow map · India - state map · India - district map

Explore

Descriptive statistics · Summary by group · Two-way table · Classical statistical tests

Regression

Multiple regression (OLS) · Logit / Probit · Tobit (censored) · Truncated regression · Multinomial logit · Ordered logit / probit · Quantile regression · Poisson / Negative binomial

Time series - one series

Time-varying coefficients (Kalman) · Unit root tests · Correlogram (ACF / PACF) · ARIMA / SARIMA · Rolling-origin cross-validation · Theta method · Unobserved components · STL forecasting · Forecast combination · Markov regime switching · Change frequency (resample) · ARCH / GARCH volatility · Decompose & filter · Spectral analysis · Exponential smoothing · Forecast accuracy

Time series - several series

Yield curve (Nelson–Siegel / Svensson) · Dynamic factor model · Dynamic regression (ARIMAX) · Structural VAR · VAR · Granger causality · Cointegration · VECM · ARDL & bounds test

Panel data

Panel regression · Panel cointegration tests · Heterogeneous panel: Mean Group & PMG · Gravity model of trade · Dynamic panel GMM · Panel diagnostics · Panel unit-root tests

Multivariate statistics

Principal components (PCA) · Factor analysis · Cluster analysis

Marketing research

Conjoint analysis · MaxDiff (best–worst scaling) · TURF - reach of a product line · Price sensitivity (Van Westendorp) · Market basket analysis · Perceptual map · Scale reliability (Cronbach’s alpha) · Key driver analysis

Causal

Spatial autocorrelation · Spatial regression · Heckman selection · Instrumental variables (2SLS) · Difference-in-differences · Staggered difference-in-differences · Regression discontinuity · Matching & weighting · Oaxaca–Blinder decomposition

Finance & risk

Black–Scholes option pricing · Bond price, duration & convexity · Merton distance to default · EMI / home loan planner · CAPM / beta estimation · Multi-factor model · Portfolio optimization · Value at Risk & Expected Shortfall · Performance & drawdown · Time value of money & NPV/IRR · Equity valuation (DDM, FCF, residual income) · Cost of capital (WACC) · Binomial option pricing · Option strategies (payoff & profit) · Forwards, futures & swaps · Credit risk & Basel capital · Extreme value theory (tail risk)

Actuarial

Life table · Life annuity · Life insurance pricing · Chain ladder reserving · Buhlmann credibility · Survival analysis · Mortality graduation · Aggregate loss model · Ruin probability · Multi-state Markov model · Loss severity fitting

Tests & breaks

Monte Carlo experiment · F-test, Wald & Chow · Structural breaks & stability

Machine learning

Regression vs machine learning · Ridge / Lasso / Elastic Net · Random forest · Gradient boosting

Open the workspace →

Starting engine…

EconStatsCraft rigorous, plain-spoken econometrics

Econometrics that explains itself.

Regression, panel data, time series and the whole battery of tests. Every result is followed by a verdict you can defend.

Load a dataset to see it here.