Description Usage Arguments Value
View source: R/coxprocess_estimators.R
Generate four coupled chains and compute the estimator of the increment
1 2 3 4 5 6 7 8 9 10 11 | coxprocess_unbiased_increment(
parameters,
model_coarse,
model_fine,
mcmc,
h_coarse = function(x) x,
h_fine = function(x) x,
k = 0,
m = 1,
max_iterations = Inf
)
|
parameters |
a list of model parameters (sigmasq, mu, beta) |
model_coarse |
a list of functions for coarser resolution model with keys |
model_fine |
a list of functions for finer resolution model with keys |
mcmc |
a list of MCMC kernels with keys |
h_coarse |
function that represents quantity of interest on coarser resolution |
h_fine |
function that represents quantity of interest on finer resolution |
k |
an integer: lower bound for time-averaging |
m |
an integer: upper bound for time-averaging |
max_iterations |
iteration at which to stop the while loop (default to infinity) |
a list with the value of MCMC estimator without correction, value of Unbiased MCMC estimator, meeting time, value of iteration counter, flag that is "True" if chains have met before the iteration counter reached the value in max_iterations, cost of calculations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.