base_rejection_sampler_mixG: Rejection sampler for base level

View source: R/mixG_sampler.R

base_rejection_sampler_mixGR Documentation

Rejection sampler for base level

Description

Sample for base level tempered mixture Gaussian

Usage

base_rejection_sampler_mixG(
  nsamples,
  weights,
  means,
  sds,
  beta,
  proposal_sds,
  dominating_M
)

Arguments

nsamples

number of samples per node

weights

vector: weights of mixture Gaussian

means

vector: means of mixture Gassuan

sds

vector: st.devs of mixture Gaussian

beta

real value between 0 and 1

proposal_sds

vector: st.devs of proposal mixture Gaussian

dominating_M

constant M to bound the target density

Value

list of length (1/beta) with samples from tempered mixture Gaussian


rchan26/hierarchicalFusion documentation built on Sept. 11, 2022, 10:30 p.m.