Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: rolling PCA/factor analysis?


From   "Suran, Luciana @ CBRE EA" <Luciana.Suran@cbre.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: rolling PCA/factor analysis?
Date   Fri, 13 Apr 2012 17:27:58 +0000

Hello Stata-listers,

I was wondering if anyone has experience running a rolling PCA or factor analysis? In this case I am using the "factor ..., pcf" method rather than "pca".

I  have data on 45 cities over 20 years with quarterly periodicity. I'd like to examine how the largest eigennvalue varies over the time sample using a window of 10 years. I've tried the "rolling" command in Stata v12 which has the format:

rolling [exp_list] [if] [in] [, options] :  command  


...but I'm at a loss as to what to use in [exp_list]. 

Thank you very much in advance. 



Regards,
Lucy


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index