View source: R/update-tuning.R
update_tuning | R Documentation |
this function updates the univariate Gaussian random walk proposal Metropolis-Hastings tuning parameters
update_tuning(k, accept, tune)
k |
is a positive integer that is the current MCMC iteration. |
accept |
is a number between 0 and 1 that represents the batch accpetance rate. The target of this adaptive tuning algorithm is an acceptance rate of 0.44. |
tune |
is a positive number that is the univariate Gaussian random walk proposal standard deviation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.