Description Usage Arguments Details Value See Also Examples
Control parameters for dynfrail
1 2 | dynfrail_control(nlm_control = list(stepmax = 1), inner_control = list(eps =
1e-04, maxit = 100, verbose = FALSE, lik_tol = 1))
|
nlm_control |
A list of named arguments to be sent to |
inner_control |
A list of parameters for the inner optimization. See details. |
The nlm_control
argument should not overalp with hessian
, f
or p
.
The inner_control
argument should be a list with the following items:
eps
A criterion for convergence of the EM algorithm (difference between two consecutive values of the log-likelihood)
maxit
The maximum number of iterations between the E step and the M step
verbose
Logical, whether details of the optimization should be printed
lik_tol
For values higher than this, the algorithm returns a warning when the log-likelihood decreases between EM steps. Technically, this should not happen, but
if the parameter θ is somewhere really far from the maximum, numerical problems might lead in very small likelihood decreases.
The starting value of the outer optimization may be set in the dynfrail_dist()
argument.
An object of the type dynfrail_control
.
1 2 3 4 | dynfrail_control()
# this stops each EM (inner maximization) after 10 iterations, event if it did not
# reach the maximum.
dynfrail_control(inner_control = list(maxit = 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.