Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Rolling regression without "clear"
From
"G. Anderson" <[email protected]>
To
[email protected]
Subject
Re: st: Rolling regression without "clear"
Date
13 Jun 2013 11:33:04 +0100
Great. Thanks Nick.
Do you know whether it's possible to set the window size based on a stored
scalar, rather than typing in the number?
Thanks,
Gareth
On Jun 13 2013, G. Anderson wrote:
Hi,
I am using the "rolling" command in Stata 12 to do rolling
regressions.However when I use
rolling , window(150):regress depvar indvar
I get the error message "no; data in memory would be lost"
The only way I can get around this is by adding in the "clear" command,
but this deletes all of my dataset, which is not ideal. Is there a way
around this?
Thanks,
Gareth
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/