univ_proposal_normal: MCMC proposal function - univariate normal

Description Usage Arguments Value

View source: R/inference.R

Description

Proposal function for MCMC random walk, drawing from normal distribution centered on the current value

Usage

1
univ_proposal_normal(values, sds, index)

Arguments

values

a vector of the parameters to be explored

sds

a vector of standard deviations of the proposal function

index

numeric value for the index of the parameter to be moved from the param table and vector

Value

the parameter vector after step


jameshay218/lazymcmc documentation built on Sept. 16, 2021, 12:14 a.m.