how to run equation.ls in the background

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

george m
Posts: 5
Joined: Wed Dec 15, 2010 1:12 am

how to run equation.ls in the background

Postby george m » Fri Aug 19, 2011 2:07 am

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.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: how to run equation.ls in the background

Postby trubador » Fri Aug 19, 2011 3:13 am

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

george m
Posts: 5
Joined: Wed Dec 15, 2010 1:12 am

Re: how to run equation.ls in the background

Postby george m » Fri Aug 19, 2011 8:24 pm

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

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: how to run equation.ls in the background

Postby trubador » Mon Aug 22, 2011 5:58 am

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?

george m
Posts: 5
Joined: Wed Dec 15, 2010 1:12 am

Re: how to run equation.ls in the background

Postby george m » Thu Aug 25, 2011 2:50 am

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.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: how to run equation.ls in the background

Postby trubador » Thu Aug 25, 2011 3:30 am

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


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest