bfun | R Documentation |
Bootstrap for the univariate distributions
bfun(theta, Q, ZI, family, start, n, size, max_iter, eps)
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 |
Internal function used for the parametric bootstrap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.