simulate.hhh4ZI | R Documentation |
hhh4ZI
Count Time SeriesFork of simulate.hhh4
to support
zero-inflated models fitted with hhh4ZI
.
## S3 method for class 'hhh4ZI'
simulate(
object,
nsim = 1,
seed = NULL,
y.start = NULL,
subset = 1:nrow(object$stsObj),
coefs = coef(object),
components = c("ar", "ne", "end"),
simplify = nsim > 1,
...
)
object |
of class |
nsim |
number of time series to simulate. Defaults to |
seed |
an object specifying how the random number generator should be
initialized for simulation (via |
y.start |
vector or matrix (with |
subset |
time period in which to simulate data. Defaults to (and cannot
exceed) the whole period defined by the underlying |
coefs |
coefficients used for simulation from the model in |
components |
character vector indicating which components of the fitted model
|
simplify |
logical indicating if only the simulated counts ( |
... |
unused (argument of the generic). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.