Marsaglia, G., Tsang, W. W. and Wang, J. (2004) “Fast Generation of Discrete Random Variables”, Journal of Statistical Software, 11(3), pp. 1–11. doi: 10.18637/jss.v011.i03.