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

steve_i
Posts: 4
Joined: Tue Apr 09, 2019 3:37 am

log of non-positive number

Postby steve_i » Tue Apr 23, 2019 3:05 am

Hi,

I am trying to run a simple VAR but everytime I run it, it leads to errors like "Log of non-positive number" and the VAR page shuts down. How do I avoid this.


Thanks
Steve

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 » Tue Apr 23, 2019 6:02 am

You're going to have to say a lot more about what you're doing. Perhaps post your workfile and the command that caused the problem.

steve_i
Posts: 4
Joined: Tue Apr 09, 2019 3:37 am

Re: log of non-positive number

Postby steve_i » Tue Apr 23, 2019 10:02 pm

Please find attached the workfile. I am running a VAR with the following variables


b1 b10 b11 b12 b13 b14 b15 b16 b17 b18 b19 b2 b20 b3 b4 b5 b6 b7 b8 b9 nb1 nb10 nb11 nb12 nb13 nb14 nb2 nb3 nb4 nb5 nb6 nb7 nb8 nb9 hf pc


and the message "log of non-positive number" keeps popping up as you can see from the attached screenshot. How do I overcome this problem?
Attachments
screenshot.jpg
screenshot.jpg (186.74 KiB) Viewed 4864 times
example_file.WF1
(94.33 KiB) Downloaded 224 times

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 Apr 24, 2019 5:56 am

Works fine for me. Is your copy of EViews up-to-date?

steve_i
Posts: 4
Joined: Tue Apr 09, 2019 3:37 am

Re: log of non-positive number

Postby steve_i » Wed Apr 24, 2019 9:03 am

I am using eviews 10

Did u include all the 36 variables I mentioned in the VAR? Inclusion of pc is leading to problems.

EViews Matt
EViews Developer
Posts: 562
Joined: Thu Apr 25, 2013 7:48 pm

Re: log of non-positive number

Postby EViews Matt » Wed Apr 24, 2019 10:12 am

Hello,

I'm able to reproduce your issue with EViews 10. It appears that there is multicollinearity among your regressors, which is causing an internal descriptive statistic to fail (EViews 11 skips this statistic).

steve_i
Posts: 4
Joined: Tue Apr 09, 2019 3:37 am

Re: log of non-positive number

Postby steve_i » Wed Apr 24, 2019 10:30 am

Thanks. How do I resolve this with eviews 10?


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 22 guests