Page 1 of 1
PCA
Posted: Mon Nov 27, 2006 8:23 am
by zoo
I am having a look to the routines for principal component analysis and factor analysis.
The output contain eigenvalues and eigenvectors. I have seen a paper which shows "factor loadings" instead. What are these "factor loadings"?
Posted: Mon Nov 27, 2006 12:37 pm
by TedKury
Without knowing the paper, I can't give you a definitive answer.
However, if you multiply each eigenvector by the square root of its respective eigenvalue, that 'weights' each eigenvector by its importance in explaining the system. Perhaps that is what the paper refers to.
For example, if you are using the first k principal components of a NxN correlation matrix to simulate correlated standard normal random numbers, you would multiply a 1xk vector of independent random numbers by the kxN weighted eigenvectors to get a 1xN vector of correlated random numbers.
I hope that this helps.
Ted
Posted: Fri Apr 20, 2007 10:56 am
by TomDoan
The examples from the Tsay second edition, those from tsayp408 to tsayp437, all do various forms of factor analysis. We've added or updated quite a few procedures for implementing these.
Regarding the "loadings", the basic factor model is X (the observed data) = L * F + U
F are the factors and U are the idiosyncratic shocks. L are the loadings from the factors to the actual variables. If the X's are roughly the same scale (factor analysis is often done on correlation matrices to make that true), then relatively high values of a loading indicate that a factor is relatively important. What you generally hope to see (in a multi-factor model) is one factor loading heavily on one set of variables and another loading heavily on a different set. Since only the space spanned by the factors, not the factors themselves, are determined by the estimation procedure, there are ways to "rotate" the factors to try to achieve such a simple interpretation.
Re: PCA
Posted: Thu Mar 05, 2015 9:24 pm
by anozman
Hi Tom,
Are there any RATS examples to extract PCAs from nonstationary time series?
Many thanks,
Anozman
Re: PCA
Posted: Sat Mar 07, 2015 3:04 pm
by TomDoan
It's PC (Principal Components), not PCA (Principal Components Analysis---that is, the technique).
Although @PRINCOMP can be applied to non-stationary series, it's a bad idea. Non-stationary series don't have a constant mean, much less a constant covariance matrix. If you try to extract PC's from a set of I(1) series, you are likely to get what amounts to being a "spurious regression" component. Both cointegration and common trends approaches use calculations closely related to PCA but more carefully deal with the dynamics of the process.
Re: PCA
Posted: Thu Apr 28, 2016 1:30 am
by sanjeev
Dear Tom,
Does RATS provide any course on principal components analysis also?
Thanks.
Regards.
Re: PCA
Posted: Thu Apr 28, 2016 8:39 am
by TomDoan
No. PCA (which is basically static factor analysis) is primarily a subject for other social sciences such as psychology.