Statalist


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

st: loop over variables using arch


From   Moo Hwan Kim <[email protected]>
To   <[email protected]>
Subject   st: loop over variables using arch
Date   Thu, 16 Apr 2009 15:40:59 -0400

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/



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