Splicing Old and Revised Data
Posted: Thu May 29, 2014 6:01 am
Is there an Eviews command that performs the same function as the Aremos splice command?
Code: Select all
create q 1950 2030
smpl 1950 2010
series a=@trend + rnd 'history to splice into y
smpl 1990 2030
series b=.4*a+nrnd
smpl @all
Code: Select all
series y = @iif(b<>na, b, @mean(b, "if a<>na and b<>na") / @mean(a, "if a<>na and b<>na") * a)
Code: Select all
show y a bCode: Select all
copy(m, splice) a b