mixture4_pcn_kernel: Mixture of kernels with pCn synchronous coupling and pCN...

Description Usage Arguments Value

View source: R/mixture4_pcn_kernel.R

Description

Either kernel with pCN synchronous coupling or kernel with pCN maxiimal coupling is selected for MCMC iteration with a certain probability

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
mixture4_pcn_kernel(
  level,
  state_coarse1,
  state_coarse2,
  state_fine1,
  state_fine2,
  identical_coarse,
  identical_fine,
  tuning_coarse,
  tuning_fine,
  proposal_coupling
)

Arguments

level

an integer that controls the probability distribution in a multi-level setting

state_coarse1

a list that contains vector of coordinates and log of the density of probability distribution for the first chain at the coarse level: "level - 1"

state_coarse2

a list that contains vector of coordinates and log of the density of probability distribution for the second chain at the coarse level: "level - 1"

state_fine1

a list that contains vector of coordinates and log of the density of probability distribution for the first chain at the fine level: "level"

state_fine2

a list that contains vector of coordinates and log of the density of probability distribution for the second chain at the fine level: "level"

identical_coarse

a boolean variable: "True" if chains at the coarse level coincide, "False" otherwise

identical_fine

a boolean variable: "True" if chains at the fine level coincide, "False" otherwise

tuning_coarse

a list of parameters for pCN kernel (standard devation and rho) for two chains at the coarse level

tuning_fine

a list of parameters for pCN kernel (standard devation and rho) for two chains at the fine level

Value

list that contains updated states of the first and the second chains at the coarse level, updated states of the first and the second chains at the fine level, updated value of the flag "identical_coarse", updated value of the flag "identical_fine" and cost of computations


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