Description Usage Arguments Value Author(s) See Also
Replaces states of last step, i.e. column of Zinit that yield non-finite rLogDen by sampling other states.
1 2 | replaceZinitNonFiniteLogDensLastStep(Zinit, fLogDen, nPop = 1,
iStep = nrow(Zinit), maxSteps = 16, ...)
|
Zinit |
initial states see InitDEMCzsp |
fLogDen |
the logDen Function |
nPop |
number of populations. States are only choosen from same population |
iStep |
the step for which to replace nonfinite yielding parameters. |
maxSteps |
maximum number of iterations (when last row was replaced by another row yielding non-finite loglik) |
... |
arguments to |
list with components
Zinit |
argument |
rLogDen |
numeric vector: results of |
logDenComp |
numeric matrix: results of |
Thomas Wutzler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.