getParameterVector: Various functions used to manipulate results of the...

Description Usage Arguments Details Author(s) See Also

Description

Various functions used to manipulate results of the Metropolis Algorithm

Usage

1
2
3
4
5
getParameterVector(resuParms, r)

nit(resuParms)

increaseBurnin(resuParms, newBurnin = attr(resuParms, "nburnin"))

Arguments

resuParms

an object of class GSMetrop

r

iteration to be extracted

newBurnin

new size of the burnin sample (in number of *performed* iterations: in other words, if the objects results from a calculation which carried out 5000 iterations thinned every 5 iterations, with a 10 iterations burnin period, then the original object will contain 990 stored iterations. Setting newBurnin=500 will remove the 500 first performed iterations, i.e. the first (500 - 10 old burnin)/(thin=5) = 98 iterations stored in the object).

Details

getParameterVector extracts the parameter vector corresponding to a given iteration. increaseBurnin can be used to increase a posteriori the size of the burnin sample. nit returns the number of stored iterations in a GSMetrop object.

Author(s)

Clement Calenge, clement.calenge@oncfs.gouv.fr

See Also

GeneralSingleMetropolis for examples of use.


ClementCalenge/metroponcfs documentation built on May 6, 2019, 12:05 p.m.