Math Atoms
By the end you will be able to
- 1Build a covariance matrix from the single-index model, Σ = ββ′σm² + D, and say what it assumes.
- 2Describe the Fama-French three- and five-factor models and Carhart's momentum factor.
- 3Estimate a fund's factor exposures by multiple regression and read what is left as alpha.
- 4Count the inputs a factor model saves, and explain why that matters for optimisation and risk.
Why it matters
RiskAtoms Value Income beat CAPM by 3.0% a year. Is its manager brilliant, or did the fund just hold the kind of shares that tend to do well? A factor regression answers that in one line, and the same idea lets a risk team describe 2,000 shares with a handful of numbers each.
Core explanation
A few common drivers, plus noise
L3.1.06: Many assets and the covariance matrix showed that assets need covariances. For 100 shares that is 4,950 numbers, each estimated with error. A factor model cuts this down by assuming that shares move together only because they respond to a few common factors.
The single-index model. William Sharpe proposed it in 1963: one factor, the market. Each asset's return is , as in L3.1.09: CAPM, beta and the security market line, with one extra assumption: the specific parts of different assets are unrelated. Then any two assets covary only through the market, and the whole matrix follows from three numbers per asset.
| Inputs for n assets | Full model | Single index | 3-factor model |
|---|---|---|---|
| Formula | n(n + 3) ÷ 2 | 3n + 2 | 5n + 9 |
| n = 100 | 5,150 | 302 | 509 |
| n = 1,000 | 501,500 | 3,002 | 5,009 |
The price of the shortcut is the assumption. Two banks share more than the market: they respond to the same interest rate and credit news. The single-index model leaves that out. In the data below, the two banks' correlation is 0.54, but the model gives only 0.45.
ExploreSix shares: the full matrix against the single-index shortcut
Correlations from 60 illustrative months.
Show
| RA Bank | Second bank | Water utility | Software | Oil producer | Supermarket | |
|---|---|---|---|---|---|---|
| RA Bank | 1.00 | 0.54 | 0.43 | 0.56 | 0.37 | 0.39 |
| Second bank | 0.54 | 1.00 | 0.21 | 0.42 | 0.34 | 0.46 |
| Water utility | 0.43 | 0.21 | 1.00 | 0.46 | 0.23 | 0.19 |
| Software | 0.56 | 0.42 | 0.46 | 1.00 | 0.31 | 0.48 |
| Oil producer | 0.37 | 0.34 | 0.23 | 0.31 | 1.00 | 0.17 |
| Supermarket | 0.39 | 0.46 | 0.19 | 0.48 | 0.17 | 1.00 |
Every pair estimated separately: 15 correlations, each with its own noise.
Multi-factor models. Add more factors and the model catches more of the co-movement: . Each loading is an exposure. Factors can be macroeconomic (growth, inflation), statistical (principal components), industry and country groups, or long-short portfolios built from firm characteristics. The last kind is the Fama-French family.
Fama and French. After finding that size and book-to-market explained average returns better than beta (L3.1.10: Using and testing CAPM), Eugene Fama and Kenneth French built factors from them in 1993. Carhart added momentum in 1997, and Fama and French added profitability and investment in 2015:
| Factor | What it is | In |
|---|---|---|
| MKT | Market minus risk-free | CAPM, FF3, Carhart, FF5 |
| SMB | Small minus big (size) | FF3, Carhart, FF5 |
| HML | High minus low book-to-market (value) | FF3, Carhart, FF5 |
| MOM | Past-year winners minus losers | Carhart |
| RMW | Robust minus weak profitability | FF5 |
| CMA | Conservative minus aggressive investment | FF5 |
Two uses, one regression. Regress a fund's excess return on the factors (M-D03: Linear regression). For performance, the intercept is the return the factors do not explain: a stricter alpha than CAPM's, because tilts that anyone can buy cheaply (value, size, momentum) are no longer counted as skill. For risk, the loadings say which factors the fund is betting on, and gives its covariance with every other position.
Illustrative dataFactors and three RiskAtoms Group funds
60 made-up months of the six factors, using the module's market series, and three RiskAtoms Group funds built from loadings we chose. Not the real Fama-French data, which are published free on Kenneth French's website. Annual averages and volatilities:
| Factor | MKT | SMB | HML | MOM | RMW | CMA |
|---|---|---|---|---|---|---|
| Mean | 6.0% | 2.4% | 3.6% | 7.2% | 3.0% | 3.0% |
| Volatility | 15.6% | 10.4% | 10.4% | 15.1% | 6.9% | 6.8% |
Factor correlations in these data. As in published data, value and investment move together, and momentum leans against value:
| MKT | SMB | HML | MOM | RMW | CMA | |
|---|---|---|---|---|---|---|
| MKT | 1.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| SMB | 0.00 | 1.00 | 0.02 | −0.02 | −0.15 | 0.02 |
| HML | 0.00 | 0.02 | 1.00 | −0.28 | −0.02 | 0.58 |
| MOM | 0.00 | −0.02 | −0.28 | 1.00 | 0.01 | 0.04 |
| RMW | 0.00 | −0.15 | −0.02 | 0.01 | 1.00 | 0.02 |
| CMA | 0.00 | 0.02 | 0.58 | 0.04 | 0.02 | 1.00 |
The formal version
Multi-factor covariance. Stack the loadings in an matrix , write for the covariance matrix of the factors and for the diagonal matrix of specific variances. With , factors unrelated to the s, and s unrelated to each other:
With one factor, is the column and , which gives back the single-index formula. Counting inputs: the full model needs means, variances and covariances; a -factor model needs alphas, loadings, specific variances, factor means and factor covariances:
The regressions. With excess returns on the left and the long-short factors on the right:
Least squares in matrix form gives all the coefficients at once, , with standard errors from the diagonal of and (M-D03: Linear regression). Since the factors are excess returns on portfolios, the model also gives an expected return: , the APT form of L3.1.12: Arbitrage pricing theory.
Omitted factors
Try it
Start with Value Income and the CAPM model: an alpha of 3.0% a year. Switch to Fama-French 3 and watch HML take most of it. Then try the Momentum fund: FF3 and FF5 leave a large alpha and a negative HML loading; Carhart 4 finds the momentum loading and the alpha shrinks. Reveal the true loadings to check.
Try itRun a factor regression
Fund
Model
Or pick factors one by one
| Term | Estimate | SE | t |
|---|---|---|---|
| α (a month) | 0.250% | 0.313% | 0.80 |
| MKT | 0.950 | 0.070 | 13.65 |
Green t values are significant at the 5% level.
Worked example
Two calculations by hand
1. A 3 × 3 single-index covariance matrix. RiskAtoms Bank, the water utility and the software company, with market volatility 16% a year. Illustrative inputs.
Σ = ββ′σm² + D
Step 1 of 4- 1
The inputs
2. Reading a factor regression. RiskAtoms Value Income, 60 months, CAPM against Fama-French 3.
| Model | α a year (t) | MKT | SMB | HML | R² |
|---|---|---|---|---|---|
| CAPM | 3.00% (0.80) | 0.95 (13.6) | – | – | 0.762 |
| FF3 | 0.66% (0.26) | 0.95 (20.6) | 0.08 (1.2) | 0.60 (8.6) | 0.900 |
What the regression says
Step 1 of 5- 1
The value tilt
HML has a loading of 0.60 with t = 8.6: the fund behaves like the market plus 0.60 of a long-value, short-growth portfolio.
All five models for all three funds are in the Try it tool: 3 funds × 5 models.
Regulatory lens · looking ahead
Commercial equity risk models used by banks and asset managers are multi-factor models of exactly this form, with industry, country and style factors. Regulators meet the same structure in the market risk standard, where positions are mapped to prescribed risk factors with prescribed correlations (M4.3: Market risk capital (FRTB) and CVA), and in internal models, where factor choice is a model risk question (M6.2: Market risk modelling, M6.8: Model risk, validation and machine learning). Mapping positions to factors is the first step in M3.2: Market risk.
Spark Atoms
Spark AtomThe data are free
Spark AtomToo many factors
Key takeaways
- The single-index model assumes assets covary only through the market: Σ = ββ′σm² + D, three numbers per asset.
- Multi-factor models generalise this to Σ = BΩB′ + D and cut the inputs from about n²/2 to a few per asset.
- Fama-French 3 adds size (SMB) and value (HML) to the market; Carhart adds momentum; Fama-French 5 adds profitability (RMW) and investment (CMA).
- Factor loadings come from a multiple regression of excess returns on the factors; the intercept is the alpha the factors cannot explain.
- Leaving out a factor the fund loads on pushes that factor's return into alpha: a tilt can look like skill.
Reaction
Check what stuck
Question 1 · objective 1
Under the single-index model, two shares have betas 1.2 and 0.8, and the market's volatility is 20%. What is their covariance, to four decimal places?
Question 2 · objective 1
Same model: a share has beta 1.2 and specific volatility 25%; the market's volatility is 20%. What is its variance, to four decimal places?
Question 3 · objective 4
How many numbers does a full mean-variance model need for 50 assets (means, variances and covariances)?
Question 4 · objective 3
A fund has a CAPM alpha of 3% a year. In a Fama-French three-factor regression its HML loading is 0.6 (t = 8) and its alpha falls to 0.7% (t = 0.3). What is the best reading?
Question 5 · objective 2
Which factor did Carhart (1997) add to the Fama-French three-factor model?
Glossary
- Factor model
- A model that explains each asset's return by its exposures to a few common factors plus its own noise.
- Single-index model
- A one-factor model with the market as the factor: Rᵢ = αᵢ + βᵢRm + εᵢ, with unrelated εᵢ across assets.
- Factor loading
- An asset's sensitivity to a factor: the slope on that factor in a regression. Also called a factor exposure or beta.
- Long-short factor
- A factor built as the return on one group of shares minus another, such as small minus big: it costs nothing to hold in principle.
- SMB
- Small minus big: small firms' average return minus large firms'.
- HML
- High minus low: the return on high book-to-market (value) shares minus low book-to-market (growth) shares.
- MOM
- Momentum: the return on the past year's winners minus the past year's losers.
- RMW
- Robust minus weak: high operating profitability minus low.
- CMA
- Conservative minus aggressive: firms that grow their assets slowly minus those that grow them fast.
Deep Dives & Origins
Deep Dives
- E. J. Elton, M. J. Gruber, S. J. Brown and W. N. Goetzmann, Modern Portfolio Theory and Investment Analysis, Wiley, the chapters on single-index and multi-index models. Intermediate.
- K. R. French, Data Library, Tuck School of Business at Dartmouth,mba.tuck.dartmouth.edu/pages/faculty/ken.french/data_library.html. Data.
Origins
- W. F. Sharpe, “A Simplified Model for Portfolio Analysis”, Management Science 9(2), 1963.
- E. F. Fama and K. R. French, “Common Risk Factors in the Returns on Stocks and Bonds”, Journal of Financial Economics 33(1), 1993.
- M. M. Carhart, “On Persistence in Mutual Fund Performance”, Journal of Finance 52(1), 1997.
- E. F. Fama and K. R. French, “A Five-Factor Asset Pricing Model”, Journal of Financial Economics 116(1), 2015.
- C. R. Harvey, Y. Liu and H. Zhu, “… and the Cross-Section of Expected Returns”, Review of Financial Studies 29(1), 2016.
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.