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, target_acceptance_rate_theta, pcur)

Arguments

step

the current step size

target_acceptance_rate_theta

the desired acceptance rate

pcur

the current acceptance rate

Value

the scaled step size

See Also

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


seroanalytics/serosolver documentation built on Dec. 14, 2024, 5:33 a.m.