How can one test if a binary sequence is exchangeable? Fork-convex hulls, supermartingales, and Snell envelopes

Suppose we observe an infinite series of coin flips X1, X2, . . . , and wish to sequentially test the null that these binary random variables are exchangeable against Markovian alternatives. We utilize a geometric concept called “fork-convexity” (an adapted analog of convexity) that lies at the heart of this problem, and relate it to other concepts like Snell envelopes that are absent in the sequential testing literature. By demonstrating that the alternative lies within the fork-convex hull of the null, we prove that any nonnegative supermartingale under the exchangeable null is necessarily also a supermartingale under the alternative, and thus yields a powerless test. We then combine ideas from universal inference (maximum likelihood under the null) and the method of mixtures (Jeffreys’ prior over the alternative) to derive a nonnegative process that is upper bounded by a martingale, but is not itself a supermartingale. We show that this process yields safe e-values, which in turn yield sequential level-α tests that are consistent (power one), using regret bounds from universal coding to demonstrate their rate-optimal power. We present ways to extend these results to any finite alphabet and to Markovian alternatives of any order using a “double mixture” approach. We also discuss their power against change point alternatives, and give general approaches based on betting for unstructured or ill-specified alternatives.

[1]  Jean-Luc Ville Étude critique de la notion de collectif , 1939 .

[2]  J. Andel Sequential Analysis , 2022, The SAGE Encyclopedia of Research Design.

[3]  R. Khan,et al.  Sequential Tests of Statistical Hypotheses. , 1972 .

[4]  Raphail E. Krichevsky,et al.  The performance of universal encoding , 1981, IEEE Trans. Inf. Theory.

[5]  Frans M. J. Willems,et al.  The context-tree weighting method: basic properties , 1995, IEEE Trans. Inf. Theory.

[6]  Gordan Žitković,et al.  A Filtered Version of the Bipolar Theorem of Brannath and Schachermayer , 2007, 0706.0049.

[7]  Martin Schneider,et al.  Recursive multiple-priors , 2003, J. Econ. Theory.

[8]  O. Kallenberg Probabilistic Symmetries and Invariance Principles , 2005 .

[9]  Garud Iyengar,et al.  Robust Dynamic Programming , 2005, Math. Oper. Res..

[10]  F. Delbaen The Structure of m–Stable Sets and in Particular of the Set of Risk Neutral Measures , 2006 .

[11]  G. Shafer,et al.  Test Martingales, Bayes Factors and p-Values , 2009, 0912.4269.

[12]  Tsutomu Kawabata,et al.  Properties of Jeffreys Mixture for Markov Sources , 2013, IEEE Transactions on Information Theory.

[13]  Daniel Kuhn,et al.  Robust Markov Decision Processes , 2013, Math. Oper. Res..

[14]  Wouter M. Koolen,et al.  Buy low, sell high , 2014, Theor. Comput. Sci..

[15]  Alexander Shapiro,et al.  Rectangular Sets of Probability Measures , 2016, Oper. Res..

[16]  G. Shafer The Language of Betting as a Strategy for Statistical and Scientific Communication , 2019, 1903.06991.

[17]  V. Vovk,et al.  E-values: Calibration, combination, and applications , 2019 .

[18]  Martin Bladt Characterisation of exchangeable sequences through empirical distributions. , 2019, 1903.07861.

[19]  W. Kirsch An elementary proof of de Finetti’s theorem , 2018, Statistics & Probability Letters.

[20]  Vladimir Vovk,et al.  Game‐Theoretic Foundations for Probability and Finance , 2019, Wiley Series in Probability and Statistics.

[21]  Larry Wasserman,et al.  Universal inference , 2019, Proceedings of the National Academy of Sciences.

[22]  Wouter M. Koolen,et al.  Safe Testing , 2019, 2020 Information Theory and Applications Workshop (ITA).

[23]  Wouter M. Koolen,et al.  Admissible anytime-valid sequential inference must rely on nonnegative martingales. , 2020, 2009.03167.

[24]  Aaditya Ramdas,et al.  Estimating means of bounded random variables by betting , 2020 .

[25]  V. Vovk Testing Randomness Online , 2019, Statistical Science.