Have a look at -mvcorr-.
. ssc describe mvcorr
On May 6, 2005, at 2:44 PM, kelly johnson wrote:
hi,
how can you calculate rolling correlations in stata? e.g. suppose i
have data like this:
date var1 var2
i want to create a variable that shows the rolling correlation between
var1 and var2. how do i go about doing this?
thanks!
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/