scaletuning: Scale step sizes

Description Usage Arguments Value

View source: R/OLD.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
scaletuning(step, popt, pcur)

Arguments

step

the current step size

popt

the desired acceptance rate

pcur

the current acceptance rate

Value

the scaled step size


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