Statalist


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

st: Re: loop over variables using arch


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: loop over variables using arch
Date   Thu, 16 Apr 2009 22:15:55 +0200

<>

With the rolling windows, -help rolling- could be useful and spare you the pains of your loop thing for now. But do not put off the day you finally get down to the business of dereferencing -macro-s for too long!


HTH
Martin
_______________________
----- Original Message ----- From: "Moo Hwan Kim" <[email protected]>
To: <[email protected]>
Sent: Thursday, April 16, 2009 9:40 PM
Subject: st: loop over variables using arch



Dear Statalisters

I would like to know what's wrong with the following message.

foreach x of varlist win1-win122{
     arch 'x' l.'x', arch(1)

' invalid name
r(198);
I attempted to run arch model for each of rolling windows, which is 122.
Could you tell me what it goes wrong?

Any comments would be appreciated.
thanks a lot

moohwan kim
_________________________________________________________________
Rediscover Hotmail®: Now available on your iPhone or BlackBerry
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/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/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