Function bootstrap_filter
performs a bootstrap filtering with stratification
resampling.
bootstrap_filter(object, nsim, ...)# S3 method for gssm
bootstrap_filter(object, nsim,
seed = sample(.Machine$integer.max, size = 1), ...)
# S3 method for bsm
bootstrap_filter(object, nsim,
seed = sample(.Machine$integer.max, size = 1), ...)
# S3 method for ngssm
bootstrap_filter(object, nsim,
seed = sample(.Machine$integer.max, size = 1), ...)
# S3 method for ng_bsm
bootstrap_filter(object, nsim,
seed = sample(.Machine$integer.max, size = 1), ...)
# S3 method for svm
bootstrap_filter(object, nsim,
seed = sample(.Machine$integer.max, size = 1), ...)
# S3 method for ng_ar1
bootstrap_filter(object, nsim,
seed = sample(.Machine$integer.max, size = 1), ...)
# S3 method for nlg_ssm
bootstrap_filter(object, nsim,
seed = sample(.Machine$integer.max, size = 1), ...)
# S3 method for sde_ssm
bootstrap_filter(object, nsim, L,
seed = sample(.Machine$integer.max, size = 1), ...)
of class bsm
, ng_bsm
or svm
.
Number of samples.
Ignored.
Seed for RNG.
Integer defining the discretization level for SDE models.
A list containing samples, weights from the last time point, and an estimate of log-likelihood.