MAS-II · Statistical Learning · Free Lesson

Compute elements of principal components analysis (PCA) (e.g., loading vectors, variance explained).

Free CAS MAS-II (Modern Actuarial Statistics II) lesson in Statistical Learning. 18 min read, ~2,722 words.

A reserving analyst hands you a development triangle with 12 age-to-age factors per accident year and asks which two synthetic factors capture the bulk of the systematic movement. PCA answers exactly that question.

Why PCA exists. When you have pp correlated predictors, much of their joint variation lives in a lower-dimensional subspace. PCA finds the orthogonal directions that capture variance in decreasing order, giving you uncorrelated synthetic predictors ranked by informativeness.

Let XX be the n×pn \times p data matrix with rows xix_i. PCA requires column-centered data:

x~ij=xij−xˉj\tilde{x}_{ij} = x_{ij} - \bar{x}_j

If columns are on different units (dollars and counts, say), also divide by the sample standard deviation. This is equivalent to running PCA on the correlation matrix rather than the covariance matrix.

DECISION: Mixed units or wildly different variances ⇒ standardize (use correlation). All variables on the same comparable scale ⇒ raw covariance is fine.

The first loading vector ϕ1=(ϕ11,…,ϕp1)⊤\phi_1 = (\phi_{11}, \dots, \phi_{p1})^\top is the unit vector that maximizes the sample variance of the linear combination ϕ1⊤x~i\phi_1^\top \tilde{x}_i:

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

Common mistakes

Bottom line

Exam shortcut

If the problem gives only eigenvalues, compute trace and divide; do not try to recover the loadings. If the problem gives a loading vector and an observation, the score is just the dot product, period. If a problem mixes units without telling you to standardize, assume correlation-matrix PCA and use trace =p=p; the alternative is almost always a trick designed to inflate PC1.

The full lesson (about 2,722 words, 18 min read) adds 8 worked examples, all 6 common mistakes, a self-check, free in the app.

Learning objectives

Browse all free MAS-II lessons or jump into free MAS-II practice questions.