Part 02 / 16
The Factor Model Equation
2.1 The fundamental equation
For a universe of stocks and factors, over one period (a day, a week, a month), the factor model states that each stock’s return decomposes as:
or, stacking all stocks into vectors, in matrix form:
Dimensions and units cause more real-world bugs here than any conceptual difficulty.
| Symbol | Dimensions | What it is | Units / typical values |
|---|---|---|---|
| Asset returns over the period | Return (e.g. 0.042 = 4.2%) | ||
| Exposure matrix: row = stock ‘s exposures to all factors | Dimensionless. Dummies or style z-scores roughly | ||
| Factor returns over the period | Return. Same units as | ||
| Specific (idiosyncratic) returns | Return. Same units as |
A few things to read off this equation:
-
is a weighted sum for each stock: Stock ‘s systematic return is row of (its exposures) dotted with (the factor returns): multiply each exposure by its factor’s return, then add the products.
Take stock AXIOM from the Mini Example with market exposure 1.0, tech-industry exposure 1.0, 0.0 exposure to the other industries, momentum exposure 1.198, value exposure −1.228, and size exposure 0.710. (Those exposures are built in Chapter 3 and the factor returns estimated in Chapter 6; here, take them as given.) Multiplying each exposure by its factor return for this period and adding everything up gives a total return of 4.30%:
Factor Exposure Factor return Exposure × return MKT 1.000 1.821% 1.82% TECH 1.000 0.768% 0.77% CONS 0.000 0.306% 0.00% FIN 0.000 −1.282% 0.00% MOM 1.198 1.962% 2.35% VALUE −1.228 0.548% −0.67% SIZE 0.710 0.046% 0.03% Total 4.30% -
Exposures are known at the start of the period, returns happen over the period: Strictly speaking, the equation is . The time subscripts are dropped when working within a single period, but the lag is important in practice (see look-ahead bias, Chapter 16).
-
Exposures are dimensionless: A momentum factor return of 1.96% means: a stock with momentum exposure 1.0 earned 1.96% more this period than an otherwise identical stock with momentum exposure 0.0.
The equation as written is pure accounting: any can be split into once you decide how to determine (Chapter 6). What turns the accounting identity into a model is the set of statistical assumptions placed on and .
2.2 The assumptions, and what each one buys
A1. Specific returns have zero mean: .
Everything systematic, anything with a nonzero expected payoff that is shared across stocks, belongs to the factor part. Specific return is a surprise.
A2. Specific returns are uncorrelated with factor returns: for all .
The decomposition is clean: there is no leakage between the systematic and idiosyncratic parts. When is estimated by regression (Chapter 6), this holds in-sample by construction. It is the defining property of least squares residuals.
A3. Specific returns are uncorrelated across stocks: for .
This is the key assumption, and the only genuinely substantive one: it says the factors capture all common movement, leaving residuals that are purely stock-specific. Whether it holds depends on whether the factor set is rich enough.
Assumption A3 can fail for different reasons. For example, you can have linked securities: two share classes of the same company, an ADR and its underlying, or a holding company and its main subsidiary. The residuals of linked securities are clearly correlated. In practice, this is handled with explicit linked-issuer treatment: off-diagonal specific covariance blocks for linked securities, or forcing linked lines to share factor exposures (Chapter 5).
Missing factors are another reason why A3 can fail. If the model has no “crowding” factor and crowded stocks de-leverage together, that common move lands in the residuals and shows up as residual correlation among crowded names. Detecting such clusters is exactly how candidates for new factors are found (Chapter 15).
What these assumptions buy: Take the covariance of both sides of to calculate the asset covariance . Since is fixed (the exposures are known at the start of the period), it passes outside the covariance, and expanding the right-hand side gives four terms:
Now the assumptions do the work. By A2, factors and specific returns are uncorrelated, so both cross terms are zero. Write for the factor covariance matrix and for the specific covariance. By A3, is diagonal, with each stock’s specific variance on the diagonal: . What survives is:
This is the covariance decomposition and shows how the dimensionality problem is solved. The full asset covariance matrix comes from three small pieces: the factor covariance , the exposures , and the specific variances on the diagonal of .
2.3 Parameter counting: the payoff, in numbers
Count the parameters on each side for an institutional-scale model, stocks and factors:
| Quantity | Count | |
|---|---|---|
| Unstructured | distinct entries of : | 4,501,500 |
| Factor model | factor covariances: | 2,485 |
| exposures: | 210,000 | |
| specific variances: | 3,000 | |
| total | 215,485 |
That is a 95% reduction in raw count, and the count still understates the gain. In the fundamental-model architecture the 210,000 exposures are not statistically estimated at all. They are measured from observable characteristics (industry membership, balance-sheet ratios, Chapter 3), so the genuinely statistical burden is only the 2,485 factor covariances and 3,000 specific variances, each estimable from a long, stable time series (Chapter 8). Conditioning helps too: the factor-model is automatically positive semi-definite and well-conditioned, where the sample covariance matrix of 3,000 stocks on a few years of data is singular. Positive semi-definite means every portfolio variance comes out , never a negative number for a quantity that is a variance. Well-conditioned means the eigenvalues span a moderate range rather than a huge one, so the matrix is far from singular. Singular means at least one eigenvalue is exactly zero: with fewer monthly observations than stocks the sample matrix is rank-deficient by construction and cannot be inverted.
2.4 From asset risk to portfolio risk
A portfolio is a vector of weights (, summing to 1 for a fully invested long-only fund). Its return is , and substituting the model:
The vector holds the portfolio’s factor exposures: the weighted average of its holdings’ exposures. This is the central object of practical risk management: a 3,000-line portfolio compresses to ~70 meaningful numbers.
Portfolio variance follows from the covariance decomposition:
Because is diagonal, the specific term is just a weighted sum of the individual specific variances: .
The split has immediate consequences:
- Specific risk diversifies. Factor risk does not. The specific term is a sum of squared weights. For an equal-weighted portfolio of stocks each with specific volatility , specific variance is . The factor term has no such decay: holding more stocks does nothing to reduce market exposure. Diversification eliminates idiosyncratic risk and concentrates what remains into factor risk.
- Risk analysis splits into two independent ledgers: a -dimensional factor ledger ( against ) and a per-position specific ledger (). Chapter 9 builds the full attribution machinery on this split.
The same algebra applies to active management. With benchmark weights , the active portfolio has active exposures and tracking error . Note that sums to zero, not 1: it is a set of over- and underweights, not a standalone portfolio, so the long-only normalization above does not apply to it. Everything in this series that works for total risk works for active risk by substituting with .
2.5 Returns conventions
Real implementations have to pin down a handful of returns conventions. Mixing those up can lead to errors that are difficult to track down.
- Arithmetic vs. log returns: Factor models are linear in arithmetic (simple) returns: portfolio returns aggregate across assets linearly (), which is what the model needs. Log returns aggregate across time but not across assets. Standard practice: arithmetic returns within a period, compounded carefully across periods (see Chapter 10 for multi-period linking).
- Total vs. excess returns: Risk models are typically fitted on returns in excess of the risk-free rate, though over daily or monthly horizons the distinction barely moves risk numbers.
- Local vs. base currency: A USD-based investor holding a Japanese stock earns the local return plus the JPY/USD currency return: . Multi-country models separate these with explicit currency factors so that hedged and unhedged perspectives are both available (Chapter 15).
- Frequency and horizon: A model estimated on daily returns and one estimated on monthly returns are different models with different uses (Chapter 8). Annualization conventions: multiply a variance by the periods per year, 252 trading days or 12 months, and volatility by the square root of the same.
2.6 Worked example: five stocks, two factors, by hand
Small enough to do on a calculator. Watch the structure, not the arithmetic. Universe of 5 stocks, factors: market (everything has exposure 1) and value (a z-score, Chapter 3 explains where it comes from).
Annualized factor model: market volatility 16%, value factor volatility 4%, correlation :
Specific volatilities: 20%, 25%, 18%, 30%, 22%, so .
Step 1: portfolio exposures :
The portfolio behaves like one asset with market beta 1.0 and a mild value tilt of +0.235.
Step 2: factor variance :
Step 3: specific variance :
Step 4: total risk:
Decomposition: factor volatility , specific volatility . The factor share of variance is . (Note that volatilities do not add, , but variances do. Risk decomposition always happens in variance units. Chapter 9 returns to this.)
Even this 5-stock toy shows the shape of a real portfolio: most of the risk is factor risk, dominated by the market term. The value tilt adds almost nothing to total risk here (its variance term is 0.000088), but it would dominate the active risk against a market-like benchmark, exactly the situation engineered in the mini example.
2.7 Summary
- The model: , with exposures known at the start of the period.
- The assumptions: specific returns have zero mean, are uncorrelated with factors, and are uncorrelated with each other. The third is the important one. Its failures (linked securities, missing factors) are diagnosable and fixable.
- The payoff: , millions of covariances generated by only thousands of meaningful parameters, always positive semi-definite, always invertible.
- Portfolio risk: with . The idiosyncratic term goes to zero as the portfolio size increases, the factor term stays. Active risk is the same algebra applied to .
Left for later chapters: where comes from (Chapter 3), where comes from (Chapter 6), and where and come from (Chapter 8).