AffineInvariantMCMC.jl icon indicating copy to clipboard operation
AffineInvariantMCMC.jl copied to clipboard

Measuring and adjusting the acceptance rate

Open ericagol opened this issue 5 years ago • 0 comments

It would be useful to add an acceptance rate to the sampler to see whether the a parameter should be adjusted.

If the acceptance rate is too small, I would adjust the a parameter closer to unity automatically via:

a_{new} = 1 + (a_{old} -1)*(acc_{measured}/acc_{target})

where acc_{measured} is the measured value of acceptance (over some number of steps), while acc_{target} is a target acceptance rate (usually 25%). Then, once the target acceptance rate is reached, the value of a stays constant.

ericagol avatar Feb 19 '20 22:02 ericagol