If you can sample from a uniform distribution, you can sample from a gamma distribution http://en.wikipedia.org/wiki/Gamma_distribution#Generating_gamma-distributed_random_variables …
@tdhopper the naive implementation is linear in the magnitude of the parameters, though, which seems scary. Is there a better one?
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.