Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Rolling correlations


From   Cameron Hooper <[email protected]>
To   [email protected]
Subject   Re: st: Rolling correlations
Date   Fri, 6 May 2005 15:00:22 -0400

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index