propFun: Helper function to create proposal

View source: R/mcmcTwalk_helperFunctions.R

propFunR Documentation

Helper function to create proposal

Description

Helper function to create proposal

Usage

propFun(case, Npar, pn1, x, x2, beta = NULL, aw = NULL)

Arguments

case

Type of Twalk move. Either "walk", "traverse", "hop" or "blow"

Npar

number of parameters

pn1

Probability determining the number of parameters that are changed.

x

parameter vector of chain 1

x2

parameter vector of chain 2

beta

parameter for "traverse" move proposals.

aw

"walk" move proposal parameter.

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.


BayesianTools documentation built on Feb. 16, 2023, 8:44 p.m.