Predictions from a fixed-effects CPB fit
Arguments
- object
A
"cpb_fe"object.- newdata
Optional covariate profiles. A row whose
fecolumn names a unit of the fit enters at that unit's estimated effect (as inscore()andceiling_exceedance()); a row of an unseen unit, or every row whennewdatahas nofecolumn, enters at the reference unit, the mean fixed effect of the units whose effect the data identify (see Details ofcpb_fe()).- type
"response"(the mean; for a zero-truncated fit the conditional mean E(Y | Y >= 1)),"rate"(the CPB rate lambda),"link"(the log rate), or"ceiling".- offset
Optional offset (log scale) 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.