# Tag Info

7

PCA(Principal Component Analysis) is the most interesting topic in QF. PCA is at the heart of quantitative data analysis. It is used in factor analysis, factor loadings, finding principal component of interest rate term structure for derivative and option pricing, data compression, eigenfaces( find the best match from a set of pictures with a , say, fuzzy ...

6

PCA gives you a decomposition of the covariance matrix of the form $$\Sigma = V \Lambda V^T$$ where $\Lambda$ is diagonal with the eigenvalues in the diagonal. Your portfolio variance is $$w^T \Sigma w = (V^T w )^T \Lambda (V^T w)$$ On the other hand if you take your return matrix $R$ and define $$F = V^T R$$ then the covariance matrix of these so ...

2

Have you considered using 'incremental' singular value decomposition to calculate your component scores? Each future market move (or increment) forces a recalculation of component scores given the new data. This paper outlines an algorithm to do this Fast Low-Rank Modifications of the Think Singular Value Decomposition This paper develops an identity ...

2

When I use PCA, I follow a few typical steps. First, I would apply PCA to the covariance matrix, I would then designate certain eigenvalues as dominant or significant (such as by those that contribute up to $x\%$ of variance or by RMT), and then I would identify the eigenvectors that match up with those significant eigenvalues. I think you're with me at ...

2

In the chapter that deals with NMF of the book "Programming collective intelligence" , the author did NMF on several stock trading volumes and found some comovement. I googled a little. This did NMF on 40 chinese stock close prices. This developed A variant of nonnegative matrix factorization for Stock Trend Extraction. Another google found this also did ...

2

Perhaps this paper by Hyun Woo Byun and coauthors is what you're looking for: Using a Principal Component Analysis to develop Multi-Currency Trading algorithms in the FX market They apply principal component analysis to a currency basket of 9 pairs with a 2 month rolling window. In a second step, various techniques (logistic regression, decision trees, ...

2

If you look at changes of the points on the yield curve, then you probably find something stationary - right? Applying PCA on the covariance of these changes makes sense. E.g. you will find out that on PC describes a parallel shift (a change in the yield curve). Look at this question too: What do eigenvalues/eigenvectors of the yield/forward rates ...

2

Following @silencer's comment, your formula for variance is wrong. I would suggest that instead of trying to re-invent the wheel, you just use the formula that everyone else uses. So I'd replace your first indented line with $$w^{*}\equiv argmin\left\{ \frac{1}{2}w'\varSigma w-\lambda\left(w'\mathbf{1}-1\right)\right\}$$ which will give you $$... 1 The derivation is correct and given the formula you should get w^{*'} \vec{1} = 1. My guess is that the inversion of the \Omega matrix is numerically badly conditioned. Instead of implementing the formula as it is, have you tried to calculate \vec{1}^{'} \Omega^{-1} and e^{'} \Omega^{-1} only once and rewrite:$$ w^{*\prime} = \frac{1}{2}\left[ ...

1

The paper alternatives between using eigenportfolios and sector/industry ETFs for statistical arbitrage. For instance, sections 2.1-2 vs. 2.3. The trade in Section 4.1 is long some stock and short an appropriate amount of sector/industry ETFs. That being said Sections 5.3 and 5.4 discuss PCA strategies in a backtest, with relatively little additional ...

1

Trying to answer: in the blog post that you mention the author looks at three equity funds and one REIT fund. One could say that these markets are different to FX markets (for various reasons but let's start with the question whether there is a risk premium in FX markets). what he does is the usual PCA analysis on the data. You find various questions in ...

1

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 ...

1

Your approach is a good one. But before you venture too far, you should be aware of issues related to zero eigenvalues (positive semi-definiteness) of your correlation matrix $\mathbf{R}$ or covariance matrix $\mathbf{C}$. Let $p$ be the number of assets, and $t$ the number of, for example, day or bars. You probably have many more times in the time ...

Only top voted, non community-wiki answers of a minimum length are eligible