scaletuning1: Scale step sizes

Description Usage Arguments Value

View source: R/mcmc_functions.R

Description

Scales the given step size (between 0 and 1) based on the current acceptance rate to get closed to the desired acceptance rate

Usage

1
scaletuning1(step, popt, pcur)

Arguments

step

the current step size

popt

the desired acceptance rate

the

current acceptance rate

Value

the scaled step size


jameshay218/mcmcJH documentation built on May 18, 2019, 11:20 a.m.