Predict from a zero-inflated Poisson/NB fit
Arguments
- object
A
"zi_count"object.- newdata
Optional data frame of covariate profiles. A fixed-effects unit an equation has not seen, or every row when its column is absent, enters that equation at the reference unit. A
zero_feunit with no positive count gets the structural-zero probability one and one whose every count is positive zero, and anfeunit with no positive count a count mean of zero (seecompare_models(), Degrees of freedom).- type
"response"(marginal E(Y)),"count"(equivalently"intensity"; the count component's mean E(Y) of that component), or"zero"(structural-zero probability)."intensity"is accepted as a synonym for"count"for consistency withpredict.zi_cpb().- offset
Optional offset (log scale) of the count component for the
newdatarows; by default the fit's own offset column is read fromnewdata(seepredict.cpb()).- se.fit, interval, level
Standard errors (
se.fit = TRUE) and alevelconfidence interval (interval = "confidence") of the predicted quantity at the rows ofnewdata; seepredict.cpb().- ...
Unused.