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