Dear All,

I am using the function vuong from pscl package to compare 2 non nested models NB1
(negative binomial I ) and Zero-inflated model.


NB1 <-  glm(, , family = quasipoisson), it is an
object of class: "glm" "lm"
zinb <-
zeroinfl( dist = "negbin") is an object of class: "zeroinfl"
 
when applying vuong
function I get the following:
vuong(NB1, zinb)
Error en predprob.glm(m1) : 
  your object of class glm is unsupported by
predprob.glmyour object of class lm is unsupported by predprob.glm


Any help will be really appreciated.
	[[alternative HTML version deleted]]

