Number of divergences for static HMC


Is it possible to get the number of divergences for static HMC in rstan (algorithm = “HMC”) ? It seems that option is only available for the NUTS sampler.

[1] “2.17.0”


That may be. We don’t often use the HMC sampler and it may not have all the options plumbed through. The place to make this feature request (or bug report if it’s documented as working) would be on the stan-dev/rstan GitHub page.