dzim function

Fitting Dynamic Zero-Inflated Models

Fitting Dynamic Zero-Inflated Models

dzim is used to fit dynamic zero-inflated models.

dzim(formula, data, subset, na.action, weights = 1, offset = 0, control = dzim.control(...), ...)

Arguments

  • formula: an objective of class "formula".
  • data: an optional dataframe, list or environment containing the variables in the model.
  • subset: an optional vector specifying a subset of observations to be used in the fitting process.
  • na.action: a function which indicates what should happen when the data contain NAs.
  • weights: an optional vector of 'prior weights' to be used in the fitting process.
  • offset: this can be used to specify a priori known component to be included in the linear predictor during fitting.
  • control: control arguments from dzim.control
  • ...: additional arguments

See Also

dzim.fit, dzim.filter, dzim.smooth, dzim.control, dzim.sim, dzim.plot

  • Maintainer: Ming Yang
  • License: GPL-3
  • Last published: 2018-08-28