Option @smpl in command wfsave
Posted: Mon Feb 06, 2017 3:24 am
Dear EVIEWs team,
I use Eviews 9.5, Mach 17 2016 build
I am wondering how I can save a subsample of data.
The example code below should save only those observation for which x>0 in a new workfile
Unexpectedly, the newly created workfile contains all observations, including those with negative x-values.
What is wrong with the @smpl option in the wfsave command in the example above?
Best, mamo
I use Eviews 9.5, Mach 17 2016 build
I am wondering how I can save a subsample of data.
The example code below should save only those observation for which x>0 in a new workfile
Code: Select all
wfcreate u 100
series x=nrnd
wfsave test.wf1 @smpl @all if x>0
show x
What is wrong with the @smpl option in the wfsave command in the example above?
Best, mamo