Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: rolling correlation help

From   Emma Wetten <>
Subject   st: rolling correlation help
Date   Wed, 16 Feb 2011 11:08:26 -0700

I am very new to Stata and am struggling to do a rolling correlation.
I am not sure how to keep the results along with the data I already

Using clear, as below, seems to remove my data and replace it with the
rolling correlation results.  I want to keep the resulting
correlation, but along with the data already in use.  Does that make
rolling, window(65) clear: correlate var1 var2

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index