Hi Allin, actually it seems to work now after updating gretl frequently
since the issue occurred last time. The error number is 36.
Best,
Artur
Am 31.08.2013 05:00, schrieb Cottrell, Allin:
On Thu, Aug 22, 2013 at 4:56 AM, Artur Tarassow
>
> after estimating a LOGIT model I obtain the following message:
>
> "Note: armeu == 0 predicts failure perfectly
> 714 observations not used
> Not a Number in calculation"
>
> I used the command "catch logit ..." to control for any error. I am
> wondered why the $error flag is still zero despite the message. Should
> this not result in a non-zero error value?
Artur, could you please send (offlist if the data are big) your data and
script?
In a simple case of perfect prediction I'm getting a non-zero $error
OK (example below) but apparently the case you're looking at is
more complicated.
<hansl>
nulldata 100
series x1 = normal()
series ndx = 1.5 + 2*x1
series y = ndx > 0
catch logit y 0 x1
err = $error
if err
printf "err = %d (%s)\n", err, errmsg(err)
else
print "no error"
endif
</hansl>
<gretl-output>
? logit y const x1
Perfect prediction obtained: no MLE exists
? err = $error
Generated scalar err = 33
err = 33 (The convergence criterion was not met)
</gretl-output>
Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users
--
For global instant messaging use the free and transparent Jabber chat:
t.artur(a)ubuntu-jabber.de
Avoid Facebook and join me on Diaspora:
https://despora.de/i/9fba3608d45a
If you want to use encrypted emailing, here is my public PGP key:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)
mQINBFIFGVsBEACc0QWXQ8fijGzIvQUWQTTYE/0O/qKQRRjNX7O3UwkASTOZM12H
aZ3YzpqZOvfFnK/BMUCtOYfkoZJJwoLwPDio+wlmQ1DCDjNVYJhkxbjThs+pBdk0
YdyZ3b+bwylb8StnexA0EOSpdV8tOpWo3JVw2WXAs9y9MxierKHIr3aAsHNyGI4V
j+46Cz9mmfyQBJAA7tlK7Th1pibb18ww0fxFnAOmBNBvexCTb+z353FtgDdIc/Wq
LFLmdtP73Ntui6DYviGT+YvV2FBYFxF6x8TGwnYnnvQ88VG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