I have been trying to explore the residuals associated with zero inflated models for I x J contingency table. I can figure out deviance residuals for ZINB model through zinbwave package. But I don't understand why there is no deviance residual for ZIP model? What is the underlying concept behind deviance for ZIP model?

Please clarify my doubts.

  • $\begingroup$ Likelihood ratio and score tests are not applicable to non-nested models. Use the Vuong test or AIC/BIC. $\endgroup$
    – Digio
    Sep 6, 2018 at 12:24
  • $\begingroup$ @Digio Thank you very much. Could you explain why it is like this? $\endgroup$
    – Sri Priya
    Sep 6, 2018 at 12:28
  • $\begingroup$ This has been answered here. $\endgroup$
    – Digio
    Sep 6, 2018 at 12:33
  • $\begingroup$ Since the log-likelihood is well-defined for the ZIP, the deviance and the deviance residuals will be correspondingly well defined. I can't think of any particular reason that the deviance residuals wouldn't be defined for ZIP ... $\endgroup$
    – Ben Bolker
    Sep 6, 2018 at 15:03
  • $\begingroup$ @ Ben Bolker As you said, I tried calculating deviance residual manually using the predicted value using the formula d = 2 {y log (y/mu) - y + mu}, but I am getting infinite value. I think we couldn't get deviance residual from ZIP. Any suggestions?? $\endgroup$
    – Sri Priya
    Sep 7, 2018 at 6:15


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.