Predict from a zi_cpb fit
Arguments
- object
A
"zi_cpb"object.- newdata
Data frame of covariate profiles. A
zero_feunit the fit has not seen, or every row when that column is absent, enters at the zero equation's reference unit, and a unit at a limit at that limit (seezero_feinzi_cpb()); for the count equation'sfe, seeoffset.- type
"response"for the marginal expected count E(Y),"zero"for the structural-zero probability,"intensity"for the mean of the CPB component (on the floor support, its rate lambda), or"rate"for the component's rate lambda.- offset
Optional offset (log scale) of the count component for the
newdatarows; seepredict.cpb(). Withfe, a row whosefecolumn names a unit of the fit enters at that unit's count effect, a row of an unseen unit (or every row, whennewdatahas nofecolumn) at the reference unit, the mean effect of the units the data identify. A unit left out for having no positive count (seezi_cpb(),fe) predicts a mean of zero, and a structural-zero probability ofNAwhere its ownzero_fedummy would be needed.- 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.