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)

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