Exact Sublinear Binomial Sampling

Drawing a random variate from a given binomial distribution B(n, p) is an important subroutine in many large-scale simulations. The naive algorithm takes $$\mathcal {O}(n)$$ O ( n ) time w.h.p. in the WordRAM model, which is too slow in many settings, though to its credit, it does not suffer from precision loss. The problem of sampling from a binomial… CONTINUE READING