paper

Linear-time uniform generation of random sparse contingency tables with specified marginals

arXiv:2104.09413

Abstract

We give an algorithm that generates a uniformly random contingency table with specified marginals, i.e. a matrix with non-negative integer values and specified row and column sums. Such algorithms are useful in statistics and combinatorics. When , where is the maximum of the row and column sums and is the sum of all entries of the matrix, our algorithm runs in time linear in in expectation. Most previously published algorithms for this problem are approximate samplers based on Markov chain Monte Carlo, whose provable bounds on the mixing time are typically polynomials with rather large degrees.

27 pages, 1 figure

Linear-time uniform generation of random sparse contingency tables with specified marginals · wovepaper