Abstract
We give an algorithm which generates a uniformly random contingency table with specified marginals, that is, a matrix with nonnegative 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 M is the sum of all entries of the matrix, our algorithm runs in time linear in M 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.
Funding Statement
The second author was supported by ARC DP160100835 and NSERC.
The third author was supported by ARC DP160100835.
Citation
Andrii Arman. Pu Gao. Nicholas Wormald. "Linear-time uniform generation of random sparse contingency tables with specified marginals." Ann. Appl. Probab. 34 (2) 2036 - 2064, April 2024. https://doi.org/10.1214/23-AAP2013
Information