Basic Prerequisites: 03 · Factor Construction and Linear Algebra & Matrices (inverse matrices, projections, GLS).


1. Intuition & Practical Objective

The Fama–French factors of the previous pages are macro-style traded spreads. Commercial portfolio risk models (MSCI Barra, Axioma) flip the regression cross-sectionally: they treat the asset characteristics (B/M, earnings yield, size, momentum, volatility) as the known exposures , and estimate the factor returns by regressing, at each time step, the whole cross-section of asset returns on those exposures. The practical objective: produce (a) a realized factor return for each style each period, (b) a factor covariance matrix for risk, and (c) a portfolio-level risk decomposition - the machinery a risk system runs daily.

The two regression directions, contrasted:

Time-series (FF)Cross-sectional (Barra/Axioma)
Regressasset returns on factor returnscross-section of asset returns on exposures
Known (traded factor portfolios) (standardized characteristics)
Estimatedloadings per assetfactor returns per period
Used forperformance attribution, alpharisk model, factor P&L, portfolio attribution

2. Mathematical Ground Truth & Derivations

2.1 The cross-sectional factor model (Tsay §9.3.1, eqs. 9.1–9.4)

Each period, for all assets:

where is the vector of returns, the matrix of standardized factor exposures (z-scores of B/M, momentum, earnings yield, size, etc.), the realized factor returns, and the asset-specific residuals with (the specific-risk matrix).

2.2 WLS/GLS estimation - the two-step Barra recipe (Tsay eq. 9.7–9.8)

Because residuals have unequal variance, use weighted least squares with weights (diagonal inverse specific-risk):

Equivalently this is GLS with . In practice Barra does a two-step OLS → GLS refinement (Tsay eq. 9.8): estimate OLS factor returns, use the residuals to estimate specific variances , then re-run with the inverse-specific-risk weights.

Factor-mimicking portfolio (Tsay §9.3.1). The estimator is linear in returns, , with

an matrix whose -th column is the portfolio of assets that mimics the -th factor’s return - long high-exposure names, short low-exposure ones, optimally tilted by inverse specific risk.

Industry special case. If a block of is industry dummies, the corresponding factor return is (up to weighting) the industry-mean return - OLS recovers exactly the industry-average return (Tsay §9.3.1).

2.3 Covariance factorization - the risk model (Tsay eq. 9.3)

Given factor covariance and specific-risk diagonal , the asset covariance is

This is the entire point of the model: instead of estimating the pairwise covariances (ill-conditioned when is large), estimate the factor covariance plus specific variances. A portfolio’s factor risk is then .

2.4 Fama–MacBeth second pass (cross-sectional risk premiums)

The FF cross-sectional pass (FF1992) regresses each period’s returns on the estimated loadings to recover factor risk premiums: monthly regressions , then average the slopes over time, , with -statistic . This is what produced FF1992’s headline: size slope /month () and beta slope only 0.46 standard errors from zero.


3. Computational Implementation - one cross-section of Barra-style WLS + covariance count

Stdlib only. Simulate assets with known exposures and true factor returns, estimate the factor returns by WLS (inverse-specific-risk weights), and demonstrate the covariance-dimension reduction.

The WLS recovers all three factor returns near their true values (the residual error is the specific-risk noise), and the covariance factorization collapses 11,175 pairwise covariances to just 156 parameters - a 72× reduction, which is why a factor risk model is numerically tractable where a full covariance is not.


4. Failure Modes & First-Principles Breakdowns

  1. Exposure quality is everything. The cross-sectional model assumes (standardized fundamentals) is measured correctly and point-in-time. Restatements, stale book values, and look-ahead in the exposures directly corrupt (see Accounting Quality & Red Flags).
  2. Multicollinear exposures. If several exposure columns are near-linear (five value variants), is near-singular and individual factor returns explode while the fit is fine - the same mechanism as 05 · Failure Modes.
  3. Specific-risk misspecification. If is wrong (residuals are not independent or the variances are stale), WLS is suboptimal and the factor covariance is biased - the risk model understates portfolio tail risk exactly when markets stress.
  4. Factor-return estimation is unstable under regime shifts. Cross-sectional betas and factor P&L rotate with the market; a model fit in one regime misprices the next (see Kalman Filtering for time-varying exposure estimation).

5. References

  • Tsay, Analysis of Financial Time Series
  • Fama & French, “The Cross-Section of Expected Stock Returns” (JF, 1992)
  • MSCI Barra / Axioma risk-model documentation
  • Hastie et al., The Elements of Statistical Learning

6. Connected Graph Bridges