mhrw: Metropolis-Hastings random walk proposal and update

Description Usage Arguments

View source: R/mhrw.R

Description

Sampler uses a mean-zero Gaussian random walk as a proposal distribution.

Usage

1
mhrw(x0, lp, cov.chol)

Arguments

x0

Initial location of sampler

lp

Function to evaluate log-posterior at model parameters

cov.chol

Cholesky decomposition of proposal covariance


jmhewitt/dsdive documentation built on May 29, 2020, 5:18 p.m.