tune_proposal: Tune proposal distribution for randow walk M-H parameter...

Description Usage Arguments Value

View source: R/tune_proposal.R

Description

The empirical covariance matrix is tuned either by taking weighted averages or by re-tuning the scale multiple until the acceptance rate is within the desired range.

Usage

1
tune_proposal(epimodel, epimodel_envir)

Arguments

epimodel_envir

logical indicating whether the tuning is run within the epimodel environment

Value

updated covariance matrix and scale factor within the epimodel environment, or a list with tuning results


fintzij/BDAepimodel documentation built on Sept. 20, 2020, 1:44 p.m.