maximal2_pcn_coupling: maximal coupling of 2 pCN proposals

Description Usage Arguments Value

View source: R/maximal2_pcn_coupling.R

Description

Generate pCN proposals for two chains via maximal coupling

Usage

1
maximal2_pcn_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 pCN: standard devation and rho

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.