rmix_norm_tempered_rejection_sampler | R Documentation |
Sample from tempered target using rejection sampling with mixture Gaussian proposals
rmix_norm_tempered_rejection_sampler( N, weights, means, sds, beta, proposal_sds, dominating_M )
N |
number of samples |
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 |
samples from tempered target density
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.