Scales the given step size (between 0 and 1) based on the current acceptance rate to get closed to the desired acceptance rate
scaletuning(step, target_acceptance_rate_theta, pcur)
| step | the current step size |
|---|---|
| target_acceptance_rate_theta | the desired acceptance rate |
| pcur | the current acceptance rate |
the scaled step size
Other mcmc:
generate_start_tab(),
rm_scale(),
serosolver(),
save_infection_history_to_disk()