Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

PCA seems to be very popular in dimension reduction applications and for extracting the top PCs which explain the data. One such application in futures is on the term structure to obtain the level, slope and curvature components.

However, since the sign of the PCs can be anything(because +EigenVector and -EigenVector are both valid solutions), how do we infer anything about the slope of the term structure by using the slope PC? The slope could be either positive or negative since the sign of PC is not significant.

How do I handle this sign issue when working with PCA?


share|improve this question

A PCA explains the variation in data. A slope PC is usually identified by the pattern of the signs of the loadings.

If the loadings of short term contracts have the same sign which is different from the sign of the loading of longer term contracts then such a PC is identified as slope PC.

It means that if this PC goes up or down it affects short term contracts in the opposite way to long tgerm contracts. The sign is irrelevant as this holds for up and down moves.

share|improve this answer
I was hoping to use PCA to extract the slope information and implement a contango/backwardation strategy using information about the roll yields inferred by this slope PC. If the sign is arbitrary, I'm left with only the magnitude. Am I missing something? PS - I am trying to replicate the results of this paper: papers.ssrn.com/sol3/papers.cfm?abstract_id=1605211 – Mindstorm Jan 15 '14 at 11:10
Please have a look at my answer here about PCA on yield curves: quant.stackexchange.com/questions/7202/… – Richard Jan 17 '14 at 13:06
another comment: yes the magnitude matters and for interpretation the sign strucutre as I try to piont out above. – Richard Jan 17 '14 at 13:07
The sign of the same loadings can be different across software packages. One thing I have observed across packages is that if the sign of the largest abs(loadings) on the first PC in the range ~0.8-0.9 are negative, then these would be positive when determined using another program. – LEP Jan 29 '14 at 12:56
You are aware of the fact that you can flip all signs simultaneously? If not then I would advise you to study more details on how PCA works. – Richard Jan 29 '14 at 13:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.