[R] Error fitting ZIP with zeroinfl()

Achim Zeileis Achim.Zeileis at wu-wien.ac.at
Thu Dec 11 23:11:42 CET 2008

On Thu, 11 Dec 2008, Paige Barlow wrote:

> I am attempting to fit a full zero-inflated Poisson model then use backward 
> elimination to arrive at the best-fitting model.  When I try to fit the model 
> with zeroinfl() I get this error:
> Error in while (abs((ll_old - ll_new)/ll_old) > control$reltol) { :
>       missing value where TRUE/FALSE needed
> Any suggestions?

Read the posting guide linked at the end of the mail. The information 
above is really insufficient to say much useful.

The error message suggests that something in the specification of starting 
values is not correct. You seem to have used EM = TRUE, try (the default) 
EM = FALSE instead.

> Thanks for your help!
> Paige Barlow
> MS Student
> Virginia Tech
> Dept Fish and Wildlife
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list