BEAST v2.7.8 Documentation: beastlabs.core.MCMC2

Entry point for running a Beast task, for instance an MCMC or other probabilistic analysis, a simulation, etc.
MCMC chain. This is the main element that controls which posterior to calculate, how long to run the chain and all other properties, which operators to apply on the state space and where to log results.

Reference:

A prototype for BEAST 2.0: The computational science of evolutionary software. Bouckaert, Drummond, Rambaut, Alekseyenko, Suchard & the BEAST Core Development Team. 2010

Inputs:

preBurnin, chainLength, storeEvery, posterior, operator, logger, init

 

preBurnin
type: java.lang.Integer
Number of burn in samples taken before entering the main loop
Optional input. Default: 0

 

chainLength
type: java.lang.Integer
Length of the MCMC chain i.e. number of samples taken in main loop
Required input

 

storeEvery
type: java.lang.Integer
store the state to disk every X number of samples so that we can resume computation later on if the process failed half-way.
Optional input. Default: -1

 

posterior
type: beastlabs.core.Posterior
posterior probability distribution to sample over
Required input

 

operator
type: beast.base.inference.Operator***
operator for generating proposals in MCMC state space
Required input

 

logger
type: beast.base.inference.Logger***
loggers for reporting progress of MCMC chain
Required input

 

init
type: beast.base.core.BEASTObject***
list of plugins used for initialising StateNodes. Only initAndValidate is called on these plugins, but they are ignored once the chain is running
Optional input