bug with fracdiff

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

ecofin
Posts: 182
Joined: Fri May 10, 2013 11:24 am

bug with fracdiff

Postby ecofin » Sat May 11, 2013 2:58 am

hi, when I use fracdiff for example:
degree of defferencing= 0 and degree of seasonal=12
but when i use genr dclose=d(close,0,12) is not the same result :!:
this is the out put of image.
Attachments
11-05-2013 11-53-42.png
out put of my work file
11-05-2013 11-53-42.png (43.88 KiB) Viewed 10341 times

ecofin
Posts: 182
Joined: Fri May 10, 2013 11:24 am

Re: bug with fracdiff

Postby ecofin » Sat May 11, 2013 3:09 am

hi, when I use fracdiff for example:
degree of defferencing= 0 and degree of seasonal=12
but when i use genr dclose=d(close,0,12) is not the same result :!:
this is the out put of image.
Attachments
11-05-2013 12-08-24.png
out put of work file
11-05-2013 12-08-24.png (41.74 KiB) Viewed 10337 times

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: bug with fracdiff

Postby trubador » Sat May 11, 2013 3:26 pm

The corrected version will probably be posted in a few days, but you can also get rid of the bug if it's urgent. Just change the Line 76 of the original code:

Code: Select all

series {%name+%outname} = d({%name},0,!s)

with the following:

Code: Select all

%newname=%name+%outname
series {%newname} = d({%name},0,!s)

ecofin
Posts: 182
Joined: Fri May 10, 2013 11:24 am

Re: bug with fracdiff

Postby ecofin » Sun May 12, 2013 12:26 am

thank you very much :D

ecofin
Posts: 182
Joined: Fri May 10, 2013 11:24 am

Re: bug with fracdiff

Postby ecofin » Sun May 12, 2013 4:20 am

hello, I have change the Line 76 but it's not the same resolt.
Attachments
farcdiff.png
farcdiff.png (50.36 KiB) Viewed 10297 times

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: bug with fracdiff

Postby trubador » Sun May 12, 2013 12:58 pm

Is it because you have changed the name of the original program file instead of overwriting it?

ecofin
Posts: 182
Joined: Fri May 10, 2013 11:24 am

Re: bug with fracdiff

Postby ecofin » Mon May 13, 2013 12:39 am

it is the same result, ok I will wait for the corrected version
thank you very much.

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: bug with fracdiff

Postby trubador » Mon May 13, 2013 3:55 am

In the meantime, just leave the "Degree of differencing" box empty instead of assigning zero.

ecofin
Posts: 182
Joined: Fri May 10, 2013 11:24 am

Re: bug with fracdiff

Postby ecofin » Tue May 14, 2013 3:49 am

ok! Now it is the same result, thank you very much.

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: bug with fracdiff

Postby trubador » Tue May 14, 2013 5:03 am

The new version is uploaded, by the way...

ecofin
Posts: 182
Joined: Fri May 10, 2013 11:24 am

Re: bug with fracdiff

Postby ecofin » Wed May 15, 2013 2:27 am

fracdiff works very well now. thanks! :D


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 28 guests