A particular setup in hypothesis testing which generalizes testing for exchangeability, testing for sphericity (which can be used to test the Gaussian-error assumption in linear regression), permutation testing, and sign-flipping tests.

We have some compact topological group , which is a set of invertible transformations which is closed under composition. We observe some data drawn from distribution.

We say is -invariant if for all . The null and alternative are:

In particular applications of interest, the group is usually huge (eg permutation tests), and it’s infeasible to test each element . Typically a random subset of is chosen.