Page 1 of 1

GMM error: "log of a non positive number"

Posted: Sun Aug 28, 2011 8:52 am
by jpk
Hi, I am trying to estimate Euler equations by GMM and I receive the error message "log of a non positive number". Does anybody know how to resolve this? I've attached the workfile. Any help is seriously appreciated!

Re: GMM error: "log of a non positive number"

Posted: Sun Aug 28, 2011 9:30 am
by startz
Your variable congr has negative values. For some values of an exponent, a power of a negative number isn't defined. (square root of -1, for example). You might try changing starting values of the parameters, but I wouldn't be too optimistic.

Re: GMM error: "log of a non positive number"

Posted: Sun Aug 28, 2011 9:39 am
by jpk
thanks!

Re: GMM error: "log of a non positive number"

Posted: Sun Sep 11, 2011 1:52 am
by smseco
How did u perform GMM estimation for Euler equation using eviews?
I need to khow that urgently! :(

Re: GMM error: "log of a non positive number"

Posted: Sun Sep 11, 2011 7:41 am
by startz
How did u perform GMM estimation for Euler equation using eviews?
I need to khow that urgently! :(
If it's really urgent, you might take a look at the extensive documentation on GMM in the help system.