View source: R/unbiased_mcmc.R
sample_unbiasedestimator | R Documentation |
Outputs unbiased estimates without storing the full chain
sample_unbiasedestimator( single_kernel, coupled_kernel, rinit, h = function(x) x, k = 0, m = 1, lag = 1, max_iterations = Inf )
single_kernel |
kernel of marginal chain |
coupled_kernel |
kernel of coupled chain |
rinit |
initial distribution |
h |
real-valued test function |
k |
unbiased mcmc parameter corresponding to burn-in |
m |
unbiased mcmc parameter corresponding to chain length |
lag |
lag of the coupled chain |
max_iterations |
maximum iterations |
list containing mcmc estimator, bias correction, unbiased estimator, meetinging, number of iterations, time elapsed, cost
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.