I am trying to run a small simulation (replicating a study) in quiet mode (but for every replication, the laglength window (VAR Lag Order Selection Criteria) is showing up, and slows down the entire simulation, just like as when we are in verbose mode).
I have tried the command “mode quiet”, but that does not solve it. I guess that the problem is that I use SHOW (so I should probably use some other command than SHOW in my code.
Anyway, when I went for the second option (ii) I had another problem, and that was that I could not run the entire simulation in MODE QUIET
MY MAIN QUESTION IS THEREFORE: PLEASE TELL ME HOW I CAN RUN THIS PROGRAM IN mode quiet? I have also attached the program (which probably works, but still contains a lot of junk... and is not cleaned up… but it may work... but it is too slow since show opens a window that I need to delete for every replication).
FOR !REP=1 TO !NREP
...some commands that I skip...
mode quiet
var Sim13Eq.ls 1 1 y_0 x_0
show Sim13Eq.laglen(12,vname=v1)
'The first line above declares and estimates a VAR. The second line computes the lag length criteria up to a maximum of 12 lags and stores the selected lag orders in a vector named V1.
scalar s1 = v1(4,1) 'saves Schwarz-Bayes Cr. (LR=1,FP3=2,AIC=3,SC=4,HQ=5)
freeze(Sim13Tab) Sim13Eq.testexog({s1}) 'SC decides optimal lag length, and that is imputed for testexog
delete Sim13Eq
DELETE v1
DELETE s1
scalar Sim13pvalSC = @val( Sim13Tab(11,4) ) 'pval
delete Sim13Tab
Sim13pvalVEC(!REP) = Sim13pvalSC
delete Sim13pvalSC
NEXT
'Sim13
vector Sim13rejectpvalVEC = @elt(Sim13pvalVEC,0.05*@ones(!NREP))
scalar Sim13sizepower = @sum(Sim13rejectpvalVEC)/!NREP ‘rejection rate…
etc etc
Run a simulation in "mode quiet"
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13584
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Run a simulation in "mode quiet"
Quiet mode is overwritten by any show commands. Just remove the show if you don't want it.
Who is online
Users browsing this forum: No registered users and 2 guests
