Skip to content
Prev 305174 / 398506 Next

Zero inflated Models- pscl package

On Mon, 10 Sep 2012, Filipa J. wrote:

            
See vignette("countreg", package = "pscl"), especially Appendix C.

The default predict(..., type = "response") and fitted(...) both compute 
the expected value Equation (8). This corresponds to your (1-p)*mu but 
uses a different notation.
You can inspect all component: Your "mu" ("exp(x'b)" in the notation of 
the paper) can be computed with predict(..., type = "count") and "p" ("pi" 
in the paper) with predict(..., type = "zero").

Best,
Z