"Log of non-positive number"

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

roopchand
Posts: 1
Joined: Sat Sep 22, 2018 12:26 pm

Re: "Log of non-positive number"

Postby roopchand » Wed Dec 05, 2018 6:46 pm

Dear Fellows
im using eviews 10 student version

i want get log on non positive number

i have used this formula
lfdi=log(fdi(-1))


1980 na
1981 -0.082
1982 1.222
1983 na
1984 na
..... -0.225
.. -0.025
.. 2.225
. 3.265

2017 2.2563

How to deal with this situation ''NA'' and some log are still non positive

please advise
thank in advance

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: "Log of non-positive number"

Postby startz » Wed Dec 05, 2018 7:33 pm

Logs can be negative, but the logs of a non-positive number don't exist.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 17 guests