Log quarterly transformation series
Posted: 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.
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.