replaceZinitCases: replaceZinitCases

Description Usage Arguments Details Value Author(s) See Also

Description

Replaces states of Zinit by sampling the other states that are marked good.

Usage

1
replaceZinitCases(Zinit, boMat)

Arguments

Zinit

initial states of the form required by twDEMCBlockInt

boMat

boolean matrix specifying good cases with rows cases and columns chains. If it is a vector, then matrix is constructed using last dimension as the number of chains

Details

Samples for the first half of chains are sampled from good cases of the second half of chains. Samples for the second half of chains are sampled from good cases of first half of chains.

Value

Zinit, with several cols (parameter vectors) replaced by other cols

Author(s)

Thomas Wutzler

See Also

initZtwDEMCNormal replaceZinitNonFiniteLogDens


twDEMC documentation built on May 2, 2019, 5:38 p.m.