Search found 4 matches
- Thu Jul 17, 2014 10:52 am
- Forum: Programming
- Topic: Time series of rolling eigenvalue proportion (from PCA)
- Replies: 13
- Views: 13714
Re: Time series of rolling eigenvalue proportion (from PCA)
The 'cproport' (as defined in the Eviews 7 help section) is what generates the cumulative proportion of eigenvalues. This is the closest I could find to what I am looking for. The first line you quoted is supposed to run the principal component analysis and generate the eigenvalues and proportion of...
- Thu Jul 17, 2014 10:13 am
- Forum: Programming
- Topic: Time series of rolling eigenvalue proportion (from PCA)
- Replies: 13
- Views: 13714
Re: Time series of rolling eigenvalue proportion (from PCA)
Thank you Gareth. I looked it up, and also looked at the 'roll' examples you provide in the sample programs. I think it should be something like the below, however I get an error on the final command, when I try to store the output (the proportion of the first PC eigenvalues) in a vector... Can you ...
- Thu Jul 17, 2014 8:54 am
- Forum: Programming
- Topic: Time series of rolling eigenvalue proportion (from PCA)
- Replies: 13
- Views: 13714
Re: Time series of rolling eigenvalue proportion (from PCA)
Ok great, so that answers my first question... Thank you very much. Can you kindly also explain how I should construct the loop to get a weekly rolling eigenvalue proportion of 2-year window?
- Thu Jul 17, 2014 8:32 am
- Forum: Programming
- Topic: Time series of rolling eigenvalue proportion (from PCA)
- Replies: 13
- Views: 13714
Time series of rolling eigenvalue proportion (from PCA)
Hi, I would like to run a rolling PCA of weekly returns of a basket of risky assets. To understand the evolution over time of the co-movement of the different assets in the basket, what I need as output is a time series of the proportion of the eigenvalue of the 1st principal component from each 2-y...
