Ahmed Abdella
Ahmed Abdella

Reputation:

Error in zero inflated Poisson regression in R

zip<-zeroinfl(No.of.fatal~.|., data=LI, link="logit", dist="poisson")
Error in solve.default(as.matrix(fit$hessian)) : 
Lapack routine dgesv: system is exactly singular: U[72,72] = 0
In addition: Warning message:
glm.fit: fitted probabilities numerically 0 or 1 occurred 

Upvotes: 2

Views: 2235

Answers (1)

Glen_b
Glen_b

Reputation: 8252

You should specify which package you're doing this in.

Is it pscl? ...

There's not enough information given to hazard a definitive answer, but my guess is that either the predictors are multicollinear, or just maybe that you don't have enough zeros for all the parameters you're fitting to predict their probability.

Upvotes: 1

Related Questions