Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measuring and adjusting the acceptance rate #4

Closed
ericagol opened this issue Feb 19, 2020 · 0 comments
Closed

Measuring and adjusting the acceptance rate #4

ericagol opened this issue Feb 19, 2020 · 0 comments

Comments

@ericagol
Copy link

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 ericagol changed the title Adding the acceptance rate Measuring and adjusting the acceptance rate Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants