Log quarterly transformation series

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

saranya
Posts: 41
Joined: Wed Nov 16, 2016 5:51 am

Log quarterly transformation series

Postby saranya » Thu Feb 23, 2017 2:51 am

Hi,

I wanted to do a log quarterly transformation and hence wrote the below codes:
for !i= 1 to a.@count
%name = a.@seriesname(!i)
series temp= ({%name}(-3))
series {%name}_ld = log({%name})- log(temp)
delete temp
next

However, I get an error " Log of non-positive number- Missing data generated in the series"

I checked the series and has ensured that all the values are positive. The new series gets generated as well. Can you specify why this error keep coming?

Kindly help.

saranya
Posts: 41
Joined: Wed Nov 16, 2016 5:51 am

Re: Log quarterly transformation series

Postby saranya » Thu Feb 23, 2017 4:55 am

Got it fixed. Was due to series having "zeroes".


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests