Description Arguments Value Initialization Procedure Author(s) References Examples
Functions returning a routine to initialize the IS algorithm. They use a function closure approach in order to accept a general set of arguments and to store in their environment the variables specified by the user. The returned function must be in the form
initialize(N0,p,target,proposal,verbose=FALSE)
N0 |
Sample Size of the Initialization phase |
p |
Dimension of the sample space. |
target |
As described in |
proposal |
As described in |
verbose |
To receive updates on the initialization. |
Returns a list with components:
Vector with initial Importance weights.
Vector with initial Sample.
Initial variance.
Initial Value of the target distribution (log-scale)
Initial Value of the proposal distribution (log-scale)
amisInit(maxit=5000,maxVar=100,s=sqrt(maxVar))
Initialization procedure described in Cornuet et al. (2012):
maxit
Maximum number of iterations for the optimization routine;
maxVar
upper bound of the variance.
scale parameter.
varInit(Var)
:Var
Searches over a range of variances for the one that maximizes the ESS of a sample from the proposal.
uniInit()
Random initialization.
Luca Pozzi, p.luc@stat.berkeley.edu
Jean-Marie Cornuet, Jean-Michel Marin, Antonietta Mira and Christian Robert (2012), Adaptive Multiple Importance Sampling, Scandinavian Journal of Statistics
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.