|
> I am getting a warning "iteration limit reached" while
> using GLMFIT function.
>
> How can I increase this iteration limit? I looked into the
> code and figured it has hard coded iteration limit set to
> 100 iterations. Can I modify the code and increase this
> iteration limit? Is there a reason (with statistical
> significance) for restricting iteration limit to 100?
Ketan, there's no statistical reason for restricting the limit to 100. Feel
free to change it in your file. I'll record an enhancement request that
this be made adjustable in a future release.
One cause for excessive iterations can be complete separation in regression
with a binomial response. If the response is true/false, and if there's a
point p such that x<p is all true and x>p is all false, then the maximum
likelihood is infinite. (The same could be true if a linear combination of
multiple x values has such a point.) You could check for that condition.
-- Tom
|