Page 1 of 1

how to run equation.ls in the background

Posted: Fri Aug 19, 2011 2:07 am
by george m
I run a "for" loop with "equation.ls" in it and want to suppress the estimation output window showing for each loop, i.e. so that it pop up every time it runs. Is there a way to do this?
Regards,
g.m.

Re: how to run equation.ls in the background

Posted: Fri Aug 19, 2011 3:13 am
by trubador
Could you please post the related part of your code? Normally, the following specification does not pop-up any windows:

Code: Select all

equation myeq for !i=1 to 10 myeq.ls y c x next

Re: how to run equation.ls in the background

Posted: Fri Aug 19, 2011 8:24 pm
by george m
Hi trubador,
thanks for the reply, however, this is what I currently do.
My code is something like

equation eq1
for !i = 1 to 2403
smpl 0+!t 800+!t ' set the initial sample 1 to 800 then increment by 1 each time
eq1.ls y c x
next !i

The problem is that it shows estimation output for each i (that's what I meant by pop-up window), and I don't want to see it because it obscures a graph that gets updated with estimates for each i in real time. Is there an option for equation.ls that would stop opening estimation window each time it is run??
Best regards,
george

Re: how to run equation.ls in the background

Posted: Mon Aug 22, 2011 5:58 am
by trubador
I cannot replicate the situation. Even the specific code fragment you posted does not produce any windows during my run. Try adding a "do" command into the beginning of the equation line:

Code: Select all

equation eq1 for !i = 1 to 2403 smpl 0+!i 800+!i do eq1.ls y c x next !i
By the way, is your version of EViews up-to-date?

Re: how to run equation.ls in the background

Posted: Thu Aug 25, 2011 2:50 am
by george m
Its working, putting "do" in front of eq.ls has done the trick and the estimation window doesn't open for each i anymore. Thanks for your help!!!
PS. I run Eviews 7 so i guess its up to date.

Re: how to run equation.ls in the background

Posted: Thu Aug 25, 2011 3:30 am
by trubador
Glad to hear that. However, you should still check the build date of your version just to make sure if it is up-to-date. Simply go to: http://www.eviews.com/download/download.html