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

Divergent transitions in stan fits #115

Open
ounsley opened this issue May 25, 2020 · 1 comment
Open

Divergent transitions in stan fits #115

ounsley opened this issue May 25, 2020 · 1 comment

Comments

@ounsley
Copy link

ounsley commented May 25, 2020

Hi,

Thanks for the all the great work, and any thoughts on this issue that you can provide are greatly appreciated.

Describe the bug
I am experiencing various warnings whilst trying to run the base.r model with the latest code (v5). Of most concern is the presence of divergent transitions in the fits. I note that in report 13 you mention that "In fitting we also ensured that the MCMC sampler experienced no divergent transitions".

Is the presence of the dts a result of changes made ot the most recent version of base.stan and has consideration been made to rectify this?

Would increasing adapt_delta help with this, or does this require reparameterisation?

I have tried to identify parameters of which idicate the presence of pathologies associated with these divergences, but have not been successful.

To Reproduce
run: Rscript base.r -F

Expected behavior
No divergent transistions

Desktop (please complete the following information):

  • R: 3.6.2
  • OS: Ubuntu 16.04.6 LTS
  • rstan (Version 2.19.2, GitRev: 2e1f913d3ca3)
@ounsley
Copy link
Author

ounsley commented May 27, 2020

I have seen significant drops in the number of divergent transitions when inceasing adapt delta from .95 to .99, from around 200 - 300 down to less than 10 from a run of 5000 iterations (2000 warmup) and 5 chains.

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

1 participant