Closed Red-Portal closed 3 years ago
Totals | |
---|---|
Change from base Build 635: | 0.0% |
Covered Lines: | 1488 |
Relevant Lines: | 1942 |
I see, this makes sense. Would there be a way to test the correctness of the sampler? For example by checking the prior can be recovered from data simulated from the prior?
Hi, @maximerischard I actually have thought about that issue in a personal project, but that would be an identical issue to hypothesis testing, where type-I and type-II need to be traded off for each other. In fact, the bug that I'm trying to fix with this patch isn't identifiable by something like a prior predictive check. So I doubt that there is a practical way to do that.
Hi, found a bug in elliptical slice sampling. Elliptical slice sampling's transition probability uses the likelihood, not the joint probability. It should now sample from the correct posterior. The previous version should have resulted in the prior to be stronger than expected.