Learn R Programming

BayesianTools (version 0.1.0)

Gfun: Helper function for blow and hop moves

Description

Helper function for blow and hop moves

Usage

Gfun(case, npSel, pSel, h, x, x2)

Arguments

case
Type of Twalk move. Either "hop" or "blow"
npSel
number of parameters that are changed.
pSel
vector containing information about which parameters are changed.
h
Parameter for "blow" and hop moves
x
parameter vector of chain 1
x2
parameter vector of chain 2

References

Christen, J. Andres, and Colin Fox. "A general purpose sampling algorithm for continuous distributions (the t-walk)." Bayesian Analysis 5.2 (2010): 263-281.