mixture2_hmc_kernel: Mixture of kernels with HMC synchronous coupling and RWM...

Description Usage Arguments Value

View source: R/mixture2_hmc_kernel.R

Description

Either HMC kernel or RWM kernel is selected for MCMC iteration with a certain probability

Usage

1
2
3
4
5
6
7
8
mixture2_hmc_kernel(
  level,
  state1,
  state2,
  identical,
  tuning,
  proposal_coupling
)

Arguments

level

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

state1

a list that contains vector of coordinates and log of the density of probability distribution for the first chain

state2

a list that contains vector of coordinates and log of the density of probability distribution for the second chain

identical

a boolean variable: "True" if chains coincide, "False" otherwise

tuning

list of parameters for HMC and RWM kernels (number os steps and stepsize for HMC, standard devation for RWM)

Value

list that contains updated states of the first and the second chain, updated value of the flag "identical" and cost of computations


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