bfun {GenHMM1d} | R Documentation |
Bootstrap for the univariate distributions
Description
Bootstrap for the univariate distributions
Usage
bfun(
theta,
Q,
ZI,
family,
n,
size = 0,
max_iter = 10000,
eps = 1e-04,
useFest = TRUE
)
Arguments
theta |
parameters |
Q |
transition matrix for the regimes |
ZI |
1 if zero-inflated, 0 otherwise (default) |
family |
distribution name; (run the command distributions() for help) |
n |
number of simulated observations |
size |
additional parameter for some discrete distributions; run the command distributions() for help |
max_iter |
maximum number of iterations of the EM algorithm; suggestion 10000 |
eps |
precision (stopping criteria); suggestion 0.0001 |
useFest |
TRUE (default) to use the first estimated parameters as starting value for the bootstrap, FALSE otherwise |
Value
Internal function used for the parametric bootstrap
[Package GenHMM1d version 0.2.1 Index]