Am 16.08.2012 19:02, schrieb Logan Kelly:
Hello,

I am having trouble changing the sample period in a script file. I initialy set the sample using

smpl 1967:1 2007:4

Then latter in the script I set the sample to 

smpl 1967:1 2011:4

But when I estimate a VAR the sample period remains 1967:1 - 2007:4

I have also used the command 

smpl --full

with the same results. The sample period does not change for the estimation. 

Two questions:
Can the smpl command be used in a loop?
Yes it works fine within a loop: smpl ... --restrict --replace
What is the correct way to change the sample period in a script?
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users