Bug when generating a series from the series itself?

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

tvonbrasch
Posts: 569
Joined: Fri Apr 15, 2011 5:35 am

Bug when generating a series from the series itself?

Postby tvonbrasch » Sun Oct 19, 2014 11:50 pm

Is this a bug?

If you run the following program:


close @all
%dir = @runpath 'finds directory where program is stored
cd %dir

wfopen untitled
!obs =@obssmpl 'number of observations in sample
%wfname = @wfname
%pagename = @pagename

wfcreate(wf=2) d7 1972 2013
!avobs = @val(@str(0.5*(@obssmpl/!obs),"f.0")) 'average number of
copy(c=i) untitled::untitled\lp_nor_d01t99co lp_nor_d01t99co
genr lp_nor_d01t99co2= lp_nor_d01t99co(!avobs)
genr lp_nor_d01t99co= lp_nor_d01t99co(!avobs)


graph a.line lp_nor_d01t99co lp_nor_d01t99co2


smpl 1992 1995
graph b.line lp_nor_d01t99co lp_nor_d01t99co2


'if you uncomment the following command, and run the program a couple of times, the problem disappears....?
'line lp_nor_d01t99co lp_nor_d01t99co2


you get a strange result. When you plot the two series lp_nor_d01t99co2 and lp_nor_d01t99co, they are note equal (something happens with the series in 1992.
graph.jpg
graph.jpg (41.14 KiB) Viewed 2931 times
.

Is this a bug?

Sincerely
Thomas von Brasch[/b]
Attachments
untitled.WF1
(16.08 KiB) Downloaded 253 times

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

Re: Bug when generating a series from the series itself?

Postby EViews Gareth » Tue Oct 21, 2014 2:34 pm

Latest patch should fix this.

tvonbrasch
Posts: 569
Joined: Fri Apr 15, 2011 5:35 am

Re: Bug when generating a series from the series itself?

Postby tvonbrasch » Tue Oct 21, 2014 11:09 pm

Perfect, thanks
Thomas


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests