Hot answers tagged pca
14
Why is the first principal component a proxy for the market portfolio, and what other proxies exist?
Yes, the weights of the first eigenvector of a covariance matrix represent the market factor and also the largest source of systematic risk (variation of returns).
Why PCA? Well, PCA simply identifies the eigenvector that maximally explains the variance of the system. It turns out that this is the "market factor" - i.e. the tendency of securities to rise ...
7
About a year ago I saw a presentation by Attilio Meucci in London. The twist of his work is a little bit different compared to yours but the general approach is similar and there is lot to be learned from his accompanying paper:
http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1358533
Here he is also using PCA for dimensionality reduction constructing ...
5
1) Eigenvector times minus one is also an eigenvector (with the same eigenvalue).
2) Distinct eigenvectors of a symmetrical matrix (i.e. covariance) are orthogonal.
1 and 2 imply that you can multiply a subset of all the eigenvectors of a symmetrical matrix by minus one an you still get a full set of eigenvectors
Which means, just impose that the first ...
4
You can compute the PCA on overlapping windows,
and try to match the eigenvectors:
you may need to change not only their sign
(since only the eigenspaces are well-defined,
the sign of the eigenvectors is arbitrary)
but also their order.
Here is some (untested) R code to do this.
# Sample data
k <- 7
n <- 50
found <- FALSE
while(!found) {
x <- ...
4
Here is a structured list of your bullet points:
covariance,
correlation,
PCA,
factor analysis,
Are similar. They are based on Gaussian assumptions (i.e. correlations means dependencies) and try to identify common factors (i.e. a variable in small dimension) explaining the observed relationships.
co-integration
is more specific in the sense that you ...
4
The first principal component of a large covariance matrix is extremely expensive to replicate in a real portfolio.
While it is true principal components provide true (ex post) orthogonal factors, this is not necessarily relevant to the business of risk management. The market index is what most investors are benchmarked by, and is furthermore often ...
4
a) because it does not matter how you weigh each constituents as long as the methodology is publicly accessible and as long as it more or less reflects the original intent. That is why there are market cap weighted indexes but also why there are indexes that apply different weighting methodologies.
b) because PCA is computationally way more expensive. Why ...
4
They are not mutually exclusive. PCA and clustering are similar but used for different purposes. You could use PCA to whittle down 10 risk factors to say 4 uncorrelated factors, and you could combine securities with different FACTORS into different clusters with offsetting returns and variance characteristics. However, when you say you want to derive risk ...
3
Regarding the second part of your question - You are running into the classic N>T problem (N=# assets; T=# of observations). Therefore the number of parameters you must estimate grows geometrically with each N, but only arithmetically for each day of observation. Because you are estimating the diagonal portion of the covariance matrix you must estimate ...
3
I've played around with both schemes, but not for portfolio optimization.
I used PCA on some interest rate models. That turned into a Partial Least Squares scheme, then into some non-linear thing. I wasn't impressed with the results.
My Cluster Analysis scheme morphed into a classification scheme, and it turned out that the K-Nearest-Neighbor method ...
2
To make things really clear, you have an original matrix $X$ of size $300 \times 10$ with all your returns.
Now what you do is that you choose the first $k=5$ eigenvectors (i.e. enough to get 80% of the variation given your data) and you form a vector $U$ of size $10 \times 5$. Each of the columns of $U$ represents a portfolio of the original dataset, and ...
2
Yes you can, how depends fully on your required accuracy and also whether PC1 and PC2 are sufficient in explanatory power of the log differences of your futures contract.
Also, make sure you understand the signs of the eigenvalues (sign of the PC) can be different from one experiment to the next as they are arbitrary (the values are obviously not). Here ...
1
To answer your questions we have to take a look to what it does.
PCA is mathematically defined as an orthogonal linear transformation that transforms the data to a new coordinate system, such that news vectors are orthogonals and explain the main part of the variance of the first set.
It took an N x M matrice as input, N represents the differents ...
1
If you are asking which of the 10 variables is contributing most to the principle component, then look at your first eigenvector; each value reflects a single variable, so the largest value (by magnitude) in that eigenvector should give the variable with the largest contribution. Note that a large negative number means anticorrelation.
The matrix you have ...
Only top voted, non community-wiki answers of a minimum length are eligible
