rm_scale: Step size scaler

Description Usage Arguments

View source: R/OLD.R

Description

Given current step scale, desired optimum step size etc, adapts the MCMC step size

Usage

1
rm_scale(step_scale, mc, popt, log_prob, N_adapt)

Arguments

step_scale

the current step size

mc

the number of MCMC iterations run

popt

the desired acceptance rate

log_prob

the current log probability

N_adapt

the total number of adaptive steps to be taken


jameshay218/zikaProj documentation built on Jan. 9, 2020, 7:26 p.m.