Principal components
Diagonalise the covariance matrix: with eigenvalues . The eigenvectors (columns of ) are the principal components: uncorrelated portfolios, ordered by how much variance they carry. The -th explains a fraction
of total variance. The first PC is the direction of greatest variance; each later one is the greatest variance direction orthogonal to those before it.
Standardise variables (use the correlation matrix) when they are in different units or have very different scales; otherwise the most volatile variable dominates the first PC.
What the components look like
- Equities. The first PC has roughly equal weights on every stock: the market. Later PCs resemble sectors and styles.
- Yield curves. Three components explain nearly all daily moves: level (all rates move together, typically 80–90% of variance), slope (short and long ends move oppositely) and curvature (the middle moves against both ends).
If assets share a correlation , the first eigenvalue of the correlation matrix is out of a total of . With ten assets at , the market factor explains of the variance.
Factor models
A factor model writes returns as exposure to a few common factors plus independent noise:
with the matrix of loadings, the factor covariance and diagonal. It needs far fewer parameters than a full covariance matrix, which makes estimates more stable and always PSD. The factors can be statistical (principal components) or fundamental (market, size, value, momentum, industries).
Residuals from a factor model are a natural place to look for stat-arb signals: the part of a stock's move that its factor exposures do not explain.
Worked example
counting parameters
How many parameters are needed for a full covariance matrix of 500 stocks, compared with a 5-factor model?
Show solutionHide solution
A symmetric matrix has free entries.
The factor model needs loadings, factor covariances and 500 specific variances: in total, about 40 times fewer. With, say, two years of daily data (about 500 observations per stock), the full matrix cannot even be full rank.
Knowledge check
A covariance matrix has eigenvalues 6, 3 and 1. What fraction of total variance does the first principal component explain?
Knowledge check
How many distinct parameters does the covariance matrix of 100 assets have?
Knowledge check
You run PCA on daily changes in yields across maturities. What does the first component usually represent?
Practice problems
Finished reading?
Answer the 3 knowledge checks to complete this lesson (0 done).