i can't get my programs to run in quiet mode..

For questions regarding programming in the EViews programming language.

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

russellrobins
Posts: 16
Joined: Tue Jul 10, 2012 12:42 pm

i can't get my programs to run in quiet mode..

Postby russellrobins » Fri Mar 25, 2016 6:14 pm

i can't get my programs to run in quiet mode---i tried version 8 and version 9

i am running a loop with 10,000 iterations requiring regressions and tables...etc----i don't want all the updates flashing on the screen

it takes forever

what am I doing wrong

thanks

Russ

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: i can't get my programs to run in quiet mode..

Postby EViews Gareth » Fri Mar 25, 2016 6:22 pm

Hard to know what you're doing wrong without knowing what you're doing.

Perhaps you could post the workfile/program and describe how you're making it run quiet.

russellrobins
Posts: 16
Joined: Tue Jul 10, 2012 12:42 pm

Re: i can't get my programs to run in quiet mode..

Postby russellrobins » Sat Mar 26, 2016 2:56 am

here is the program......i run the program from the Dialog box

thanks for the help

'''''
smpl @first @last
mode quiet
vector (10000) chow_values
rndseed 1
scalar i

FOR i = 1 TO 100
delete eq2 mytab

'series y_stable = 2 + 1.2*market + .8*hml -.5*smb + 2*nrnd

series y_stable2 = 2 + 1.2*market + .8*hml -.5*smb + 2*nrnd

'equation eq1.ls y_stable c market hml smb

equation eq2.ls y_stable2 c market hml smb

eq2.chow 100
freeze(mytab) eq2.chow 100
chow_values(i) = mytab(6,2)

next

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: i can't get my programs to run in quiet mode..

Postby EViews Gareth » Sat Mar 26, 2016 8:37 am

Remove the line:

Code: Select all

eq2.chow 100

russellrobins
Posts: 16
Joined: Tue Jul 10, 2012 12:42 pm

Re: i can't get my programs to run in quiet mode..

Postby russellrobins » Sat Mar 26, 2016 1:53 pm

perfect, that worked

thanks

but why would anything show up, if I am running in quiet mode? Just curious

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: i can't get my programs to run in quiet mode..

Postby EViews Gareth » Sat Mar 26, 2016 2:09 pm

The command:

Code: Select all

eq2.chow 100
has an implicit show in front of it. Show overrides quiet.

russellrobins
Posts: 16
Joined: Tue Jul 10, 2012 12:42 pm

Re: i can't get my programs to run in quiet mode..

Postby russellrobins » Sat Mar 26, 2016 2:25 pm

very cool

thanks

russellrobins
Posts: 16
Joined: Tue Jul 10, 2012 12:42 pm

Re: i can't get my programs to run in quiet mode..

Postby russellrobins » Sat Mar 26, 2016 2:26 pm

is there anyway of knowing what has the implicit show?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: i can't get my programs to run in quiet mode..

Postby EViews Gareth » Sat Mar 26, 2016 2:47 pm

Not really. Generally anything that only displays results (like the Chow test) will have a show. There is absolutely no reason to perform the Chow test without a freeze statement unless you wanted to see the results, so if you do perform a Chow test without a freeze, EViews will show the results.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests