scaletuning: Scale step sizes

View source: R/mcmc_help.R

scaletuningR Documentation

Scale step sizes

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

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

See Also

Other mcmc: generate_start_tab(), rm_scale(), run_MCMC(), save_infection_history_to_disk()


seroanalytics/serosolver documentation built on July 19, 2023, 5:10 a.m.