selectChains: Select 'good' runs from independent MCMC chains

Description Usage Arguments Details Value Author(s)

Description

The function selectChains is used to discard 'bad' MCMC chains from outbreaker's ouptput (functions outbreaker and outbreaker.parallel). This is useful whenever several chains were run and converged towards different posterior modes or distributions. This can happen for instance when imported cases are hard to disentangle, resulting in different runs identifying different imports and therefore having different likelihood.

Usage

1
selectChains(x, select = "visual", alpha = 0.001, ...)

Arguments

x

the output of outbreaker or outbreaker.parallel.

select

a character string matching visual or auto, or a vector of integers indicating the runs to be discarded.

alpha

the alpha threshold to be used to the automatic procedure (see details)

...

further arguments to be passed to plotChains.

Details

Three modes are available, depending on the argument select (see also arguments below):

The automatic procedure relies on the following recursive process:

Value

These functions similar objects to the inputs, from which 'bad' runs have been discarded.

Author(s)

Thibaut Jombart t.jombart@imperial.ac.uk


outbreaker documentation built on May 1, 2019, 10:23 p.m.