Open segasai opened 1 year ago
The number of likelihood evaluations is essentially a deterministic function of the MCMC length + number of live points + likelihood for rwalk
, so I would expect the number of calls per run to not be strongly affected.
What is strongly affected is the quality of the convergence. Did you look at the posteriors in this case? In my experience, the periodic boundaries (for periodic parameters) significantly decrease the required MCMC length to get unbiased posteriors.
That is a fair point.
The question is what kind of statistic we should look into here to have an objective characterisation of whether these parameters improve things.
In all the tests that I have done I don't think I have seen any benefits from reflective or periodic conditions which makes me wonder whether they are useful at all or not.
Here is the example where in theory periodic conditions should make sense, but here for rwalk sampler the number of function calls is actually smaller when not using periodic option and for the rslice it's exactly the same. Only for unif sampler the usage of periodic leads to 20% smaller number of ncalls
Also it is clear that we need an example that should serve as test-case for periodic doing anything useful (like the one given here; but maybe there is a better one).
Thoughts ?