Exam SRM · Unsupervised Learning Techniques · Free Lesson

Principal Components Analysis

Free SOA Exam SRM (Statistics for Risk Modeling) lesson in Unsupervised Learning Techniques. 19 min read, ~2,913 words.

You have 30 correlated risk factors and want a handful of synthetic axes that capture most of the variation. Principal component analysis (PCA) gives you those axes by eigendecomposing the predictor covariance matrix.

Given p predictors X1,…,XpX_1, \dots, X_p, the first principal component Z1Z_1 is the normalized linear combination Z1=ϕ11X1+ϕ21X2+⋯+ϕp1XpZ_1 = \phi_{11} X_1 + \phi_{21} X_2 + \dots + \phi_{p1} X_p with ∑jϕj12=1\sum_j \phi_{j1}^2 = 1 that has the largest sample variance. The coefficients ϕj1\phi_{j1} are the loadings of PC1; stacked, they form the loading vector ϕ1\phi_1.

The second PC Z2Z_2 is the highest-variance normalized linear combination uncorrelated with Z1Z_1. Equivalently, ϕ2\phi_2 is orthogonal to ϕ1\phi_1. You can extract up to min⁡(n−1,p)\min(n-1, p) components in total.

KEY: PCs are new axes, not new variables in the original sense. They live in the same p-dimensional space but rotate it so the first axis points along maximum spread.

PCA is computed on centered data: subtract each predictor's mean so the cloud sits at the origin. Otherwise the first PC just points at the mean.

Read the full lesson, free →
Worked examples and practice. Free with a free account, no card.

Common mistakes

Bottom line

Exam shortcut

If the question asks "how much variance does PC m explain?" compute λm/∑λj\lambda_m / \sum \lambda_j and stop. If predictors have mixed units, assume standardization and total variance = p. If a scree plot shows an obvious bend after component k, keep k components and treat the rest as noise.

The full lesson (about 2,913 words, 19 min read) adds 5 worked examples, all 7 common mistakes, a self-check, free in the app.

Learning objectives

Browse all free Exam SRM lessons or jump into free Exam SRM practice questions.