predict.zinbboot {evinf}R Documentation

Prediction for zinbboot

Description

Prediction for zinbboot

Usage

## S3 method for class 'zinbboot'
predict(
  object,
  newdata = NULL,
  type = c("predicted", "counts", "zi", "evinf", "count_state", "states", "all",
    "quantile"),
  pred = c("original", "bootstrap_median", "bootstrap_mean"),
  quantile = NULL,
  confint = FALSE,
  conf_level = 0.9,
  ...
)

Arguments

object

a fitted zinbboot object

newdata

Data to make predictions on

type

What prediction should be computed?

pred

Prediction type, 'original', 'bootstra_median', or 'bootstrap_mean'

quantile

Quantile for quantile prediction

confint

Should confidence intervals be created?

conf_level

Confidence level when predicting with CIs

...

Not used

Value

Predictions from zinbboot


[Package evinf version 0.8.10 Index]