Solved – GLM – Zero-Inflated distribution

errorgeneralized linear modelpoisson distributionzero inflation

I'm fitting a zero-inflated poisson model using the "pscl" package. The formula that I'm using is:

modelzero<-zeroinfl(formula=indice_abund~pH+condut+regime_hidr+bacia_drenag+alt+ordem+grao_med+prof+veloc_corr+galeria+ensomb+veget,data=poiss)

But then I get this message:

Error in solve.default(as.matrix(fit$hessian)) :
system is computationally singular: reciprocal condition number = 2.33459e-20

I saw in other forums that the problem may be related to my data. Is that correct?

Best Answer

From another post (here: Error "system is computationally singular" when running a glm), and based on the number of predictor variables you have in your model, I would suggest you look for collinear predictors in your model, or whether you are trying to fit a model with more variables than observations.