A method using game-theoretic statistics to get around the pre-specification of the number of random permutations to test in the monte carlo version of the permutation test.

Consider the conformal p-value,

for observations and . Under the null, is a p-value. The idea is to bet on the binary outcomes . We setup bets similarly to testing forecasters by betting such that is an e-process under the null. If becomes large it indicates that is stochastically larger than .

Fischer and Ramdas derive the log-optimal bet (see maximizing log-wealth) and give approximations for it.