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

st: Rolling correlations


From   "kelly johnson" <[email protected]>
To   [email protected]
Subject   st: Rolling correlations
Date   Fri, 06 May 2005 14:44:25 -0400

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/




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