The context
For traders/market makers on interest rate swaps desks, it is essential to have a model that transforms risk from its most complex representation (i.e. a ladder of every tenor) into a less complex one (i.e. a reduced ladder with the main tenors).
Example: consider the base risk ladder $S$ which displays your risk in every tenor: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 20, 25, 30, 35, 40, 45, 50}. Traders always need to know their exposure to the main curves, e.g. 2s5s, 5s10s, and 10s30s. So it is essential to find a model that transforms $S$ into a reduced representation, $S'$, which displays the portfolio's exposure to e.g. {1, 2, 5, 10, 30}.
(This transformation displays our exposure to 2s5s, 5s10s, and 10s30s.)
Existing solutions
Different traders and risk managers have different methods for doing this. A few that people commonly use are
Jacobian matrix transformations
OLS regressions
These approaches are documented online if you look hard enough.
My question
Can we use PCA to create the transformation $S\rightarrow S'$, outlined above?
I've been playing around with PCA for the first time lately, and all of the online resources demonstrate how the first 3 principal components can be used to explain the following in terms of interest rate risk and market moves:
PC1: Outright exposures (parallel curve moves)
PC2: Curve exposures (steepening and flattening curve moves e.g. 5s10s, 10s30s)
PC3: Fly exposures (moves in things like 2s5s10s, 5s7s10s, 10s20s30s)
The ability of PCA to explain these different types of exposures makes me think that it must be possible to use it to transform the risk as we have demonstrated above. The transformations described above are done precisely to model broad curve and fly exposure, as PC2 and PC3 explain.
However: I'm struggling to find anything online, and I'm a little rusty on my maths and am struggling to figure it out for myself.
I'm sure that the following principle components could be used to transform the risk ladder in the following ways:
PC2: $S\rightarrow S_\text{curves}$ = {1, 2, 5, 10, 30, 50}
PC3: $S\rightarrow S_\text{flies}$ = {1, 2, 5, 7, 10, 20, 30, 40, 50}
Your answer
Ideally your answer would have a mathematical and logical explanation. Even better would include some code. Would be great to see some references or resources too. Thanks!