Programming and probability: Sampling from a discrete distribution over an infinite set Published by Feras Saad on September 3, 2018 [[Originally posted at RandomSeed]] This post is an introductory tutorial which presents a simple algorithm for sampling from a discrete probability distribution $p(k)$ defined over… Continue readingProgramming and probability: Sampling from a discrete distribution over an infinite set