AlgorithmsNumerics & probabilityEdit on GitHubEdit history
Marsaglia–Tsang Gamma Method
2000
A gamma variate generator that, for shape α ≥ 1, sets d = α−1/3 and c = 1/√(9d), proposes d(1+cx)³ from a normal variate x and accepts it with a simple squeeze test followed by a log test. For α < 1 it multiplies a sample for α+1 by U^(1/α).
Origin
George Marsaglia, Wai Wan Tsang (2000). A simple method for generating gamma variables. ACM Transactions on Mathematical Software 26(3).doi:10.1145/358407.358414 — checked against Crossref, 2026-11-08
Lineage
Algorithms 1 · Relations 0
No derivations recorded yet.
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…