View source: R/update-tuning.R
update_tuning_mv_mat | R Documentation |
this function updates multiple block Gaussian random walk proposal Metropolis-Hastings tuning parameters
update_tuning_mv_mat( k, accept, lambda, batch_samples, Sigma_tune, Sigma_tune_chol )
k |
is a positive integer that is the current MCMC iteration. |
accept |
is a p-dimensional vector of positive number between 0 and 1 that represents the batch accpetance rate. The target of this adaptive tuning algorithm is an acceptance rate of between 0.44 (a univariate update) and 0.234 (5+ dimensional upate). |
lambda |
is a is a p-dimensional vector of positive scalars that scales the covariance matrix Sigma_tune and diminishes towards 0 as k increases. |
batch_samples |
is a 50 x d x p dimensional array that consists of the 50 batch samples of the d-dimensional for each of the |
Sigma_tune |
is a d x d x p array of d x d positive definite covariance matrix of the batch samples used to generate the multivariate Gaussian random walk proposal. |
Sigma_tune_chol |
is the d x d x p array of d x d Cholesky decompositions of Sigma_tune. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.