twCalcLogDensPar: twCalcLogDensPar

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Invokes all fLogDens with proposal in a parallel way, taking care of intermediates between densities

Usage

1
2
twCalcLogDensPar(dInfos,
 xProp, debugSequential = FALSE, remoteDumpfileBasename = NULL)

Arguments

dInfos

list describing the logDensities, see twDEMCBlockInt

xProp

numeric matrix (nCases x nParm) of proposals

debugSequential

see sfFArgsApplyLB

remoteDumpfileBasename

see sfRemoteWrapper

Details

Does not take care of internal components: provides no argument logDenPrev

Value

List with the following items

logDen

numeric vector: for each state: the sum of logDens over all components

logDenComp

numeric matrix: return components of fLogDen, one row for each state, columns: components

logDenCompPos

integer vector (nDenComp): index of the densitiy that provides the component

Author(s)

Thomas Wutzler

See Also

twDEMCBlockInt, twCalcLogDenPar

Examples

1
# see test function twCalcLogDensPar in test case twCalcLogDenPar

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