Conditioning on posterior samples for flexible frequentist goodness-of-fit testing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bhaduri, Ritwik, Bhattacharyya, Aabesh, Barber, Rina Foygel, Janson, Lucas
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917383389577216
author Bhaduri, Ritwik
Bhattacharyya, Aabesh
Barber, Rina Foygel
Janson, Lucas
author_facet Bhaduri, Ritwik
Bhattacharyya, Aabesh
Barber, Rina Foygel
Janson, Lucas
contents Tests of goodness of fit are used in nearly every domain where statistics is applied. One powerful and flexible approach is to sample artificial data sets that are exchangeable with the real data under the null hypothesis (but not under the alternative), as this allows the analyst to conduct a valid test using any test statistic they desire. Such sampling is typically done by conditioning on either an exact or approximate sufficient statistic, but existing methods for doing so have significant limitations, which either preclude their use or substantially reduce their power or computational tractability for many important models. In this paper, we propose to condition on samples from a Bayesian posterior distribution, which constitute a very different type of approximate sufficient statistic than those considered in prior work. Our approach, approximately co-sufficient sampling via Bayes (aCSS-B), considerably expands the scope of this flexible type of goodness-of-fit testing. We prove the approximate validity of the resulting test, and demonstrate its utility on three common null models where no existing methods apply, as well as its outperformance on models where existing methods do apply.
format Preprint
id arxiv_https___arxiv_org_abs_2511_05281
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Conditioning on posterior samples for flexible frequentist goodness-of-fit testing
Bhaduri, Ritwik
Bhattacharyya, Aabesh
Barber, Rina Foygel
Janson, Lucas
Methodology
Tests of goodness of fit are used in nearly every domain where statistics is applied. One powerful and flexible approach is to sample artificial data sets that are exchangeable with the real data under the null hypothesis (but not under the alternative), as this allows the analyst to conduct a valid test using any test statistic they desire. Such sampling is typically done by conditioning on either an exact or approximate sufficient statistic, but existing methods for doing so have significant limitations, which either preclude their use or substantially reduce their power or computational tractability for many important models. In this paper, we propose to condition on samples from a Bayesian posterior distribution, which constitute a very different type of approximate sufficient statistic than those considered in prior work. Our approach, approximately co-sufficient sampling via Bayes (aCSS-B), considerably expands the scope of this flexible type of goodness-of-fit testing. We prove the approximate validity of the resulting test, and demonstrate its utility on three common null models where no existing methods apply, as well as its outperformance on models where existing methods do apply.
title Conditioning on posterior samples for flexible frequentist goodness-of-fit testing
topic Methodology
url https://arxiv.org/abs/2511.05281