update_tuning: this function updates the univariate Gaussian random walk...

View source: R/update-tuning.R

update_tuningR Documentation

this function updates the univariate Gaussian random walk proposal Metropolis-Hastings tuning parameters

Description

this function updates the univariate Gaussian random walk proposal Metropolis-Hastings tuning parameters

Usage

update_tuning(k, accept, tune)

Arguments

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.


jtipton25/pgR documentation built on July 8, 2022, 12:44 a.m.