An MCMC hypothesis test to check a claimed sampler: Applied to a claimed sampler for the G-Wishart distribution

Read full text
Authors: Håkon Tjelmeland, Hanna Bu Kvaløy
Cited by: 0

Abstract

Suppose we have a distribution of interest, with density p(x),x∈X say, and an algorithm claimed to generate samples from p(x). Moreover, assume we have available a Metropolis–Hastings transition kernel fulfilling detail balance with respect to p(x). In such a situation we formulate a hypothesis test where H0 is that the claimed sampler really generates correct samples from p(x). We use that if initialising the Metropolis–Hastings algorithm with a sample generated by the claimed sampler and run the chain for a fixed number of updates, the initial and final states are exchangeable if H0 is true. Combining this idea with the permutation strategy we define a natural test statistic and a valid p-value. Our motivation for considering the hypothesis test situation is a proposed sampler in the literature, claimed to generate samples from the G-Wishart distribution. As no proper proof for the validity of this sampler seems to be available, we are exactly in the hypothesis test situation discussed above. We therefore apply the defined hypothesis test to the claimed sampler. For comparison we also apply the hypothesis test to a known exact sampler for a subset of G-Wishart distributions. The obtained p-values clearly show that the sampler claimed to be able to generate samples from any G-Wishart distribution is in fact not sampling from the specified distribution. In contrast, and as one should expect, the p-values obtained when using the known exact algorithm does not indicate any problems.

Fields of Study & Subjects

Statistical Methods and Bayesian Inference Statistical Distribution Estimation and Applications Bayesian Methods and Mixture Models

Publication details

Journal / source
Electronic Journal of Statistics
Volume
20
Issue
2
Pages
3501–3522
Publication date
1 January 2026
Language
EN