Learn / Track II / lesson 3 of 4
Regression, beta and alpha
Splitting a strategy's return into what the market gave you for free and what you actually added.
When a strategy makes money, the first question is whether it did anything clever or simply held the market in a rising year. Linear regression answers it.
The market model
Regress the strategy’s excess return on the market’s excess return:
- measures exposure to the market. A beta of 1.2 means the strategy tends to move 1.2% for every 1% market move.
- is the average return left over after paying for that exposure. This is the part you can claim as skill.
- is idiosyncratic noise, uncorrelated with the market by construction.
Ordinary least squares
OLS picks and to minimise the sum of squared residuals. For a single regressor the solution is
With many regressors in a matrix , it is .
The standard error of shrinks with more data and more variation in the regressor. The t-statistic tests whether the coefficient differs from zero; values above about 2 are conventionally “significant”, though in strategy research you should demand much more.
R-squared
is the fraction of variance in explained by the regressors. For a market-neutral strategy you want low against the market. For a hedge you want high. It says nothing about whether the relationship is causal or stable.
Multi-factor models
Beyond the market, returns load on other systematic factors: size, value, momentum, quality, low volatility, and in crypto, BTC beta and funding-rate carry. Regressing on several factors at once,
often shows that an apparently novel strategy is mostly a known factor in disguise. The residual alpha is usually much smaller than the raw return.
A crypto strategy returns 40% in a year when BTC returns 60%. The regression gives and . The strategy did not add value: it was a slightly de-levered BTC position. Holding 0.8 BTC per unit of capital would have done the same thing with no code.
Assumptions that bite in finance
- Constant coefficients. Betas drift. Use rolling or exponentially weighted regressions to see how much.
- Homoskedastic, uncorrelated errors. Financial residuals are neither. Use robust (Newey–West) standard errors for t-stats on overlapping or autocorrelated returns.
- No look-ahead. Regressors must be known at the time of the trade. A factor built from end-of-month data cannot explain returns earned during that month.
Reporting alpha from a regression fitted on the same data used to design the strategy. The alpha is then partly a measure of how hard you searched. Fit on one period, evaluate on another.