Description Usage Arguments Details Value Author(s) See Also
Updating mechanisms used in the metropolis algorithm
| 1 2 3 4 5 6 7 8 | singleStep(par, lidat, nam, pum, ctrl, logposterior, postcur, optimiser, debug,
  dumpfile, composition)
MultipleIndependentSteps(par, lidat, nam, pum, ctrl, logposterior, postcur,
  optimiser, debug, dumpfile, composition)
MultiNormalStep(par, lidat, nam, pum, ctrl, logposterior, postcur, optimiser,
  debug, dumpfile, composition)
 | 
| par | a named list containing the parameters of the model (the names of the list correspond to the names of the parameters) | 
| lidat | a named list containing the variables and constants
required by the model (especially the function  | 
| nam | character string. The name of the parameter to be updated. | 
| pum | for  | 
| ctrl | a named list with two parameters: (i)  | 
| logposterior | a function used to calculate the log-posterior
probability of  | 
| postcur | the current value of the posterior, before updating. | 
| optimiser | logical. If  | 
| debug | logical. If  | 
| dumpfile | character. The name of the debugging file. | 
| composition | character. How composition of parameters are
managed (see the help page of
 | 
singleStep implements an updating mechanism for a
unique parameter based on a normal distribution.
MultipleIndependentSteps implements the same updating
mechanism for a vector of parameters. MultiNormalStep
implements an updating mechanism relying on the sampling of a
multinormal distribution. These functions are used by the package,
but are not to be used directly by the user.
A list with three elements: (i) parm is the updated vector of parameters, (ii) postcur is the value of the (optionally optimized) posterior after updating, and (iii) accept is a vector containing TRUE if an element proposed has been accepted and FALSE otherwise
Clement Calenge, clement.calenge@oncfs.gouv.fr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.