reflectionmaximal2_rwmh_coupling: Reflection maximal coupling of 2 RWM proposals

Description Usage Arguments Value

View source: R/reflectionmaximal2_rwmh_coupling.R

Description

Generate RWM proposals for two chains via reflection maximal coupling

Usage

1
reflectionmaximal2_rwmh_coupling(chain_state1, chain_state2, identical, tuning)

Arguments

chain_state1

a vector with coordinates of the first particle

chain_state2

a vector with coordinates of the second particle

identical

a flag that is True if chains are identical and False otherwise

tuning

a list that contains parameters needed for RWM: standard devation

Value

a list that contains state of the first chain, state of the second chain, updated value of the flag "identical", cost of proposal generation


jeremyhengjm/UnbiasedMultilevel documentation built on Dec. 20, 2021, 11:03 p.m.