Predict from a hurdle-CPB fit
Arguments
- object
A
"hurdle_cpb"object.- newdata
Data frame of covariate profiles (the intensity and participation covariates). A row of a fixed-effects unit the fit has not seen, or every row when the
feorpart_fecolumn is absent, enters that equation at the reference unit, and a unit at a limit (no positive count, or no zero) at that limit (seepart_feinhurdle_cpb()).- type
"response"for the marginal expected count E(Y) (zeros included),"participation"for P(Y > 0), or"intensity"for E(Y | Y > 0).- offset
Optional offset (log scale) of the intensity for the
newdatarows: a numeric vector or a column name innewdata; 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.