View source: R/update-tuning.R
update_tuning_mat | R Documentation |
this function updates a matrix block of univariate Gaussian random walk proposal Metropolis-Hastings tuning parameters
update_tuning_mat(k, accept, tune)
k |
is a positive integer that is the current MCMC iteration. |
accept |
is a matrix of positive numbers 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 matrix of positive numbers that are 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.